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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, Tim McAuley <mcauleyt(at)tcd(dot)ie>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: initdb failure (was Re: [GENERAL] sequence's plpgsql)
Date: 2003-09-27 17:26:26
Message-ID: 6474.1064683586@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers pgsql-jdbc

Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> Peter Eisentraut wrote:
>> Maybe instead we can change the COPY command to read the file directly and
>> not via stdin? Then we don't need the \. marker.

I like that idea too.

> Yes, we need a temp table then. The single-line fix seemed easier.

Why a temp table? The COPY command is only sourcing the contents of
"$datadir"/sql_features.txt.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2003-09-27 17:33:16 Re: initdb failure (was Re: [GENERAL] sequence's plpgsql)
Previous Message Alvaro Herrera 2003-09-27 17:21:45 Re: initdb failure (was Re: [GENERAL] sequence's plpgsql)

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2003-09-27 17:33:16 Re: initdb failure (was Re: [GENERAL] sequence's plpgsql)
Previous Message Alvaro Herrera 2003-09-27 17:21:45 Re: initdb failure (was Re: [GENERAL] sequence's plpgsql)

Browse pgsql-jdbc by date

  From Date Subject
Next Message Tom Lane 2003-09-27 17:33:16 Re: initdb failure (was Re: [GENERAL] sequence's plpgsql)
Previous Message Andreas Prohaska 2003-09-27 17:25:45 Re: Tomcat - PostgreSQL - Cannot load JDBC driver class "n