|
@@ -1,10 +1,9 @@
|
|
-Erlang PostgreSQL Database Client
|
|
|
|
|
|
+# Erlang PostgreSQL Database Client
|
|
|
|
|
|
Asynchronous fork of https://github.com/wg/epgsql originally here:
|
|
Asynchronous fork of https://github.com/wg/epgsql originally here:
|
|
https://github.com/mabrek/epgsql and subsequently forked in order to
|
|
https://github.com/mabrek/epgsql and subsequently forked in order to
|
|
provide a common fork for community development.
|
|
provide a common fork for community development.
|
|
|
|
|
|
-
|
|
|
|
* Motivation
|
|
* Motivation
|
|
|
|
|
|
When you need to execute several queries, it involves a number network
|
|
When you need to execute several queries, it involves a number network
|
|
@@ -47,7 +46,7 @@ provide a common fork for community development.
|
|
|
|
|
|
* Connect
|
|
* Connect
|
|
|
|
|
|
- {ok, C} = pgsql:connect(Host, [Username], [Password], Opts).
|
|
|
|
|
|
+ {ok, C} = pgsql:connect(Host, [Username], [Password], Opts).
|
|
|
|
|
|
Host - host to connect to.
|
|
Host - host to connect to.
|
|
Username - username to connect as, defaults to $USER.
|
|
Username - username to connect as, defaults to $USER.
|