Re: [GENERAL] connecting to server process via sockets

2005-05-16 Thread Yanni Chiu
Randall Smith wrote: > > For fun and learning, I would like to connect to the Postgresql backend > and issue queries using sockets. I'm using Python's socket module. I'm > new to socket programming, but I'm experienced with Python and > Postgresql. Look in the postgres docs for the section on f

Re: [GENERAL] connecting to server process via sockets

2005-05-16 Thread Douglas McNaught
Randall Smith <[EMAIL PROTECTED]> writes: > For fun and learning, I would like to connect to the Postgresql > backend and issue queries using sockets. I'm using Python's socket > module. I'm new to socket programming, but I'm experienced with > Python and Postgresql. I've been using the JDBC dr

Re: [GENERAL] connecting to server process via sockets

2005-05-16 Thread John DeSoi
On May 16, 2005, at 11:14 AM, Randall Smith wrote: When I run this, this is what shows up in the logs. 2005-05-16 10:11:34 [2638] LOG: connection received: host=127.0.0.1 port=42607 2005-05-16 10:11:34 [2638] LOG: invalid length of startup packet We just had a thread about this on the Novice (!

[GENERAL] connecting to server process via sockets

2005-05-16 Thread Randall Smith
For fun and learning, I would like to connect to the Postgresql backend and issue queries using sockets. I'm using Python's socket module. I'm new to socket programming, but I'm experienced with Python and Postgresql. I've been using the JDBC driver and the online documentation as a guide, b