Re: importing data

From: Greg Stark <gsstark(at)mit(dot)edu>
To: Chris <dmagick(at)gmail(dot)com>
Cc: Craig White <craigwhite(at)azapple(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: importing data
Date: 2006-06-01 05:06:13
Message-ID: 87bqtdihx6.fsf@stark.xeocode.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Chris <dmagick(at)gmail(dot)com> writes:

> Craig White wrote:
> > I am getting an error when I import, invalid input syntax for type
> > boolean - which is empty. Is there any way around this of must I
> > necessarily have \N ?

You could try with:

COPY ... WITH NULL AS ''

--
greg

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Philippe Lang 2006-06-01 07:11:08 Re: PGSQL 7.4 -> 8.1 migration & performance problem
Previous Message Tom Lane 2006-06-01 03:36:10 Re: Moving Postgres Database