Re: Overloading

From: Andrew Sullivan <ajs(at)commandprompt(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Overloading
Date: 2008-06-14 02:45:04
Message-ID: 20080614024504.GC31715@commandprompt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, Jun 13, 2008 at 06:11:43PM -0700, Ralph Smith wrote:

> I get:
> ERROR: cannot change return type of existing function
> HINT: Use DROP FUNCTION first.

Don't use CREATE OR REPLACE for the second one. The OR REPLACE is
trying to replace a function of the same name.

A

--
Andrew Sullivan
ajs(at)commandprompt(dot)com
+1 503 667 4564 x104
http://www.commandprompt.com/

In response to

Browse pgsql-general by date

  From Date Subject
Next Message D Galen 2008-06-14 07:51:54 Re: Overloading
Previous Message Ralph Smith 2008-06-14 01:11:43 Overloading