Re: [HACKERS] postgresql-7.4RC1 - unrecognized privilege type

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: bvctravel(at)yahoo(dot)com, pgsql-bugs(at)postgresql(dot)org, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [HACKERS] postgresql-7.4RC1 - unrecognized privilege type
Date: 2003-11-08 20:56:12
Message-ID: 200311082056.hA8KuC119146@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

Tom Lane wrote:
> <bvctravel(at)yahoo(dot)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(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-bugs by date

  From Date Subject
Next Message Tom Lane 2003-11-08 21:21:35 Re: Minor bug: Odd feedback on STDERR from PSQL for block comments
Previous Message Bruce Momjian 2003-11-08 20:54:34 Re: psql client 7.4RC1 completion bug

Browse pgsql-hackers by date

  From Date Subject
Next Message Bob Ippolito 2003-11-08 21:08:44 Re: Making PostgreSQL 7.4 (CVS) work properly on OS X 10.3 (7B85)
Previous Message Tom Lane 2003-11-08 20:46:15 Re: postgresql-7.4RC1 - unrecognized privilege type when selecting from information_schema.tables