Re: LOCK for non-tables - Mailing list pgsql-hackers

From Simon Riggs
Subject Re: LOCK for non-tables
Date
Msg-id 1295226735.3282.1845.camel@ebony
Whole thread Raw
In response to Re: LOCK for non-tables  (Ron Mayer <rm_pg@cheapcomplexdevices.com>)
List pgsql-hackers
On Sun, 2011-01-16 at 16:30 -0800, Ron Mayer wrote:
> Tom Lane wrote:
> > Simon Riggs <simon@2ndQuadrant.com> writes:
> >> It's a major undertaking trying to write software that runs against
> >> PostgreSQL for more than one release. We should be making that easier,
> >> not harder.
> > 
> > None of the proposals would make it impossible to write a LOCK statement
> > that works on all available releases, [....]
> 
> +1 for this as a nice guideline/philosophy for syntax changes in general.

Thanks Tom, appreciate it.

> Personally I don't mind changing a few SQL statements when I upgrade
> to a new release; but it sure is nice if there's at least some syntax
> that works on both a current and previous release.

Yes, changing to a form of syntax that is then both backwards and
forwards compatible is a good solution.

-- Simon Riggs           http://www.2ndQuadrant.com/books/PostgreSQL Development, 24x7 Support, Training and Services



pgsql-hackers by date:

Previous
From: Fujii Masao
Date:
Subject: Re: auto-sizing wal_buffers
Next
From: Alex Hunsaker
Date:
Subject: Re: plperlu problem with utf8 [REVIEW]