Re: 'create or replace function' no longer allows parameters

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: David Gardner <dgardner(at)creatureshop(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: 'create or replace function' no longer allows parameters
Date: 2010-06-10 01:47:15
Message-ID: 1276134395-sup-3634@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Excerpts from David Gardner's message of mié jun 09 20:55:36 -0400 2010:
> In 8.4.4 I used to be able to rename input parameters via "create or
> replace function".
> In 9.0 beta2 this no longer is allowed, and I get a descriptive message
> informing me to use
> drop function instead, but I couldn't find this documented anywhere as a
> change between 8.4 and 9.0.

It's this patch:
http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=e7eb1113f8a95e9927fdbe9cc6fb0ac101612be2#patch7

It should probably be mentioned in the incompatibilities section of the
9.0 release notes.

--
Álvaro Herrera <alvherre(at)commandprompt(dot)com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2010-06-10 01:51:39 Re: Large (almost 50%!) performance drop after upgrading to 8.4.4?
Previous Message Takahiro Itagaki 2010-06-10 01:46:54 InvalidXLogRecPtr in docs