SCM

File Release Notes and Changelog

Release Name: libpqtypes v1.3.0

Release Notes

NOTE: For 8.3.x support, see the libpq-events patch.

Lots of changes, ranging from platform specific fixes 
(like AIX and Unixware) to new API functions like
PQparamCount.

libpqtypes has been tested on (it may work on other platforms):

Windows 2000, XP, Vista, 2003 server, 2008 server 
  - MSVC 6, MSVC 7, MSVC 8, MINGW, CYGWIN support
Linux 2.4 - 2.6 kernels (redhat/centos/gentoo/ubuntu/suse) 
OSX (darwin) 10.4 and 10.5 
FreeBSD 6.3
Solaris 2.5.1 and 9 SPARC
Solaris 8 and 10 Intel
SCO OpenServer 5
SCO UnixWare 7.1.4
AIX 4.3 POWER3, 6.2 POWER4
HPUX 10.20 PA-RISC, 11.23 IA64 (Itanium) 

Change Log

Feb 03, 2009 v1.3.0
- The internal put_int2 and put_int4 type handlers were passing a va_arg
  call as an argument to the pqt_buf_putint2 and pqt_buf_putint4 macros.
  This corrupted the value being put on UnixWare 7.1.4.  The return
  of va_arg is now stored in a local variable that is passed to 
  one of the putintX macros.
- Renamed PGinet sa_len member since it conflicts with some systems.
  For instance: SCO UnixWare defines a sa_len macro in sys/socket.h
  #define sa_len sa_un.sa_s.sa_saus_len
  Renamed it to sa_buf_len and changed all references.
- network.c had an issue with struct sockaddr not being zero'd on AIX.
  This caused all inet/cidr tests to fail.  Update regresion-test.c
  with similar fixes.
- AI_NUMERICHOST defined if not available in network.c.  If getaddrinfo
  fails with EAI_BADFLAGS, its tried again w/o numeric host.
- AIX defaults to an unsigned char, which broke "char" type handling.
  Changed PGchar typedef to signed char and added the GCC option
  -fsigned-char to configure.ac.
- Changed the return type of PQgeterror from a const char* to a char*.
  Having it be const served no purpose.
- Added PQparamCount which returns the number of parameters in a PGparam.
  Added PQparamCount.3 man page and updated Makefile.
- Made errFields implementation more memory efficient by allocating all
  fields as a single reusable buffer.
- Reformatted code to match PostgreSQL Project.  This changed every
  source file so take note when looking at CVS diffs.
- Defined HAVE_VSNPRINTF in port.c when compiling for mingw or cygwin.
- Fixed man page errors in PQputf and pqt-handlers.
- Updated INSTALL file to include the 'install' and uninstall' targets.
- Makefile.am (unix make) now installs PQgetErrorField man page.
- Update copyright notices to reflect 2009: source files, LICENSE
  and man pages.
- Removed typeargs state flag PUT_STATE_FREEOUT from param.c since it
  is no longer used.
Powered By FusionForge