"Rocco Altier" <[EMAIL PROTECTED]> 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 ---------------------------(end of broadcast)--------------------------- TIP 1: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get through to the mailing list cleanly