pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rob Arnold <rob@cabrion.com>
To: pgsql-sql@postgresql.org
To: pgsql-general@postgresql.org
To: pgsql-novice@postgresql.org
To: Roland Roberts <roland@astrofoto.org>
Subject: Re: [SQL] Permissons on database
Date: Mon, 12 Mar 2001 21:20:27 -0500
Message-ID: <004a01c0ab64$2e237990$4200fd0a@home> (raw)
References: <3AA517BE.31EEE461@inet-interactif.com>
	<m2puftmhwz.fsf@tycho.rlent.pnet>

Are you looking for "grant all to public" or "grant select to public"?


----- Original Message -----
From: "Roland Roberts" <roland@astrofoto.org>
To: <pgsql-sql@postgresql.org>; <pgsql-general@postgresql.org>;
<pgsql-novice@postgresql.org>
Sent: Wednesday, March 07, 2001 3:40 PM
Subject: Re: [SQL] Permissons on database


> >>>>> "bk" == Boulat Khakimov <boulat@inet-interactif.com> writes:
>
>     bk> How do I grant permissions on everything in the selected
>     bk> databes?
>
>     bk> GRANT doesnt take as on object database name nor does it
>     bk> accept wild chars....
>
> Attached is some Perl code I wrote long ago to do this.  This
> particular code was done for Keystone, a problem tracking database and
> it would do a "GRANT ALL".  Modify it as needed.  Last I checked it
> worked with both PostgreSQL 6.5.x and 7.0.x
>
>


----------------------------------------------------------------------------
----


>
> roland
> --
>        PGP Key ID: 66 BC 3B CD
> Roland B. Roberts, PhD                             RL Enterprises
> roland@rlenter.com                     76-15 113th Street, Apt 3B
> rbroberts@acm.org                          Forest Hills, NY 11375
>




view thread (6+ messages)  latest in thread

Message-ID: <004a01c0ab64$2e237990$4200fd0a@home>
Permalink:  ../004a01c0ab64$2e237990$4200fd0a@home/
Also on:    postgresql.org/message-id/004a01c0ab64$2e237990$4200fd0a@home

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: rob@cabrion.com, pgsql-general@postgresql.org, pgsql-novice@postgresql.org, roland@astrofoto.org
  Subject: Re: [SQL] Permissons on database
  In-Reply-To: <004a01c0ab64$2e237990$4200fd0a@home>
  References: <3AA517BE.31EEE461@inet-interactif.com> <m2puftmhwz.fsf@tycho.rlent.pnet> <004a01c0ab64$2e237990$4200fd0a@home>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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