Just got tripped up by this:
GRANT SELECT ON table1 TO someuser;
GRANT SELECT ON table1_id_seq TO someuser;
.... both work
GRANT SELECT ON TABLE table1 TO someuser;
... works, while ....
GRANT SELECT ON SEQUENCE table1_id_seq TO someuser;
... raises an error.
This is inconsistent. Do people agree with me that the parser should
accept "SEQUENCE" there, since the optional object name works for all
other objects? Is there some technical reason this is difficult to do?
Aglio Database Solutions
pgsql-hackers by date
|Next:||From: David Fetter||Date: 2006-01-04 01:45:13|
|Subject: Deferrable UNIQUE INDEX?|
|Previous:||From: Josh Berkus||Date: 2006-01-04 01:16:19|
|Subject: Re: [Bizgres-general] WAL bypass for INSERT, UPDATE and|
pgsql-patches by date
|Next:||From: Euler Taveira de Oliveira||Date: 2006-01-04 02:18:06|
|Subject: Re: Inconsistent syntax in GRANT|
|Previous:||From: Joe Conway||Date: 2006-01-03 23:50:32|
|Subject: Re: [BUGS] BUG #2129: dblink problem|