Thread: Including pg_dump in .NET Application

Including pg_dump in .NET Application

From
"Penelope Dramas"
Date:
Hello,

We're developing .NET application (closed-source) and would like to include
pg_dump to allow users to perform "quick database backup" within main
application.

Two questions:

1. Do we need to include any dependent files besides pg_dump.exe ?
2. Are we in violation of PostgreSQL license if we include this files?


Thank you in advance,

Penelope




Re: Including pg_dump in .NET Application

From
"Magnus Hagander"
Date:
> We're developing .NET application (closed-source) and would like to include
> pg_dump to allow users to perform "quick database backup" within main
> application.
>
> Two questions:
>
> 1. Do we need to include any dependent files besides pg_dump.exe ?

IIRC, you need libpq and it's dependencies. Check with depends.exe from the ms support tools. Other than the linked
dll:s,nothing should be required. 


> 2. Are we in violation of PostgreSQL license if we include this files?

No, that's allowed.

/Magnus