Quotes and functions

From: "Thomas Sandford" <thomas(at)paradisegreen(dot)co(dot)uk>
To: <pgadmin-support(at)postgresql(dot)org>
Subject: Quotes and functions
Date: 2002-03-27 15:21:08
Message-ID: 008901c1d5a3$05084c60$0300000a@paradise
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support pgsql-hackers pgsql-odbc

There seems to be a "round trip" problem when editing function definitions
within the definition pane of the function window.

If the function text uses single quotes (') then these must be doubled up
(because of the single quotes enclosing the entire function body). However
the doubling up is removed in a save/display loop.

The result is that _every time_ you edit the function you have to add an
extra quote to each occurence of the quote character.

--
Thomas Sandford | thomas(at)paradisegreen(dot)co(dot)uk

In response to

Browse pgadmin-support by date

  From Date Subject
Next Message Dave Page 2002-03-27 15:28:14 Re: Quotes and functions
Previous Message Jeff Cain 2002-03-26 18:10:57 pgsql problems.

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2002-03-27 15:30:06 Re: build of 7.2.1 on SCO Openserver and Unixware 7.1.1
Previous Message Thomas Lockhart 2002-03-27 15:21:04 Re: Mailing List Question

Browse pgsql-odbc by date

  From Date Subject
Next Message Thomas Sandford 2002-03-27 20:31:51 Can't edit tables with timestamps
Previous Message Carlos Kozuszko 2002-03-27 12:58:38 Info to Start.