Re: Non-blocking libpq in 7.3 beta2

From: prashanth(at)jibe(dot)biz
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, pgsql-interfaces(at)postgresql(dot)org
Subject: Re: Non-blocking libpq in 7.3 beta2
Date: 2002-10-29 20:12:16
Message-ID: 20021029121216.A1027@wind.jibenetworks.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces


On Thu, Oct 24, 2002 at 09:55:52AM -0400, Tom Lane wrote:
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> > I don't know if you can use 7.3 beta against 7.2.X.
>
> Should work; AFAIR libpq does not do anything that wouldn't work against
> 7.2 or even older servers. 7.3 psql's \d commands are pretty thoroughly
> broken for older servers, but that shouldn't affect direct use of libpq.
>
> regards, tom lane

I'm having no problems using the 7.3b libpq against a 7.2.1 server, so
far.

The 7.3 psql is pretty much unusable tho against a 7.2 server. It
generates a parser error in the server as soon as it starts up and
connects:

DEBUG: BackendStartup: forked pid=4881 socket=8
postmaster child[4881]: starting with (postgres -d2 -v131072 -p nocprovider )
DEBUG: InitPostgres
DEBUG: StartTransactionCommand
DEBUG: query: select getdatabaseencoding()
DEBUG: ProcessQuery
DEBUG: CommitTransactionCommand
DEBUG: StartTransactionCommand
DEBUG: query: SELECT usesuper FROM pg_catalog.pg_user WHERE usename = 'prashanth'
ERROR: parser: parse error at or near "."
DEBUG: AbortCurrentTransaction

and then goes steadily downhill from there.

thanks,

--prashanth

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message Aaron Cutchin 2002-10-30 01:35:16 Problem installing Pg.pm on FreeBSD
Previous Message agus 2002-10-29 13:12:24 Connecting PowerBuilder to PostgreSQL