Re: Problem with win 32 libpq calls
От | Merlin Moncure |
---|---|
Тема | Re: Problem with win 32 libpq calls |
Дата | |
Msg-id | 6EE64EF3AB31D5448D0007DD34EEB34101AD3B@Herge.rcsinc.local обсуждение исходный текст |
Ответ на | Problem with win 32 libpq calls (Daniel Gerardo Lucero Baylon <daniel_baylon@yahoo.com>) |
Список | pgsql-hackers-win32 |
1. What version windows? If by some oddball chance you are still using windows 95, you need to get winsock 2, and strongly consider upgrading your OS. 2. What version postgres? If you are using the cvs sources, their may be some unresolved issues wrt the windows port. Stick to the official 7.4.1 for compiling psql. 3. If you are still stumped, consider trying to use the internet services when your application loads (like resolving yahoo.com in gethostbyname() ). This will load up the winsock dlls which are sometimes demand loaded. If all else fails, bite the bullet and call WSAStartup and see what happens. Merlin > -----Original Message----- > From: pgsql-hackers-win32-owner@postgresql.org [mailto:pgsql-hackers- > win32-owner@postgresql.org] On Behalf Of Daniel Gerardo Lucero Baylon > Sent: Wednesday, February 11, 2004 6:11 PM > To: pgsql-hackers-win32@postgresql.org > Subject: [pgsql-hackers-win32] Problem with win 32 libpq calls > > I compiled a C program which uses libpq on Win 32. > > When call PQconnectdb function and retrieves error message > (PQerrorMessage), > this is error function returns: > > "could not create socket: WSAStartup not yet called (0x0000276D/10093)" > > I don't know what error means. > > I appreciate some help > > Best Regards. > > __________________________________ > Do you Yahoo!? > Yahoo! Finance: Get your refund fast by filing online. > http://taxes.yahoo.com/filing.html > > ---------------------------(end of broadcast)--------------------------- > TIP 9: the planner will ignore your desire to choose an index scan if your > joining column's datatypes do not match
В списке pgsql-hackers-win32 по дате отправления: