Re: Display listings - Mailing list pgsql-novice

From Oliver Elphick
Subject Re: Display listings
Date
Msg-id 1036666318.16166.237.camel@linda
Whole thread Raw
In response to Re: Display listings  ("cristi" <cristi@dmhi.ct.ro>)
List 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.Elphick@lfix.co.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


pgsql-novice by date:

Previous
From: "cristi"
Date:
Subject: Re: Display listings
Next
From: Setyo Nugroho
Date:
Subject: Display a function