Re: grant execute on many functions - Mailing list pgsql-admin

From Doug Quale
Subject Re: grant execute on many functions
Date
Msg-id 877jtp9i4p.fsf@charter.net
Whole thread Raw
In response to Re: grant execute on many functions  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-admin
Tom Lane <tgl@sss.pgh.pa.us> writes:

> Doug Quale <quale1@charter.net> writes:
> > test=# select oid::regprocedure from pg_proc order by oid::regprocedure;
>
> > doesn't sort the way I would expect.
>
> Nope, it'd just be ordering by the numeric OID.  If you added a cast
> procedure as we were just discussing, you could order by
> oid::regprocedure::text and get what I suppose you're expecting.

Thanks for the explanation.  Some months ago I had tried
oid::regprocedure::text and found it didn't work.  I didn't figure out
that this was because I need to create a cast procedure.

pgsql-admin by date:

Previous
From: Tom Lane
Date:
Subject: Re: PL/pgSQL
Next
From: Jean-Denis Giguere
Date:
Subject: Re: grant execute on many functions