Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id B41D22E0056 for ; Fri, 15 Feb 2008 06:15:56 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 55453-10 for ; Fri, 15 Feb 2008 06:15:49 -0400 (AST) Received: from ptb-relay01.plus.net (ptb-relay01.plus.net [212.159.14.212]) by postgresql.org (Postfix) with ESMTP id 45F292E002C for ; Fri, 15 Feb 2008 06:15:49 -0400 (AST) Received: from [84.51.143.99] (helo=server3.office.archonet.com) by ptb-relay01.plus.net with esmtp (Exim) id 1JPxbe-00087T-09; Fri, 15 Feb 2008 10:15:46 +0000 Received: from [192.168.1.36] (dell36.office.archonet.com [192.168.1.36]) by server3.office.archonet.com (Postfix) with ESMTP id 580A427405F; Fri, 15 Feb 2008 10:15:45 +0000 (GMT) Message-ID: <47B56651.9050600@archonet.com> Date: Fri, 15 Feb 2008 10:15:45 +0000 From: Richard Huxton User-Agent: Thunderbird 2.0.0.9 (X11/20071031) MIME-Version: 1.0 To: Bart Degryse CC: PostgreSQL SQL List Subject: Re: Function description References: <47B56063.A3DD.0030.0@indicator.be><47B556E6.8090200@archonet.com> <47B56F0B.A3DD.0030.0@indicator.be> In-Reply-To: <47B56F0B.A3DD.0030.0@indicator.be> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Plusnet-Relay: 6de1512b8005ce276e643fd2726b8875 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200802/117 X-Sequence-Number: 30208 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