pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: prashanth@jibe.biz
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Bruce Momjian <pgman@candle.pha.pa.us>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: Non-blocking libpq in 7.3 beta2
Date: Tue, 29 Oct 2002 12:12:16 -0800
Message-ID: <20021029121216.A1027@wind.jibenetworks.com> (raw)
In-Reply-To: <11476.1035467752@sss.pgh.pa.us>
References: <200210240432.g9O4WTu18327@candle.pha.pa.us>
	<11476.1035467752@sss.pgh.pa.us>


On Thu, Oct 24, 2002 at 09:55:52AM -0400, Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.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








view thread (4+ messages)

Message-ID: <20021029121216.A1027@wind.jibenetworks.com>
Permalink:  ../20021029121216.A1027@wind.jibenetworks.com/
Also on:    postgresql.org/message-id/20021029121216.A1027@wind.jibenetworks.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: prashanth@jibe.biz, tgl@sss.pgh.pa.us, pgman@candle.pha.pa.us
  Subject: Re: Non-blocking libpq in 7.3 beta2
  In-Reply-To: <20021029121216.A1027@wind.jibenetworks.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox