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