Re: Problems reverse engineering functions

From: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
To: Kieran McCusker <kieran(dot)mccusker(at)kwest(dot)info>
Cc: pgadmin-support(at)postgresql(dot)org
Subject: Re: Problems reverse engineering functions
Date: 2010-02-16 22:04:22
Message-ID: 4B7B1666.6070804@lelarge.info
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

Le 16/02/2010 18:57, Kieran McCusker a écrit :
> [...]
> Sorry if this has been raised before but the following function will not
> be reverse engineered correctly - The final default clause will be removed.
>
> CREATE FUNCTION fn(a text, b integer DEFAULT NULL::integer, c integer
> DEFAULT NULL::integer) returns text as $$
> BEGIN
> return 't';
> END;
> $$ LANGUAGE 'plpgsql';
>

Thanks for your report. I worked on this tonight, I'll commit the fix in
a few minutes. The fix will be available in the next release.

Thanks again.

Regards.

--
Guillaume.
http://www.postgresqlfr.org
http://dalibo.com

In response to

Browse pgadmin-support by date

  From Date Subject
Next Message Kieran McCusker 2010-02-17 10:02:56 Feature request
Previous Message Kieran McCusker 2010-02-16 17:57:46 Problems reverse engineering functions