pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Richard Huxton <dev@archonet.com>
To: Bart Degryse <Bart.Degryse@indicator.be>
Cc: PostgreSQL SQL List <pgsql-sql@postgresql.org>
Subject: Re: Function description
Date: Fri, 15 Feb 2008 10:15:45 +0000
Message-ID: <47B56651.9050600@archonet.com> (raw)
In-Reply-To: <47B56F0B.A3DD.0030.0@indicator.be>
References: <47B56063.A3DD.0030.0@indicator.be>
	<47B556E6.8090200@archonet.com>
	<47B56F0B.A3DD.0030.0@indicator.be>

Dont' forget to cc: the list Bart :-)

Bart Degryse wrote:
> Thanks for that explanation Richard.
> But how can I know what they repeat without having documentation.
> I mean, how about functions like eg regexeqjoinsel, regexeqsel, reltimeeq, reltimege.
> I can imagine they mimic some other functionality, but how can I know whichone?

Well, like I said many implement operators, so they can be obviously be 
found in pg_operator:

SELECT * FROM pg_operator WHERE oprcode = 'reltimeeq'::regproc;

The oprleft/right/result columns hold oid numbers for types in pg_type.

Casts are listed in pg_cast etc.

The fine manuals detail the system catalogues in a chapter "System 
Catalogs".
http://www.postgresql.org/docs/8.3/static/catalogs.html

To see how e.g. \dC etc work start psql with -E

If it's not documented though, you need to ask two questions:
1. Why am I using it?
2. Will it be there in the next version?

-- 
   Richard Huxton
   Archonet Ltd



view thread (12+ messages)  latest in thread

Message-ID: <47B56651.9050600@archonet.com>
Permalink:  ../47B56651.9050600@archonet.com/
Also on:    postgresql.org/message-id/47B56651.9050600@archonet.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: dev@archonet.com, Bart.Degryse@indicator.be
  Subject: Re: Function description
  In-Reply-To: <47B56651.9050600@archonet.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox