pg_dump

From: "stephen" <mail(at)xesoftware(dot)com(dot)au>
To: "'Postgresql'" <pgsql-novice(at)postgresql(dot)org>
Subject: pg_dump
Date: 2007-07-10 15:45:56
Message-ID: 000001c7c309$6a3f8c20$0400a8c0@tablet
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

I am trying to run pg_dump from a perl script.

I do this:

system("pg_dump -U postgres eventOrganizer");

and it fires it up but it then wants me to manually enter the password.
I couldn't find any option to enter the password as part of the call. Is
there one? Is there any other way to do this?

Stephen Choularton
0413 545 182
02 9999 2226

Responses

  • Re: pg_dump at 2007-07-10 16:24:25 from Tom Lane
  • Re: pg_dump at 2007-07-11 06:38:18 from Thanigaivel Vinayagam-TLS,Chennai

Browse pgsql-novice by date

  From Date Subject
Next Message Tom Lane 2007-07-10 16:24:25 Re: pg_dump
Previous Message yanot panara 2007-07-10 12:52:13 pam + PostgreSQL