Re: COPY Question

From: "Samuel A(dot) Mullen" <smullen(at)oppunl(dot)com>
To: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: COPY Question
Date: 2000-04-21 15:36:48
Message-ID: 39007590.44E5F75C@oppunl.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Disregard this. I went with a temp table solution.

Thanks,

Sam

Bruce Momjian wrote:
>
> > As you can see I'm delimiting the fields with a '|' character. You will
> > also notice that there is no field 1. I was hoping that I could leave
> > that blank and the sequence automatically fill in the PKEY. Does this
> > not work?
>
> DEFAULTS are not activated by COPY.
> --
> Bruce Momjian | http://www.op.net/~candle
> pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
> + If your life is a hard drive, | 830 Blythe Avenue
> + Christ can be your backup. | Drexel Hill, Pennsylvania 19026

--
_____________________
/ Samuel A. Mullen \
| Programmer Analyst |_______________________________________________
| Opportunities Unl. | My soul shall be satisfied as [with] marrow \
\_____________________/| and fatness; and my mouth shall praise [thee] |
| with joyful lips: |
| Psalms 63:4 |
\_______________________________________________/

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Loïc TREGOUËT 2000-04-21 17:01:36 How to use new type ?
Previous Message Bruce Momjian 2000-04-21 15:10:01 Re: COPY Question