Re: alter view foo set () -- fixed in 9.2 stable, but when will it be released? - Mailing list pgsql-general

From Chris Angelico
Subject Re: alter view foo set () -- fixed in 9.2 stable, but when will it be released?
Date
Msg-id CAPTjJmpYnSQT9hwustgqu6QxzvdpZeb8j3pBoCBbfNevYHNDng@mail.gmail.com
Whole thread Raw
In response to alter view foo set () -- fixed in 9.2 stable, but when will it be released?  (Joe Van Dyk <joe@tanga.com>)
Responses Re: alter view foo set () -- fixed in 9.2 stable, but when will it be released?
Re: alter view foo set () -- fixed in 9.2 stable, but when will it be released?
List pgsql-general
On Sat, Nov 3, 2012 at 9:15 AM, Joe Van Dyk <joe@tanga.com> wrote:
> I'm running into this bug fixed a few days after 9.2.1 was released:
> http://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=d2292f6405670e1fdac13998f87b4348c71fb9e6
>
> Anyone know when 9.2.2 will go out?

Point of random curiosity: The commit mentioned adds the following line:

if (rinfo->reloptions && strlen(rinfo->reloptions) > 0)

Is there a reason this isn't done as:

if (rinfo->reloptions && *rinfo->reloptions)

? It seems like overkill to ascertain the string length just to find
out if the first character is the null terminator.

ChrisA


pgsql-general by date:

Previous
From: Scott Marlowe
Date:
Subject: Re: Server to run Postgresql
Next
From: Ondrej Ivanič
Date:
Subject: Re: alter view foo set () -- fixed in 9.2 stable, but when will it be released?