Re: Re: NULL - Mailing list pgsql-sql

From Mark Volpe
Subject Re: Re: NULL
Date
Msg-id 39F5F39A.781DB54D@epamail.epa.gov
Whole thread Raw
In response to knowing which columns have beend UPDATEd inside a TRIGGER?  (Louis-David Mitterrand <cunctator@apartia.ch>)
List pgsql-sql
\N is normally used to represent NULL in a text file, however
you can change that to another string (or an empty string) using
COPY FROM ... WITH NULL AS

Mark

Sandis Jerics wrote:
>
> Hello,
>
> how must i write a NULL value in a text file for the \copy command to
> understand it?
> NULL, \0 doesnt work..
>
> how must i write a boolean value in a text file for the \copy command to
> understand it?
> t doesnt work, however in a file written by /copy command it looks as
> t or f ..
>
> tried to search archives, but it seems deadly slow...
>
> Thanks in advance,
> sandis

pgsql-sql by date:

Previous
From: "Poul L. Christiansen"
Date:
Subject: Re: Error in Extrack Database
Next
From: Craig May
Date:
Subject: Help on Union Query