pg_dump used for taking database backup in PostgreSQL.
We need to set the environmentVariable for password other wise while working in development environmnet pg_dump gives database backup but after making msi file and deploy pg_dump exe will not
work.
venu1210@hot...
Member
2 Points
6 Posts
Faced pg_dump problem after release asp.net application
Mar 17, 2010 05:14 AM|LINK
I faced pg_dump problem after release asp.net application
I found the solution for pg_dump after releasing the asp.net application.
Need to set environment variable in code.
like System.Environment.SetEnvironmentVariable("PGPASSWORD", ViewState["password"].ToString());
Now you can execute pg_dump command it will work.
Regards,
Venugopal
XiaoCheng Fa...
All-Star
17743 Points
1414 Posts
Re: Faced pg_dump problem after release asp.net application
Mar 19, 2010 08:57 AM|LINK
Hi,
Thanks for share a sulotion for pg_dump after releasing the asp.net application.
For more convenience to others who will meet the same issue, could you share more details?
I'm looking forward for your reply.
If you have any feedback about my replies, please contact msdnmg@microsoft.com
Microsoft One Code Framework
venu1210@hot...
Member
2 Points
6 Posts
Re: Faced pg_dump problem after release asp.net application
Jun 12, 2010 03:37 PM|LINK
pg_dump used for taking database backup in PostgreSQL.
We need to set the environmentVariable for password other wise while working in development environmnet pg_dump gives database backup but after making msi file and deploy pg_dump exe will not work.
Do you want full code for pg_dump?