Including pg_dump in .NET Application

Started by Penelope Dramasover 18 years ago2 messagesgeneral
Jump to latest
#1Penelope Dramas
penelope@pro-transport.com

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

#2Magnus Hagander
magnus@hagander.net
In reply to: Penelope Dramas (#1)
Re: Including pg_dump in .NET Application

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