agora inbox for postgres@postgres.berkeley.edu
help / color / mirror / Atom feedcopy command ( 4.1 )
2+ messages / 2 participants
[nested] [flat]
* copy command ( 4.1 )
@ 1994-05-20 20:29 Niranjan Perera <perera@pollux.cs.uga.edu>
1994-05-20 22:32 ` Re: copy command ( 4.1 ) Paul M. Aoki <aoki@postgres.Berkeley.EDU>
0 siblings, 1 reply; 2+ messages in thread
From: Niranjan Perera @ 1994-05-20 20:29 UTC (permalink / raw)
To: legacy
Hi:
Is there a way to get postgres to dump the classes out, and the file
be owned by the user instead of "postgres" ?
--
+----------------------------------------------------------------?------+
| Niranjan Perera, 415 GSRC Bldg,CS Dept, perera@cs.uga.edu ~~~ |
| University Of Georgia, Athens GA30602. (706)-548-5826 ( . . ) |
+-----------------------------------------------------------ooO-(_)-Ooo-+
==============================================================================
To add/remove yourself to/from the POSTGRES mailing list: send mail with
the subject line ADD or DEL to "postgres-request@postgres.Berkeley.EDU"
If this fails, send mail to "post_questions@postgres.Berkeley.EDU" and
a human will deal with it. DO NOT post to the "postgres" mailing list.
==============================================================================
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: copy command ( 4.1 )
1994-05-20 20:29 copy command ( 4.1 ) Niranjan Perera <perera@pollux.cs.uga.edu>
@ 1994-05-20 22:32 ` Paul M. Aoki <aoki@postgres.Berkeley.EDU>
0 siblings, 0 replies; 2+ messages in thread
From: Paul M. Aoki @ 1994-05-20 22:32 UTC (permalink / raw)
To: Niranjan Perera <perera@pollux.cs.uga.edu>; +Cc: legacy
Niranjan Perera <perera@pollux.cs.uga.edu> writes:
> Is there a way to get postgres to dump the classes out, and the file
> be owned by the user instead of "postgres" ?
not using the copy command into a file. copy runs in the server,
which runs as user postgres. only the superuser (root) can become
another user.
however, there's nothing to keep you from running "copy to stdout"
and directing the result of that into a file.
--
Paul M. Aoki | CS Div., Dept. of EECS, UCB | aoki@postgres.Berkeley.EDU
| Berkeley, CA 94720 | ...!uunet!ucbvax!aoki
==============================================================================
To add/remove yourself to/from the POSTGRES mailing list: send mail with
the subject line ADD or DEL to "postgres-request@postgres.Berkeley.EDU"
If this fails, send mail to "post_questions@postgres.Berkeley.EDU" and
a human will deal with it. DO NOT post to the "postgres" mailing list.
==============================================================================
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~1994-05-20 22:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
1994-05-20 20:29 copy command ( 4.1 ) Niranjan Perera <perera@pollux.cs.uga.edu>
1994-05-20 22:32 ` Paul M. Aoki <aoki@postgres.Berkeley.EDU>
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox