summaryrefslogtreecommitdiff
path: root/src/interfaces/libpq/libpqdll.c
Commit message (Collapse)AuthorAgeFilesLines
* Add CVS tag lines to files that were lacking them.Bruce Momjian2006-03-111-0/+2
|
* Hello, i noticed that win32 native stopped working/compiling after the SSL mergeBruce Momjian2002-07-201-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | . So i took the opportunity to fix some stuff: 1. Made the thing compile (typos & needed definitions) with the new pqsecure_* s tuff, and added fe-secure.c to the win32.mak makefile. 2. Fixed some MULTIBYTE compile errors (when building without MB support). 3. Made it do that you can build with debug info: "nmake -f win32.mak DEBUG=1". 4. Misc small compiler speedup changes. The resulting .dll has been tested in production, and everything seems ok. I CC:ed -hackers because i'm not sure about two things: 1. In libpq-int.h I typedef ssize_t as an int because Visual C (v6.0) doesn't de fine ssize_t. Is that ok, or is there any standard about what type should be use d for ssize_t? 2. To keep the .dll api consistent regarding MULTIBYTE I just return -1 in fe-connect.c:PQsetClientEncoding() instead of taking away the whole function. I wonder if i should do any compares with the conn->client_encoding and return 0 if not hing would have changed (if so how do i check that?). Regards Magnus Naeslund
* Load netmsg.dll locally in winsock_strerror, to avoid actual andTom Lane2001-11-281-5/+1
| | | | potential problems discussed in pgsql-interfaces.
* pgindent run on all C files. Java run to follow. initdb/regressionBruce Momjian2001-10-251-5/+3
| | | | tests pass.
* > Ok, where's a "system dependent hack" :)Bruce Momjian2001-08-211-0/+6
| | | | | | | | | | | | | | | | | | | | > It seems that win9x doesn't have the "netmsg.dll" so it defaults to "normal" > FormatMessage. > I wonder if one could load wsock32.dll or winsock.dll on those systems > instead of netmsg.dll. > > Mikhail, could you please test this code on your nt4 system? > Could someone else test this code on a win98/95 system? > > It works on win2k over here. It works on win2k here too but not on win98/95 or winNT. Anyway, attached is the patch which uses Magnus's my_sock_strerror function (renamed to winsock_strerror). The only difference is that I put the code to load and unload netmsg.dll in the libpqdll.c (is this OK Magnus?). Mikhail Terekhov
* pgindent run over code.Bruce Momjian1999-05-251-5/+10
|
* Hello!Bruce Momjian1998-10-081-0/+17
| | | | | | | | | | | | | | | | | | | Here are two new patches for the Win32 support. 1) The patch based on the one from Hiroshi Inoue [Inoue@tpf.co.jp], to load Winsock.dll from libpq.dll. 2) A patch for psql.c to remove the call to WSAStartup(), since it is not required when it's done in libpq.dll. I'm still looking for the possibility of having a crypt() function in libpq.dll too, the same way getopt was included. Any chance of getting this before 6.4, or should we wait for the next one? //Magnus
* OK, folks, here is the pgindent output.Bruce Momjian1998-09-011-2/+4
|
* Renaming cleanup, no pgindent yet.Bruce Momjian1998-09-011-1/+1
|
* Hello!Bruce Momjian1998-07-031-0/+6
Through some minor changes, I have been able to compile the libpq client libraries on the Win32 platform. Since the libpq communications part has been rewritten, this has become much easier. Enclosed is a patch that will allow at least Microsoft Visual C++ to compile libpq into both a static and a dynamic library. I will take a look at porting the psql frontend as well, but I figured it was a good idea to send in these patches first - so no major changes are done to the files before it gets applied (if it does). Regards, Magnus Hagander