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

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(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 20:22:38
Message-ID: 200309272022.h8RKMcb06479@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers pgsql-jdbc

Tom Lane wrote:
> 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.

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

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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2003-09-27 20:48:41 Re: State of Beta 2
Previous Message Tom Lane 2003-09-27 19:56:46 Re: Can't Build 7.3.4 on OS X

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2003-09-27 20:37:52 Re: "is_superuser" parameter creates inconsistencies
Previous Message Bruce Momjian 2003-09-27 20:12:57 Re: 2-phase commit

Browse pgsql-jdbc by date

  From Date Subject
Next Message Nick Fankhauser 2003-09-27 21:40:22 Re: Tomcat - PostgreSQL - Perfomance Tuning
Previous Message Bruce Momjian 2003-09-27 20:14:08 Re: Statement.cancel() may cancel queries in the future