Thread: Proposal pg_dump & pg_restore

Proposal pg_dump & pg_restore

From
Pavel Golub
Date:
Hello, pgsql-interfaces.

Is it possible to create not only executable version of pg_dump and
pg_restore, but also libraries (.so, .dll) so developers can use them
freely the same as libpq client library?

I suppose it would be very usefull. For me it's for sure.

-- 
With best wishes,Pavel                          mailto:pavel@microolap.com



Re: Proposal pg_dump & pg_restore

From
Pavel Golub
Date:
Hello, Peter.

What is the problem? Can we help?

You wrote:

PE> Am Donnerstag, 20. Juli 2006 15:10 schrieb Pavel Golub:
>> Is it possible to create not only executable version of pg_dump and
>> pg_restore, but also libraries (.so, .dll) so developers can use them
>> freely the same as libpq client library?

PE> Currently not.




-- 
With best wishes,Pavel                          mailto:pavel@microolap.com



Re: Proposal pg_dump & pg_restore

From
Pavel Golub
Date:
Hello, Tom.

Sorry, Tom. I didn't get it.

You wrote:

TL> Pavel Golub <pavel@microolap.com> writes:
>> Is it possible to create not only executable version of pg_dump and
>> pg_restore, but also libraries (.so, .dll) so developers can use them
>> freely the same as libpq client library?

TL> system() is your friend ...

TL>                         regards, tom lane


-- 
With best wishes,Pavel                          mailto:pavel@microolap.com



Re: Proposal pg_dump & pg_restore

From
Peter Eisentraut
Date:
Am Donnerstag, 20. Juli 2006 15:10 schrieb Pavel Golub:
> Is it possible to create not only executable version of pg_dump and
> pg_restore, but also libraries (.so, .dll) so developers can use them
> freely the same as libpq client library?

Currently not.

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/


Re: Proposal pg_dump & pg_restore

From
Tom Lane
Date:
Pavel Golub <pavel@microolap.com> writes:
> Is it possible to create not only executable version of pg_dump and
> pg_restore, but also libraries (.so, .dll) so developers can use them
> freely the same as libpq client library?

system() is your friend ...
        regards, tom lane