Re: [SQL] Help with privilages please

2006-07-26 Thread Andrew Hammond
7.4.1 is quite old and has a number of serious known bugs. I'd suggest you either upgrade to 8.1.4 (current) or, if you can't do that, at least upgrade to 7.4.13 (latest 7.4) immediately. Hilary Forbes wrote: > Tom > > Thank you - I think that the underlying problem is that I was trying out > >

Re: [SQL] Help with privilages please

2006-07-21 Thread Hilary Forbes
Tom Thank you - I think that the underlying problem is that I was trying out REVOKE ALL FROM TABLE suppliers FOR public; then connect as hilary and I can still see the table rows. I appear to have to revoke each type eg REVOKE SELECT FROM TABLE suppliers FOR public; etc and then the code works. Is

Re: [SQL] Help with privilages please

2006-07-20 Thread Tom Lane
Hilary Forbes <[EMAIL PROTECTED]> writes: > I have an existing table suppliers and I have created a new user > 'hilary' > REVOKE ALL on TABLE suppliers FROM hilary; > now login as hilary > SELECT * from suppliers; > and I get all the records!!! Most likely there's been a grant of (at least) select

Re: [SQL] Help with privilages please

2006-07-20 Thread Richard Broersma Jr
REVOKE ALL on TABLE suppliers FROM hilary; now login as hilary SELECT * from suppliers; and I get all the records!!! If I create a **new** table though and then do the above, the permissionswork I get a polite message telling me "no go". Thissounds to me like a problem with earlier compatibility

Re: [SQL] Help with privilages please

2006-07-20 Thread Stephan Szabo
On Thu, 20 Jul 2006, Hilary Forbes wrote: > Dear All > > We are running pg v 7.4.1 and importantly the database has been > converted from earlier versions of pg (6.5 I seem to recall). > > I have an existing table suppliers and I have created a new user 'hilary' > > REVOKE ALL on TABLE suppliers F

[SQL] Help with privilages please

2006-07-20 Thread Hilary Forbes
Dear All We are running pg v 7.4.1 and importantly the database has been converted from earlier versions of pg (6.5 I seem to recall). I have an existing table suppliers and I have created a new user 'hilary' REVOKE ALL on TABLE suppliers FROM hilary; now login as hilary SELECT * from suppliers; a