pg_dump - Mailing list pgsql-novice

From stephen
Subject pg_dump
Date
Msg-id 000001c7c309$6a3f8c20$0400a8c0@tablet
Whole thread Raw
Responses Re: pg_dump
List 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

 

pgsql-novice by date:

Previous
From: "yanot panara"
Date:
Subject: pam + PostgreSQL
Next
From: Tom Lane
Date:
Subject: Re: pg_dump