Last post Jun 12, 2010 03:37 PM by email@example.com
Mar 17, 2010 05:14 AMfirstname.lastname@example.org|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.
Mar 19, 2010 08:57 AM|XiaoCheng Fan - MSFT|LINK
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.
Jun 12, 2010 03:37 PMemail@example.com|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
Do you want full code for pg_dump?