Re: Comments with embedded single quotes

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Richard Harvey Chapman <hchapman(at)3gfp(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Comments with embedded single quotes
Date: 2000-06-30 16:15:47
Message-ID: Pine.LNX.4.21.0006301814420.347-100000@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Bruce Momjian writes:

> OK, here is the patch. The problem was that quotes were being checked
> before checking if we were in a comment. Patch applied to current tree
> only.

Nope, now we have the inverse problem. Try

SELECT 'aa--bb';

The timestamp test is now failing because of this.

--
Peter Eisentraut Sernanders väg 10:115
peter_e(at)gmx(dot)net 75262 Uppsala
http://yi.org/peter-e/ Sweden

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2000-06-30 16:21:10 Re: disk backups
Previous Message Jan Wieck 2000-06-30 15:56:19 Re: pg_dumpall and check constraints