Re: COPY Question

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: "Samuel A(dot) Mullen" <smullen(at)oppunl(dot)com>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: COPY Question
Date: 2000-04-21 15:10:01
Message-ID: 200004211510.LAA14726@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Samuel A. Mullen 2000-04-21 15:36:48 Re: COPY Question
Previous Message Samuel A. Mullen 2000-04-21 14:30:02 COPY Question