named queries and the wire protocol - Mailing list pgsql-general

From David Welton
Subject named queries and the wire protocol
Date
Msg-id CA+b9R_sxg53S9mXou26X7yqmEsVWxMCYBkc-EUinMVe--qTq9g@mail.gmail.com
Whole thread Raw
Responses Re: named queries and the wire protocol  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Hello,

I sort of volunteered for work on an Erlang Postgres driver, here:

https://github.com/epgsql/epgsql

And one thing I was looking into was a patch regarding the cleanup of
named queries.

Specifically, I'm wondering how this code behaves in the case that the
Execute runs into trouble:

https://github.com/epgsql/epgsql/blob/0e84176be4b54fb712d1cc227a2b91c24b7a66ab/src/pgsql_sock.erl#L199

Does the Close still clean things up properly?

Thank you,
--
David N. Welton

http://www.welton.it/davidw/

http://www.dedasys.com/


pgsql-general by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: New here: trouble getting postgres 9.3 running as service on windows 8.1
Next
From: Roy Anderson
Date:
Subject: Materialized view from PG to Oracle?