Re: front end - Mailing list pgsql-novice

From Tom Lane
Subject Re: front end
Date
Msg-id 15539.1050469041@sss.pgh.pa.us
Whole thread Raw
In response to front end  ("M. Bastin" <marcbastin@mindspring.com>)
List pgsql-novice
"M. Bastin" <marcbastin@mindspring.com> writes:
> Therefore I want to write my own 'connection code'.  I have achieved
> a tcp/ip socket connection with the psql server yet, but I don't know
> which characters psql expects next to feed it a password, user name,
> and database name.  (Or even before that if you need to perhaps
> request a session id or so.)
> I spent several hours searching on the psql site, but didn't find the
> specs on this.

You must have missed
http://www.ca.postgresql.org/users-lounge/docs/7.3/postgres/protocol.html

However, if REALbasic can link to C code conveniently, it would perhaps
be easier to set up a wrapper around libpq ...

            regards, tom lane


pgsql-novice by date:

Previous
From: "M. Bastin"
Date:
Subject: front end
Next
From: Jean-Christian Imbeault
Date:
Subject: uh-oh, overwrote template1