On Sat, Sep 24, 2005 at 07:18:16PM -0400, Bruce Momjian wrote:
>
> Well, it seems we are going to have to fix it somehow for 8.1. It is
> not crashing here so I can't work up a patch. Can you submit a minimal
> fix for 8.1? Thanks.
Ah, it would only happen if your encoding was UTF-8 since that's the
only case psql handles differently. I've attached a patch which fixes
it. With a bit more rearrangement you could probably simplify it a bit
but this works.
Have a nice day,
--
Martijn van Oosterhout <kleptog@svana.org> http://svana.org/kleptog/
> Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a
> tool for doing 5% of the work and then sitting around waiting for someone
> else to do the other 95% so you can sue them.