Search Postgresql Archives

Re: Question about COPY command

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
 


-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux