From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | "M(dot) Bastin" <marcbastin(at)mindspring(dot)com> |
Cc: | pgsql-novice(at)postgresql(dot)org |
Subject: | Re: front end |
Date: | 2003-04-16 04:57:21 |
Message-ID: | 15539.1050469041@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-novice |
"M. Bastin" <marcbastin(at)mindspring(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Jean-Christian Imbeault | 2003-04-16 07:48:19 | uh-oh, overwrote template1 |
Previous Message | M. Bastin | 2003-04-15 16:00:42 | front end |