Re: initdb failure (was Re: [GENERAL] sequence's plpgsql) - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: initdb failure (was Re: [GENERAL] sequence's plpgsql)
Date
Msg-id 200309272022.h8RKMcb06479@candle.pha.pa.us
Whole thread Raw
In response to Re: initdb failure (was Re: [GENERAL] sequence's plpgsql)  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.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.

Sorry, I meant temp file.  I have SQL on the brain.  :-)

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: PostgreSQL 7.4beta3 does not compile on AIX 5 ...
Next
From: Bruce Momjian
Date:
Subject: Re: "is_superuser" parameter creates inconsistencies