named queries and the wire protocol

From: David Welton <davidnwelton(at)gmail(dot)com>
To: Postgres general mailing list <pgsql-general(at)postgresql(dot)org>
Subject: named queries and the wire protocol
Date: 2014-03-11 15:25:47
Message-ID: CA+b9R_sxg53S9mXou26X7yqmEsVWxMCYBkc-EUinMVe--qTq9g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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/

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jeff Janes 2014-03-11 16:23:02 Re: Increase in max_connections
Previous Message Torsten Förtsch 2014-03-11 15:20:26 Re: How to make PG use work_mem?