X-Original-To: pgadmin-support-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.193]) by svr1.postgresql.org (Postfix) with ESMTP id 6FAE2CD725 for ; Fri, 11 Jul 2003 00:03:52 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (svr1.postgresql.org [64.117.224.193]) (amavisd-new, port 10024) with ESMTP id 09480-03 for ; Thu, 10 Jul 2003 21:03:11 -0300 (ADT) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by svr1.postgresql.org (Postfix) with ESMTP id 2753CCC9A7 for ; Thu, 10 Jul 2003 12:37:40 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.9/8.12.9) with ESMTP id h6AFbpQ3007015; Thu, 10 Jul 2003 11:37:52 -0400 (EDT) To: "Dave Page" Cc: "Donald Fraser" , "[ADMIN]" , "[pgADMIN]" Subject: Re: [ADMIN] Overloading functions that are used by operators. In-reply-to: <03AF4E498C591348A42FC93DEA9661B83AF16D@mail.vale-housing.co.uk> References: <03AF4E498C591348A42FC93DEA9661B83AF16D@mail.vale-housing.co.uk> Comments: In-reply-to "Dave Page" message dated "Tue, 08 Jul 2003 21:49:05 +0100" Date: Thu, 10 Jul 2003 11:37:51 -0400 Message-ID: <7014.1057851471@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200307/102 X-Sequence-Number: 1702 "Dave Page" writes: > Well I always thought you could overload functions in this way, however > with your example below, although it creates it OK, PostgreSQL (not > pgAdmin) gives the error 'ERROR: There is more than one function named > textcat'. I see no such error here ... regression=# create function pg_catalog.textcat(varchar,text) regression-# returns text as 'textcat' language 'internal'; CREATE FUNCTION regards, tom lane