| From: | Antoine Reid <antoiner(at)hansonpublications(dot)com> |
|---|---|
| To: | qradius(at)qnet(dot)com(dot)pe |
| Cc: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: How to view the functions that exists |
| Date: | 2001-11-09 20:19:24 |
| Message-ID: | 20011109151924.A5364@wumpus.lan.edmarketing.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
On Fri, Nov 09, 2001 at 04:21:57PM +0000, qradius(at)qnet(dot)com(dot)pe wrote:
> Hi !
>
> I have a consulta about how Imcan view what are defined on my
> database, and their deinitions?
When using the command line interface, psql, you can issue:
\df <function>
where it will give you a list of all functions that begin with the supplied
argument. As an example, here, all developers name their functions with a
prefix of sp_ (this must be from using MS SQL..)
so: \df sp_ will give you a list of all functions.
If you want to see the source of the function, you can use
\df+ sp_function_name
and you get to see the source of all functions that begin with that pattern
(again).
> Thank you
>
> Ernesto
Hope that helps
Antoine
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Frans Thamura | 2001-11-09 20:47:45 | Postgre for Windows |
| Previous Message | Greg Sabino Mullane | 2001-11-09 17:49:03 | Re: Help installing PGSQL 7.1 on Linux |