pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedhanging psql session while granting...
3+ messages / 3 participants
[nested] [flat]
* hanging psql session while granting...
@ 2002-02-14 12:45 Kumar, Lakshmi (Cognizant) <NLakshmi@chn.cognizant.com>
2002-02-14 13:06 ` Re: hanging psql session while granting... Manuel Trujillo <manueltrujillo@dorna.es>
0 siblings, 1 reply; 3+ messages in thread
From: Kumar, Lakshmi (Cognizant) @ 2002-02-14 12:45 UTC (permalink / raw)
To: pgsql-admin
hello ,
Am facing a problem (strange or not, am not sure).
When i loginto psql as user x
and execute "Grant select on <table> to <usrY>"
it was hanging... am not able to grant any of the tables to any of the users
available.
I cud grant tables of another user to other user...
How can i change the Grants over tables to other users ... is there any
round about way ?
Or where could be the problem.
Thanks
laks
Attachments:
InterScan_Disclaimer.txt (text/plain, 515B) download
This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information.If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.
Any unauthorised review, use, disclosure, dissemination, forwarding, printing or copying of this email or any action taken in reliance on this e-mail is strictly prohibited and may be unlawful.
Visit us at http://www.cognizant.com
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: hanging psql session while granting...
2002-02-14 12:45 hanging psql session while granting... Kumar, Lakshmi (Cognizant) <NLakshmi@chn.cognizant.com>
@ 2002-02-14 13:06 ` Manuel Trujillo <manueltrujillo@dorna.es>
0 siblings, 0 replies; 3+ messages in thread
From: Manuel Trujillo @ 2002-02-14 13:06 UTC (permalink / raw)
To: Kumar, Lakshmi ""(Cognizant) <NLakshmi@chn.cognizant.com>; +Cc: pgsql-admin
On Thu, 2002-02-14 at 13:45, Kumar, Lakshmi (Cognizant) wrote:
> How can i change the Grants over tables to other users ... is there any
> round about way ?
> Or where could be the problem.
First, I imagine you have permissions to make this.
When I want to change the permissions over a table, or tables, I use
this:
psql name_of_you_database < kk.sql | sed -e '1,3d' | awk '{print "GRANT
"$priv" ON "$1" TO "$user";"}'>gdornaout
psql motograndprix < gdornaout
You need to set $priv (privileges), $user (affected user) firts.
--
Manuel Trujillo manueltrujillo@dorna.es
Technical Engineer http://www.motograndprix.com
Dorna Sports S.L. +34 93 4702864
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: hanging psql session while granting...
@ 2002-02-15 20:44 Marco Tulio <anjo.doce.marilia@bol.com.br>
0 siblings, 0 replies; 3+ messages in thread
From: Marco Tulio @ 2002-02-15 20:44 UTC (permalink / raw)
To: NLakshmi@chn.cognizant.com; +Cc: pgsql-admin
> hello ,
> Am facing a problem (strange or not, am not sure).
> When i loginto psql as user x
> and execute "Grant select on <table> to <usrY>"
> it was hanging... am not able to grant any of the
tables to any of the users
> available.
>
> I cud grant tables of another user to other user...
>
> How can i change the Grants over tables to other
users ... is there any
> round about way ?
> Or where could be the problem.
>
>
> Thanks
> laks
You can´t do that. Only the postgres super-user or the
table creator can change this permissions.
Marco Tulio
Desenvolvimento de sistemas para Internet
__________________________________________________________________________
Quer ter seu próprio endereço na Internet?
Garanta já o seu e ainda ganhe cinco e-mails personalizados.
DomíniosBOL - http://dominios.bol.com.br
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2002-02-15 20:44 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-02-14 12:45 hanging psql session while granting... Kumar, Lakshmi (Cognizant) <NLakshmi@chn.cognizant.com>
2002-02-14 13:06 ` Manuel Trujillo <manueltrujillo@dorna.es>
2002-02-15 20:44 Re: hanging psql session while granting... Marco Tulio <anjo.doce.marilia@bol.com.br>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox