Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: [PORTS] porting libpq?

From: Ariel Manzur <puntob(at)gmail.com>
Date: Sat Jan 05 2008 - 15:17:14 EST


On Jan 5, 2008 3:13 PM, Bruce Momjian <bruce@momjian.us> wrote:
> Ariel Manzur wrote:
> > Hi..
> >
> > I need to port libpq to a platform that doesn't have a POSIX-like
> > network API, so I was wondering if the network usage on libpq was
> > layered somehow? I noticed that it has code for win32, so I guess
> > there's something, but I didn't see much. Is there any documentation
> > on how to do this?
>
> There is no documentation I know of about porting libpq to other
> platforms. It normally "just works", with some adjustments for Win32,
> as you mentioned. If you are more specific about problems you are
> having we can help.

No "problems" yet, just looking at what I need to get started.. I noticed that it includes other libraries like openssl.h and krb5.h, do any of those make their own calls to the posix network api? Also, is it supposed to also work with filesystem sockets too?

I've been looking at the code and I see there's calls to send, recv, socket, etc directly, so I guess I'll have to isolate them myself.. It seems to include pthreads too, but it looks like it should be easy to replace.

Thanks for the reply..

Ariel.

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
       subscribe-nomail command to majordomo@postgresql.org so that your
       message can get through to the mailing list cleanly
Received on Sat Jan 5 15:18:59 2008

This archive was generated by hypermail 2.1.8 : Wed Jun 18 2008 - 23:39:11 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library