Re: Re: What needs to be done?

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Barry Lind <barry(at)xythos(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-jdbc(at)postgreSQL(dot)org
Subject: Re: Re: What needs to be done?
Date: 2001-08-03 15:49:38
Message-ID: 200108031549.f73Fnc427186@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-jdbc

> If people feel that backwards compatibiliy is important I would suggest
> it be done in the following way:
>
> A new connection parameter named 'compatible' be defined whose default
> value is 7.2 (i.e new functionality). But you could set compatible=7.1
> to revert back to the old functionality. (This is how Oracle deals with
> similar issues in its code base). This parameter could then be set
> either in the JDBC URL (i.e.
> jdbc:postgresql://localhost:5432:template1?compatible=7.1) or passed
> explicily in the connect() method.

GUC seems to be the way to control these things. It can be set in
postgresql.conf and via a SET command.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2001-08-03 15:58:05 Re: Name for new VACUUM
Previous Message Tom Lane 2001-08-03 15:48:41 Re: Null-safe GiST interface (proposal)

Browse pgsql-jdbc by date

  From Date Subject
Next Message Bruce Momjian 2001-08-03 16:21:55 Re: Current cvs does not compile jdbc1 driver
Previous Message Dave Cramer 2001-08-03 15:17:19 Patch for jdbc1 compile