How to see rules,functions and triggers in psql ?

Started by Oleg Bartunovabout 27 years ago4 messages
#1Oleg Bartunov
oleg@sai.msu.su

Hi,

The subject says all.

Regards,

Ole

_____________________________________________________________
Oleg Bartunov, sci.researcher, hostmaster of AstroNet,
Sternberg Astronomical Institute, Moscow University (Russia)
Internet: oleg@sai.msu.su, http://www.sai.msu.su/~megera/
phone: +007(095)939-16-83, +007(095)939-23-83

#2Todd Graham Lewis
tlewis@mindspring.net
In reply to: Oleg Bartunov (#1)
Re: [HACKERS] How to see rules,functions and triggers in psql ?

# psql foo
psql> \?

That lists all of the admin functions available from psql. \df lists all
functions, I'm not sure of the rest. Try it out and see.

--
Todd Graham Lewis MindSpring Enterprises tlewis@mindspring.net
The Windows 2000 name was obviously created over a glass of root beer
in the company cafeteria by a couple of executives looking for a way
out of the Windows NT delays. -- John C. Dvorak

#3Terry Mackintosh
terry@terrym.com
In reply to: Todd Graham Lewis (#2)
Re: [HACKERS] How to see rules,functions and triggers in psql ?

Hi all

On Sun, 29 Nov 1998, Todd Graham Lewis wrote:

# psql foo
psql> \?

That lists all of the admin functions available from psql. \df lists all
functions, I'm not sure of the rest. Try it out and see.

I suspect what the person was asking, was how to see user defined
function.
'\df' only shows built in functions, and they just scroll off the screen
for ever.

Maybe we could use a '\duf' to see user defined functions? I know this
would have been nice a couple of times for me.

Have a great day
Terry Mackintosh <terry@terrym.com> http://www.terrym.com
sysadmin/owner Please! No MIME encoded or HTML mail, unless needed.

Proudly powered by R H Linux 4.2, Apache 1.3, PHP 3, PostgreSQL 6.4
-------------------------------------------------------------------
Success Is A Choice ... book by Rick Patino, get it, read it!

#4Oleg Bartunov
oleg@sai.msu.su
In reply to: Todd Graham Lewis (#2)
Re: [HACKERS] How to see rules,functions and triggers in psql ?

On Sun, 29 Nov 1998, Todd Graham Lewis wrote:

Date: Sun, 29 Nov 1998 16:06:59 -0500 (EST)
From: Todd Graham Lewis <tlewis@mindspring.net>
To: Oleg Bartunov <oleg@sai.msu.su>
Cc: pgsql-hackers@postgreSQL.org
Subject: Re: [HACKERS] How to see rules,functions and triggers in psql ?

# psql foo
psql> \?

That lists all of the admin functions available from psql. \df lists all
functions, I'm not sure of the rest. Try it out and see.

I was asking about user defined functions,triggers and rules.
I've read man psql.

Oleg

--
Todd Graham Lewis MindSpring Enterprises tlewis@mindspring.net
The Windows 2000 name was obviously created over a glass of root beer
in the company cafeteria by a couple of executives looking for a way
out of the Windows NT delays. -- John C. Dvorak

_____________________________________________________________
Oleg Bartunov, sci.researcher, hostmaster of AstroNet,
Sternberg Astronomical Institute, Moscow University (Russia)
Internet: oleg@sai.msu.su, http://www.sai.msu.su/~megera/
phone: +007(095)939-16-83, +007(095)939-23-83