Re: [SQL] How to find SQL Functions - Mailing list pgsql-sql

From Ross J. Reedstrom
Subject Re: [SQL] How to find SQL Functions
Date
Msg-id 372F3740.C786A5CA@rice.edu
Whole thread Raw
In response to How to find SQL Functions  ("G. Anthony Reina" <reina@nsi.edu>)
Responses Re: [SQL] How to find SQL Functions
List pgsql-sql
G. Anthony Reina wrote:
> 
> I found in the on-line manuals a listing of the math, string, etc.
> functions for PostgreSQL. However, I know that there are more than those
> listed in the manual.
> 
> Is there some PSQL command to list all of the functions that PostgreSQL
> recognizes?
> 

functions:
\df [optional function name glob]

operators (there are some weird ones):
\do [opt glob]

you may want to use \o filename to redirect output to a file, then you
can use "grep" and such tools to find functs, etc. based on param types
and description text.

(there are, of course, equivalent SQL statements, that do the same thing
as the above psql convienience functions, using the appropriate system
tables (pg_*), which would allow one to avoid files and grep. But for
learning, there's a catch-22, and I already knew how to use grep ;-)

Ross

-- 
Ross J. Reedstrom, Ph.D., <reedstrm@rice.edu> 
NSBRI Research Scientist/Programmer
Computer and Information Technology Institute
Rice University, 6100 S. Main St.,  Houston, TX 77005


pgsql-sql by date:

Previous
From: "G. Anthony Reina"
Date:
Subject: How to find SQL Functions
Next
From: Richard Chrenko
Date:
Subject: how to get "autonumber" when using INSERT INTO