From: | Barry Lind <barry(at)xythos(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | pgsql-jdbc(at)postgresql(dot)org |
Subject: | Re: What needs to be done? |
Date: | 2001-08-03 07:01:26 |
Message-ID: | 3B6A4C46.7060408@xythos.com |
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.
thanks,
--Barry
Tom Lane wrote:
> Barry Lind <barry(at)xythos(dot)com> writes:
>
>>This is what I think needs to be done wrt large objects and binary data
>>support ...
>>[ much snipped ]
>>As you can probably guess I don't like the current implementation of
>>large objects in postgresql
>>
>
> Yup, I got that ;-).
>
> While these seem like good changes in the long run, I'm concerned about
> breaking existing client apps wholesale. Is it feasible to have a
> backwards-compatibility mode? I wouldn't even insist that it be the
> default behavior --- but adding a one-line "set backwards-compatible
> mode" kind of call seems better than major rewrites, for apps that
> depend on the old behavior.
>
> regards, tom lane
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo(at)postgresql(dot)org
>
>
From | Date | Subject | |
---|---|---|---|
Next Message | Turbo Fredriksson | 2001-08-03 07:44:16 | PL/pgSQL: Return multiple rows |
Previous Message | Steve Howe | 2001-08-03 06:51:32 | Cursor queries & fetches |
From | Date | Subject | |
---|---|---|---|
Next Message | Matthieu Guyonnet-Duluc | 2001-08-03 09:38:10 | no suitable driver |
Previous Message | Tom Lane | 2001-08-03 06:30:15 | Re: Re: What needs to be done? |