[GENERAL] Startup messages for socket protocol

2011-03-17 Thread Guillaume Yziquel
, but I'm at a loss pinpointing in the libpq source code where that would fit in the protocol. Enlightenment would be very welcome. -- Guillaume Yziquel -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org

Re: [GENERAL] Startup messages for socket protocol

2011-03-17 Thread Guillaume Yziquel
Le Thursday 17 Mar 2011 à 10:48:50 (-0400), Tom Lane a écrit : Guillaume Yziquel guillaume.yziq...@citycable.ch writes: However, when I try to send this as the first thing, I get disconnected by the server. Reading what the psql program does, I first get an 8 byte message containing

Re: [GENERAL] Startup messages for socket protocol

2011-03-17 Thread Guillaume Yziquel
Le Thursday 17 Mar 2011 à 16:08:55 (+0100), Guillaume Yziquel a écrit : Le Thursday 17 Mar 2011 à 10:48:50 (-0400), Tom Lane a écrit : Guillaume Yziquel guillaume.yziq...@citycable.ch writes: For now, when sending \000\003\000\000 and only this, the server seems to disconnect. The recv

[GENERAL] PQntuples returns an int.

2010-03-03 Thread Guillaume Yziquel
', or an 'unsigned int', or whatever? I'm asking this because I'm wondering whether you could have more tuples in the result of a query than could be indexed by the 'int' type. May this happen? All the best, -- Guillaume Yziquel http://yziquel.homelinux.org/ -- Sent via pgsql-general

Re: [GENERAL] PQntuples returns an int.

2010-03-03 Thread Guillaume Yziquel
a typing issue in a strongly typed language (OCaml). Thanks again. Guillaume Yziquel. -- Guillaume Yziquel http://yziquel.homelinux.org/ -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql