Skip site navigation (1) Skip section navigation (2)

Re: Bug: edit properties of function with OUT-parameters and line break in comment

From: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
To: "Erwin Brandstetter" <brandstetter(at)falter(dot)at>,<pgadmin-support(at)postgresql(dot)org>
Subject: Re: Bug: edit properties of function with OUT-parameters and line break in comment
Date: 2006-10-14 20:18:59
Message-ID: E7F85A1B5FF8D44C8A1AF6885BC9A0E40176D5D8@ratbert.vale-housing.co.uk (view raw or flat)
Thread:
Lists: pgadmin-support
 

> -----Original Message-----
> From: pgadmin-support-owner(at)postgresql(dot)org 
> [mailto:pgadmin-support-owner(at)postgresql(dot)org] On Behalf Of 
> Erwin Brandstetter
> Sent: 13 October 2006 20:35
> To: pgadmin-support(at)postgresql(dot)org
> Subject: [pgadmin-support] Bug: edit properties of function 
> with OUT-parameters and line break in comment
> 
> Hi developers!
> 
> I am testing pgAdmin III Beta 2 (Oct 3 2006, re: 5426:5427) on Windows
> XP (latest patch level).
> 
> With the following test case I can reproduce the bug:
> 
> CREATE OR REPLACE FUNCTION f_test(IN i integer, OUT o integer) AS
> $$
> BEGIN
>  o := i*2;
> END;
> $$
>   LANGUAGE 'plpgsql' VOLATILE;
> 
> COMMENT ON FUNCTION f_test(integer) IS 'NOTE the
> line break!';
> 
> 
> Now, when I try to edit properties of this function (function 
> name, for 
> instance), I get the following error:
> 
> An error has occurred:
> Fehler: Funktion f_test(integer, integer) existiert nicht
> 
> (I am running a German Windows XP.)
> If the comment does not contain line breaks the error does not occur.
> This bug is present in v1.4.3 as well. During beta testing 1.6 I have 
> been able to narrow down the cause.

Thanks - I've committed a fix for this to SVN.

Regards, Dave.

In response to

pgadmin-support by date

Next:From: Erwin BrandstetterDate: 2006-10-15 22:53:49
Subject: Bug: SQL pane: schema-prefix of composite types duplicated
Previous:From: Dave PageDate: 2006-10-14 19:28:38
Subject: Re: Minor annoyance in "Find and Replace"

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group