Re: [SQL] How to find SQL Functions

From: "Ross J(dot) Reedstrom" <reedstrm(at)rice(dot)edu>
To: "pgsql-sql(at)postgreSQL(dot)org" <pgsql-sql(at)postgresql(dot)org>
Subject: Re: [SQL] How to find SQL Functions
Date: 1999-05-04 18:06:56
Message-ID: 372F3740.C786A5CA@rice.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)rice(dot)edu>
NSBRI Research Scientist/Programmer
Computer and Information Technology Institute
Rice University, 6100 S. Main St., Houston, TX 77005

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Matt Behrens 1999-05-04 20:47:43 Selecting with a large number of foreign keys
Previous Message G. Anthony Reina 1999-05-04 17:44:51 How to find SQL Functions