pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Dave Page <dpage@vale-housing.co.uk>
Cc: Donald Fraser <demolish@cwgsy.net>
Cc: [ADMIN] <pgsql-admin@postgresql.org>
Cc: [pgADMIN] <pgadmin-support@postgresql.org>
Subject: Re: [ADMIN] Overloading functions that are used by operators.
Date: Thu, 10 Jul 2003 11:37:51 -0400
Message-ID: <7014.1057851471@sss.pgh.pa.us> (raw)
In-Reply-To: <03AF4E498C591348A42FC93DEA9661B83AF16D@mail.vale-housing.co.uk>
References: <03AF4E498C591348A42FC93DEA9661B83AF16D@mail.vale-housing.co.uk>

"Dave Page" <dpage@vale-housing.co.uk> 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



view thread (11+ messages)  latest in thread

Message-ID: <7014.1057851471@sss.pgh.pa.us>
Permalink:  ../7014.1057851471@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/7014.1057851471@sss.pgh.pa.us

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, dpage@vale-housing.co.uk, demolish@cwgsy.net, pgadmin-support@postgresql.org
  Subject: Re: [ADMIN] Overloading functions that are used by operators.
  In-Reply-To: <7014.1057851471@sss.pgh.pa.us>
  References: <03AF4E498C591348A42FC93DEA9661B83AF16D@mail.vale-housing.co.uk> <7014.1057851471@sss.pgh.pa.us>

* 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