Skip to content

16-5.1.0

Compare
Choose a tag to compare
@lfittl lfittl released this 09 Jan 04:55
· 15 commits to 16-latest since this release
  • Add support for compiling on Windows
    • In order to build on Windows when using MSVC, use the new "Makefile.msvc"
      with nmake, or directly compile all .c files in the src folder into a library
    • If compiling directly, add src/postgres/include/port/win32 to the include path,
      and when using MSVC also add src/postgres/include/port/win32_msvc
  • Add support for compiling on 32-bit systems
    • The relevant code is enabled at compile time by checking the pointer
      size (__SIZEOF_POINTER__ == 4)
  • Move internal headers and included .c files to src/include folder
    • This avoids having any .c files in the top-level src/ folder that can't
      be directly compiled, and thus lets us simplify the logic for defining
      which source units are to be compiled.
  • Remove strnlen fallback implementation
  • Avoid use of mmap, asprintf and strndup to improve portability
  • Improve compatibility with non-POSIX systems and C89 compilers
% shasum -a 256 libpg_query-16-5.1.0.*
31f25b573da1c966bc762b0313b0a50cdd03aabdbaf666d90469eddcb1656df7  libpg_query-16-5.1.0.tar.gz
35b73753428435e1da10a7a4fc6e61fcdf1819c9527ba5515f1035697c3e0ab7  libpg_query-16-5.1.0.zip