Re: [HACKERS] Permissions vs SERIAL columns

2006-02-13 Thread Bruce Momjian
Jim C. Nasby wrote: > If nothing else, this should at least be documented in > http://www.postgresql.org/docs/8.1/interactive/datatype.html#DATATYPE-SERIAL I looked at this URL and just didn't see a good place to talk about SERIAL sequence permissions, so I added something to the GRANT manual page

Re: [HACKERS] Permissions vs SERIAL columns

2006-01-03 Thread Jim C. Nasby
If nothing else, this should at least be documented in http://www.postgresql.org/docs/8.1/interactive/datatype.html#DATATYPE-SERIAL On Fri, Dec 30, 2005 at 07:32:18PM +0100, Magnus Hagander wrote: > Haven't seen this discussed in a while, but I do recall it being > mentioned sometime before... >

[HACKERS] Permissions vs SERIAL columns

2005-12-30 Thread Magnus Hagander
Haven't seen this discussed in a while, but I do recall it being mentioned sometime before... The problem: testdb=# create table mytable (id serial, txt text); testdb=# grant insert on mytable to user2; GRANT testdb=# \connect testdb user2 You are now connected to database "testdb" as user "user2