Re: byteain() doesn't parse correctly

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jered Floyd <jered@permabit.com>
Cc: pgsql-bugs@postgresql.org, dev-server@permabit.com
Date: 2001-02-07T14:59:35Z
Lists: pgsql-bugs
Jered Floyd <jered@permabit.com> writes:
> More curious is that it can't handle '\134' either, implying that 
> multiple levels of parsing are going on.

You're right, there are multiple levels of parsing going on.  The
string-literal parser gets first crack before the type-specific
input converter does.  If you don't allow for that when counting
backslashes etc, you'll get confused for sure.

			regards, tom lane