pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Richard Huxton <dev@archonet.com>
To: Roberts, Jon <Jon.Roberts@asurion.com>
Cc: Alvaro Herrera <alvherre@commandprompt.com>
Cc: Kris Jurka <books@ejurka.com>
Cc: Merlin Moncure <mmoncure@gmail.com>
Cc: Jonah H. Harris <jonah.harris@gmail.com>
Cc: Bill Moran <wmoran@collaborativefusion.com>
Cc: Joshua D. Drake <jd@commandprompt.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: viewing source code
Date: Tue, 18 Dec 2007 18:50:36 +0000
Message-ID: <4768167C.3040306@archonet.com> (raw)
In-Reply-To: <1A6E6D554222284AB25ABE3229A92762112A25@nrtexcus702.int.asurion.com>
References: <1A6E6D554222284AB25ABE3229A92762112A25@nrtexcus702.int.asurion.com>

Roberts, Jon wrote:
> So you are saying I need to create a view per user to achieve this?  That
> isn't practical for an enterprise level database.

Surely you'd just have:
CREATE VIEW ... AS SELECT * FROM pg_proc WHERE author=CURRENT_USER


-- 
   Richard Huxton
   Archonet Ltd



view thread (60+ messages)  latest in thread

Message-ID: <4768167C.3040306@archonet.com>
Permalink:  ../4768167C.3040306@archonet.com/
Also on:    postgresql.org/message-id/4768167C.3040306@archonet.com

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: dev@archonet.com, Jon.Roberts@asurion.com, alvherre@commandprompt.com, books@ejurka.com, mmoncure@gmail.com, jonah.harris@gmail.com, wmoran@collaborativefusion.com, jd@commandprompt.com
  Subject: Re: viewing source code
  In-Reply-To: <4768167C.3040306@archonet.com>

* 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