"Rocco Altier" <RoccoA@Routescape.com> writes:
> You propose making it similar to libpq. By that do you mean breaking it
> into 2 separate diretories - backend/libpq & interfaces/libpq - so that
> we create the libraries pgport and pgport_srv from different directories
> - possibly using the existing backend/port and port?
No, I'm talking about just importing the individual source files that
are needed and compiling them with -fpic enabled as part of the module
that needs them. Look at what libpq does with pgstrcasecmp.c, or what
I just made the regression test module do with pgsleep.c.
regards, tom lane