Re: front end

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: front end
Дата
Msg-id 15539.1050469041@sss.pgh.pa.us
обсуждение исходный текст
Ответ на front end  ("M. Bastin" <marcbastin@mindspring.com>)
Список 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 по дате отправления:

Предыдущее
От: "M. Bastin"
Дата:
Сообщение: front end
Следующее
От: Jean-Christian Imbeault
Дата:
Сообщение: uh-oh, overwrote template1