Re: [BUGS] postgresql-7.4RC1 - unrecognized privilege type - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [BUGS] postgresql-7.4RC1 - unrecognized privilege type
Date
Msg-id 200311082056.hA8KuC119146@candle.pha.pa.us
Whole thread Raw
In response to Re: [BUGS] postgresql-7.4RC1 - unrecognized privilege type when selecting from information_schema.tables  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane wrote:
> <bvctravel@yahoo.com> writes:
> >    select * from information_schema.tables;
> >    ERROR:  unrecognized privilege type: "RERERENCES"
> 
> > Replacing the word "RERERENCES" with "REFERENCES" in
> > the predicate "has_table_privilege(c.oid,
> > 'RERERENCES'::text)" near the end of the view SQL
> > seems to correct the problem.
> 
> Good catch.  There are two other places with the same typo :-( (all
> copied and pasted no doubt).
> 
> I've applied the patch but am loathe to force an initdb this late in
> the beta cycle.  Any opinions out there?

Seems if the queries are failing in current, then fixing it can't hurt ---
it changes failed queries for those that do initdb.

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


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [BUGS] postgresql-7.4RC1 - unrecognized privilege type when selecting from information_schema.tables
Next
From: Bob Ippolito
Date:
Subject: Re: Making PostgreSQL 7.4 (CVS) work properly on OS X 10.3 (7B85)