Re: pg_dump user

Поиск
Список
Период
Сортировка
От Devrim GUNDUZ
Тема Re: pg_dump user
Дата
Msg-id Pine.LNX.4.44.0202142309510.520-100000@oper.metu.edu.tr
обсуждение исходный текст
Ответ на pg_dump user  (Laurent Patureau <lpatureau@idfr.net>)
Список 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
------------------------------------------------------------------





В списке pgsql-php по дате отправления:

Предыдущее
От: "Christopher Kings-Lynne"
Дата:
Сообщение: Re: [SQL] Front and Back End
Следующее
От: SteveFice@bedsprobation.gov.uk
Дата:
Сообщение: Pg_pconnect fails...