Re: privileges regression problem on freebsd/alpha

From: "Christopher Kings-Lynne" <chriskl(at)familyhealth(dot)com(dot)au>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "Hackers" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: privileges regression problem on freebsd/alpha
Date: 2002-03-08 06:33:50
Message-ID: GNELIHDDFBOCMGBFGEFOMEKOCBAA.chriskl@familyhealth.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Yep, tried it again and everything passes.

Chris

> -----Original Message-----
> From: Tom Lane [mailto:tgl(at)sss(dot)pgh(dot)pa(dot)us]
> Sent: Friday, 8 March 2002 1:33 PM
> To: Christopher Kings-Lynne
> Cc: Hackers
> Subject: Re: [HACKERS] privileges regression problem on freebsd/alpha
>
>
> "Christopher Kings-Lynne" <chriskl(at)familyhealth(dot)com(dot)au> writes:
> > GRANT EXECUTE ON FUNCTION testfunc1(int), testfunc2(int) TO
> regressuser2;
> > + ERROR: bogus GrantStmt.objtype 458
>
> Does the error persist if you "make clean" and rebuild?
>
> I'm betting this is not a platform issue, but just aclchk.c being out
> of sync with the parser. GrantStmt is using parser token codes to
> distinguish the various kinds of GRANT, which is probably a bad idea.
> The token codes will change anytime someone looks crosseyed at gram.y
> (well, I exaggerate, but they're not exactly stable). IMHO node
> structure definitions shouldn't depend on them.
>
> regards, tom lane
>

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Adam Wyard 2002-03-08 06:59:25 Update 6.5 database files to 7.0
Previous Message Tom Lane 2002-03-08 05:33:00 Re: privileges regression problem on freebsd/alpha