Last post Jun 12, 2010 04:37 PM by firstname.lastname@example.org
Mar 17, 2010 06:14 AMemail@example.com|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 09: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 04:37 PMfirstname.lastname@example.org|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?