README
Upload User: blenddy
Upload Date: 2007-01-07
Package Size: 6495k
Code Size: 1k
Category:

Database system

Development Platform:

Unix_Linux

  1. 19981029  libpq.a and psql.exe Version 6.4 for OS/2 
  2. ---------------------------------------------------
  3. Requirements:
  4. emx 0.9c or newer under OS/2
  5. GNU crypt library for emx+gcc version 2.0.6 (available from 
  6.   ftp://ftp.leo.org/pub/comp/os/os2/leo/crypt/gnuufc.zip)
  7. Also a patch is needed for sys/socket.h around line 291.  The lines
  8. with the pluses need to be added, the other lines are already there
  9. and are only for reference:
  10. #define MT_IFADDR       13
  11. +#ifndef MAXSOCKETS
  12. +#define MAXSOCKETS 2048
  13. +#endif
  14. struct mbstat {
  15.         u_short         m_mbufs;
  16.         u_short         m_clusters;
  17. Possible problems:
  18.   You will also need to #define TCPIPV4
  19.   Make sure both socket.a and ufc.a are linked in to the executable 
  20. AFTER libpq.a.
  21. The following include files will be needed in order to use the library.
  22. You only need to include one (libpq-fe.h) but these need to be present:
  23. postgres_ext.h
  24. libpq/pqcomm.h
  25. lib/dllist.h"
  26. c.h
  27. Good luck and enjoy!!
  28. Vince Vielhaber <vev@michvhf.com>