Re: invalid byte sequence for encoding

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Daniel Schuchardt <d(dot)schuchardt(at)prodat-sql(dot)de>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: invalid byte sequence for encoding
Date: 2009-09-14 05:51:43
Message-ID: 1252907503.30236.1.camel@fsopti579.F-Secure.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, 2009-09-14 at 00:36 +0200, Daniel Schuchardt wrote:
> I know you are true with definition's and standards, however, that code
> works for about 6 years ;o)
>
> Well, we will change our parser behavoir. We will check out that
> standard_conforming_strings parameter too but i see a lot of problems
> with our backup and restore system (plain text pg_dump's) and other points.
>
> All in all will Postgres81 understand this E'' (\\0) escape chars too?
> Or do we have to make a several version for older Postgres versions?

What I don't understand about your issue is that '\0' should never have
worked in the first place. You can expect it to work in the future, but
in old versions this should always have created a problem, either a
rejection or perhaps a truncated string. So we're probably not seeing
the entire chain of processing here.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Albe Laurenz 2009-09-14 07:25:14 Re: Getting Out Parameter in the application using libpq
Previous Message Marc Munro 2009-09-14 04:37:02 Re: postgresql.key secure storage