From: Bhuvan A <bhuvanbk@yahoo.com>
To: David Stanaway <david@netventures.com.au>
Cc: pgsql-sql@postgresql.org
Subject: Re: While Using COPY COMMAND ...
Date: Fri, 6 Jul 2001 14:08:48 +0530 (IST)
Message-ID: <Pine.LNX.4.20.0107061354100.4629-100000@Larry.bks> (raw)
In-Reply-To: <E15IPnD-0001lL-00@runt.in.netventures.com.au>
hello sirs,,
the permission of '/tmp/' directory is
drwxrwxrwt 41 root root 12288 Jul 6 14:01 /tmp/
the permission of the file copied to '/tmp/' directory is
-rw-r--r-- 1 postgres users 399 Jul 6 12:01
/tmp/fap-table
Sir, as you mentioned if it is not possible to copy to a
home directory, then how can we able to redirect the result
of some queries to any possible file in home directory!!???
Example:
bhuvan=# \o select-output
bhuvan=# select * from stdcodes;
bhuvan=#
NOTE: I am really new to postgres, kindly apologize for any
inconvince in my submission.
Thanking you,
Yours truly,
Bhuvaneswar.
On Fri, 6 Jul 2001, David Stanaway wrote:
>
> On Friday, July 6, 2001, at 04:35 PM, Bhuvan A wrote:
>
> >
> > hello sirs,,
> >
> > I am using PSQL client. I can able to copy the contents of a
> > table to '/tmp/' directory. But Why can't i able to copy
> > contents of a table to my home directory?
>
> My guess is that user/group postgres can't write to your home directory.
>
> Who owns the file you copied to /tmp ?
>
> --
> Best Regards
> David Stanaway
> ========================.---------------------------------------------
> Technology Manager - Australia's Premier Internet Broadcasters
> david@NetVentures.com.au Office +612 9357 1699
> ========================'---------------------------------------------
>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: bhuvanbk@yahoo.com, david@netventures.com.au
Subject: Re: While Using COPY COMMAND ...
In-Reply-To: <Pine.LNX.4.20.0107061354100.4629-100000@Larry.bks>
References: <E15IPnD-0001lL-00@runt.in.netventures.com.au> <Pine.LNX.4.20.0107061354100.4629-100000@Larry.bks>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox