Re: Display listings

From: Oliver Elphick <olly(at)lfix(dot)co(dot)uk>
To: cristi <cristi(at)dmhi(dot)ct(dot)ro>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Display listings
Date: 2002-11-07 10:51:58
Message-ID: 1036666318.16166.237.camel@linda
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

On Thu, 2002-11-07 at 08:05, cristi wrote:
> > > And how can I see the source code of the function made by me?
> >
> > SELECT prosrc FROM pg_proc WHERE proname = 'your_function_name';
>
> Yes!
> Thank you!
>
> And for RULES and TRIGGERS ?

There are the tables pg_rules and pg_triggers...

Use \dS to get a list of all system tables.

--
Oliver Elphick Oliver(dot)Elphick(at)lfix(dot)co(dot)uk
Isle of Wight, UK
http://www.lfix.co.uk/oliver
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C
========================================
"Jesus said unto her, I am the resurrection, and
the life; he that believeth in me, though he were
dead, yet shall he live." John 11:25

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Schneider, Nina 2002-11-07 13:55:18 postgres for skyrix
Previous Message cristi 2002-11-07 08:05:09 Re: Display listings