Re: Proposal pg_dump & pg_restore

Lists: pgsql-interfaces
From: Pavel Golub <pavel(at)microolap(dot)com>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: Proposal pg_dump & pg_restore
Date: 2006-07-20 13:10:07
Message-ID: 2746704.20060720161007@microolap.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-interfaces

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(at)microolap(dot)com


From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Pavel Golub <pavel(at)microolap(dot)com>
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: Proposal pg_dump & pg_restore
Date: 2006-07-20 14:59:39
Message-ID: 27362.1153407579@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-interfaces

Pavel Golub <pavel(at)microolap(dot)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


From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-interfaces(at)postgresql(dot)org, Pavel Golub <pavel(at)microolap(dot)com>
Subject: Re: Proposal pg_dump & pg_restore
Date: 2006-07-20 15:56:30
Message-ID: 200607201756.30788.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-interfaces

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/


From: Pavel Golub <pavel(at)microolap(dot)com>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: Proposal pg_dump & pg_restore
Date: 2006-07-20 17:07:25
Message-ID: 75716490.20060720200725@microolap.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-interfaces

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(at)microolap(dot)com


From: Pavel Golub <pavel(at)microolap(dot)com>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: Proposal pg_dump & pg_restore
Date: 2006-07-20 17:08:20
Message-ID: 1869798351.20060720200820@microolap.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-interfaces

Hello, Tom.

Sorry, Tom. I didn't get it.

You wrote:

TL> Pavel Golub <pavel(at)microolap(dot)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(at)microolap(dot)com