Re: small bug in ecpg unicode identifier error handling - Mailing list pgsql-hackers

From Tom Lane
Subject Re: small bug in ecpg unicode identifier error handling
Date
Msg-id 2189118.1641827122@sss.pgh.pa.us
Whole thread Raw
In response to small bug in ecpg unicode identifier error handling  (Peter Eisentraut <peter.eisentraut@enterprisedb.com>)
List pgsql-hackers
Peter Eisentraut <peter.eisentraut@enterprisedb.com> writes:
> I think this patch is necessary:
> -                    if (literallen == 2) /* "U&" */
> +                    if (literallen == 0)

Seems sensible, and matches the corresponding code in scan.l.
+1.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: reporting TID/table with corruption error
Next
From: Andrew Dunstan
Date:
Subject: Re: Fix vcregress plpython3 warning