Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jun 12, 2010 03:37 PM by firstname.lastname@example.org
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.
Mar 19, 2010 08:57 AM|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 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
Do you want full code for pg_dump?