| From: | Martijn van Oosterhout <kleptog(at)svana(dot)org> |
|---|---|
| To: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
| Cc: | pgsql-hackers(at)postgresql(dot)org |
| Subject: | Re: \x output blowing up |
| Date: | 2005-09-25 09:18:36 |
| Message-ID: | 20050925091829.GA7743@svana.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers pgsql-patches |
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(at)svana(dot)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.
| Attachment | Content-Type | Size |
|---|---|---|
| patch | text/plain | 1.6 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Thomas Hallgren | 2005-09-25 11:14:14 | Re: stack depth limit exceeded problem. |
| Previous Message | Hannu Krosing | 2005-09-25 07:15:20 | Re: Discarding relations from FSM |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2005-09-25 17:26:25 | roundoff problem in time datatype |
| Previous Message | Bruce Momjian | 2005-09-25 03:19:05 | Re: PL/Python error checking |