Re: Query to check existence of stored procedure?

Поиск
Список
Период
Сортировка
Искать
От
Jim Buttafuoco
Тема
Re: Query to check existence of stored procedure?
Дата
Msg-id
20060418144321.M71202@contactbda.com
Ответ на
Список
Дерево обсуждения
Query to check existence of stored procedure? Alexander Scholz <alexander.scholz1@freenet.de>
Re: Query to check existence of stored procedure? "A. Kretschmer" <andreas.kretschmer@schollglas.com>
Re: Query to check existence of stored procedure? "Jim Buttafuoco" <jim@contactbda.com>
Re: Query to check existence of stored procedure? Alexander Scholz <alexander.scholz1@freenet.de>
Re: Query to check existence of stored procedure? "Jim Buttafuoco" <jim@contactbda.com>
Re: Query to check existence of stored procedure? "Jim C. Nasby" <jnasby@pervasive.com>
Re: Query to check existence of stored procedure? "Jim Buttafuoco" <jim@contactbda.com>
Re: Query to check existence of stored procedure? "Jim C. Nasby" <jnasby@pervasive.com>
Re: Query to check existence of stored procedure? "Jim Buttafuoco" <jim@contactbda.com>
Re: Query to check existence of stored procedure? "Nikolay Samokhvalov" <samokhvalov@gmail.com>

don't forget about schema's, you will need to join with pg_namespace.oid and pg_proc.pronamespace

---------- Original Message -----------
From: "A. Kretschmer" 
To: pgsql-general@postgresql.org
Sent: Tue, 18 Apr 2006 16:14:25 +0200
Subject: Re: [GENERAL] Query to check existence of stored procedure?

> am  18.04.2006, um  8:26:49 +0200 mailte Alexander Scholz folgendes:
> > Hi Newsgroup,
> > 
> > I need a query which can check for the existence of a certain stored
> > procedure.
> 
> proname in pg_proc.
> 
> select count(*) from pg_proc where proname = 'your_function';
> 
> HTH, Andreas
> -- 
> Andreas Kretschmer    (Kontakt: siehe Header)
> Heynitz:  035242/47215,      D1: 0160/7141639
> GnuPG-ID 0x3FFF606C http://wwwkeys.de.pgp.net
>  ===    Schollglas Unternehmensgruppe    ===
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 5: don't forget to increase your free space map settings
------- End of Original Message -------

В списке pgsql-general по дате отправления
От: Alban Hertroys
Дата:
Сообщение: Re: Give me some suggestion
От: Mark
Дата:
Сообщение: Using pg_dump and pg_restore
FAQ