pg.ddx.io pgsql-php@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pg_dump user 2+ messages / 2 participants [nested] [flat]
* pg_dump user @ 2002-02-14 14:23 Laurent Patureau <lpatureau@idfr.net> 0 siblings, 1 reply; 2+ messages in thread From: Laurent Patureau @ 2002-02-14 14:23 UTC (permalink / raw) To: pgsql-php Hi, Anybody know a way to specifie a user when pg_dump ? I do a script with a system command "pg_dump dbname > out.sql" but my script run under user apache and apache is not granted to do it . rgds, Laurent. ^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: pg_dump user @ 2002-02-15 08:06 Devrim GUNDUZ <devrim@oper.metu.edu.tr> parent: Laurent Patureau <lpatureau@idfr.net> 0 siblings, 0 replies; 2+ messages in thread From: Devrim GUNDUZ @ 2002-02-15 08:06 UTC (permalink / raw) To: Laurent Patureau <lpatureau@idfr.net>; +Cc: pgsql-php Hi, On Thu, 14 Feb 2002, Laurent Patureau wrote: > > Hi, > > Anybody know a way to specifie a user when pg_dump ? > I do a script with a system command "pg_dump dbname > out.sql" but my > script run under user apache and apache is not granted to do it . pg_dump dbname -u > out.sql This is the syntax. However, if you want to do it in a shell script (maybe in cron), use expect. I have posted an example about a month ago. Please check the archives for that. Regards Devrim > rgds, > Laurent. > > > > ---------------------------(end of broadcast)--------------------------- > TIP 6: Have you searched our list archives? > > http://archives.postgresql.org > -- Devrim GUNDUZ devrim@oper.metu.edu.tr devrim.gunduz@linux.org.tr devrimg@tr.net Web : http://devrim.oper.metu.edu.tr ------------------------------------------------------------------ ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2002-02-15 08:06 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2002-02-14 14:23 pg_dump user Laurent Patureau <lpatureau@idfr.net> 2002-02-15 08:06 ` Devrim GUNDUZ <devrim@oper.metu.edu.tr>
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