Re: trouble caused by change in 7.3 handling of ''

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Ian Harding <ianh(at)tpchd(dot)org>, pgsql-general(at)postgresql(dot)org
Subject: Re: trouble caused by change in 7.3 handling of ''
Date: 2002-12-20 01:34:11
Message-ID: 200212200134.gBK1YBZ17088@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Tom Lane wrote:
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> > I have another interesting idea. What if we create a postgresql.conf
> > param called prev_compatible that exists in every release. We default
> > it to false/0. If it always exists, we can add features under its
> > control even in minor releases. Most interesting would be to have it be
> > an int and make a bitmask for up to 32 features that could be made
> > backward compatible to the previous release.
>
> Including the definition of the individual bits' behavior?
>
> That strikes me as a mess. No one could ever be very sure what behavior
> they were getting or not getting by setting such a thing. But they
> could be quite sure that their code would break in interesting ways in
> the next release.
>
> If we're going to have compatibility flags, they should be clearly
> defined, clearly named, and control just one feature apiece (cf.
> transform_null_equals).

You would define the bits in the release notes. postgresql.conf only
gets created as part of initdb, and because minor releases don't initdb,
it would be easier to have a single variable that always exists.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Toby Tremayne 2002-12-20 01:52:34 dynamic type create (was return setof record from function with dynamic query)
Previous Message Tom Lane 2002-12-20 01:26:27 Re: trouble caused by change in 7.3 handling of ''