Ken Corey <ken@kencorey.com> writes:
> GRE=# select
>
I_SESSION(null,'54',2,'E2K','0x577A977F7FCCBF5A567C6097A5A5A9D47DA39B82298C6E9F89DA4D4F67E39B856692DDAA8A938E637D7F6C70A679A67AA881D68926976C966CB5A0B48E793795472F216B4A652933406A2B5B4554660B5734765B3A623A5421A02D2B5E5B5916008B4E6012106A0A3258291D123C1F6B4A341EF82152673435512D243158561B1520582463622363702F2640DD9A6B00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000');
> GRE'# '
> GRE-# );
> ERROR: parser: parse error at or near
> "0000000000000000000000000000000000"
> GRE=#
> [Note that the final ' wasn't found, so I had to add it, and then close
> the parenthesis and execute the whole mess with the semi colon.]
That's pretty odd; you seem to have a broken psql. What PG version are
you running? Do you have libreadline (history support) in there, and if
so what libreadline version is it?
regards, tom lane