pgsql icon indicating copy to clipboard operation
pgsql copied to clipboard

Erlang PostgreSQL driver

Results 8 pgsql issues
Sort by recently updated
recently updated
newest added

For a `pgsql_connection:extended_query` of the form INSERT INTO address (v, acct_id, org_id,) VALUES ( $1, $2, $3) RETURNING id; The return value is e.g. ```{{insert, 0, 1}, {[{record, }]}}``` I.e....

Related to https://github.com/semiocast/pgsql/issues/49. I don't know if the lists:keytake/3 is necessary here might rewrite it with a lists:keyfind/3 instead.

I recently had some issues when starting a large number of connections quickly. I am not sure if I reached the maximum number of connection during a spike on my...

clause {error, closed} added in function set_succeeded_or_within_failed_transaction

Hi Running a query using simple_query I got this Error: {function_clause,[{pgsql_connection,set_succeeded_or_within_failed_transaction,[{error,closed}],[{file,"xxx/_build/default/lib/pgsql/src/pgsql_connection.erl"},{line,778}]},..... Would adding {error, closed} clause solve the problem?

For example, Decoding `null` to `undefined` when decoding from Postgres and encoding `undefined` to `null`.

enhancement

Hi, in my code I do a copy like this (Connection is the PID of a pgsql_connection process): ``` erlang copy_to(TableName, Data, Connection) -> {copy_in, [text]} = pgsql_connection:simple_query(["COPY \"", TableName,...

The current decode_value_bin converts UUIDs to their hex representation: in addition to not being a very efficient implementation of the conversion process (io:format and then list_to_binary), both of the Erlang...