Re: Question about COPY command - Mailing list pgsql-general

From Ragnar Hafstað
Subject Re: Question about COPY command
Date
Msg-id 1231498459.3036.155.camel@localhost.localdomain
Whole thread Raw
In response to Question about COPY command  ("Josh Harrison" <joshques@gmail.com>)
List pgsql-general
On fim, 2009-01-08 at 08:39 -0500, Josh Harrison wrote:
> Hi,
> A basic question about the COPY command syntax....
> This is the syntax in the postgres manual.
>
> COPY tablename [ ( column [, ...] ) ]
>
>     FROM { 'filename' | STDIN }
> ......
> .....
>
> What is the difference between copying from 'filename' and copying from 'stdin' ???
>
The most important distinction is that 'filename' refers to a file
residing on the *server*, but STDIN is clientside.

For security, the file variant requires superuser privileges.

gnari



pgsql-general by date:

Previous
From: Steve Henry
Date:
Subject: Where do I find crypto installer for Mac platform
Next
From: Richard Huxton
Date:
Subject: Re: RCA for MemoryContextAlloc: invalid request size(Known Issue)