Re: initdb failure (was Re: [GENERAL] sequence's plpgsql)

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Postgresql Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: initdb failure (was Re: [GENERAL] sequence's plpgsql)
Date: 2003-09-26 18:20:33
Message-ID: 3F748371.1050903@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers pgsql-jdbc

Bruce Momjian wrote:

>I posted on that a few minutes ago. Yea, we can drop it, but we risk
>eating carraige returns as data values. I am not sure how consistently
>we output literal carriage returns in old dumps, nor how many apps
>produce on literal carriage returns in COPY. If we conditionally eat
>them, we run the risk of discarding some of their data without warning.
>Perhaps we can throw a warning rather than an error, and adjust initdb
>to be consistent.
>
>
>

Would the best longterm solution be to require escaping CR in a data
value? (Yes I know this might cause backwards compatibility problems, at
least for a while).

cheers

andrew

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2003-09-26 18:25:59 Re: initdb failure (was Re: [GENERAL] sequence's plpgsql)
Previous Message Bruce Momjian 2003-09-26 18:12:39 Re: initdb failure (was Re: [GENERAL] sequence's plpgsql)

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2003-09-26 18:25:59 Re: initdb failure (was Re: [GENERAL] sequence's plpgsql)
Previous Message Bruce Momjian 2003-09-26 18:12:39 Re: initdb failure (was Re: [GENERAL] sequence's plpgsql)

Browse pgsql-jdbc by date

  From Date Subject
Next Message Tom Lane 2003-09-26 18:25:59 Re: initdb failure (was Re: [GENERAL] sequence's plpgsql)
Previous Message CRAIG GOLBY 2003-09-26 18:20:17 Re: Tomcat - PostgreSQL - Cannot load JDBC driver class "null"