Skip to content

Commit

Permalink
Release 16-5.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lfittl committed Jan 9, 2024
1 parent 8b58b8a commit 1ec3894
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 1 deletion.
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,24 @@

All versions are tagged by the major Postgres version, plus an individual semver for this library itself.

## 16-5.1.0 2024-01-08

* 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

## 16-5.0.0 2023-12-22

* Update to Postgres 16.1
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ PG_VERSION_MAJOR = $(call word-dot,$(PG_VERSION),1)
PG_VERSION_NUM = 160001
PROTOC_VERSION = 25.1

VERSION = 5.0.0
VERSION = 5.1.0
VERSION_MAJOR = $(call word-dot,$(VERSION),1)
VERSION_MINOR = $(call word-dot,$(VERSION),2)
VERSION_PATCH = $(call word-dot,$(VERSION),3)
Expand Down
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ Due to compiling parts of PostgreSQL, running `make` will take a bit. Expect up

For a production build, its best to use a specific git tag (see CHANGELOG).

When compiling on Windows with Visual Studio, instead use `nmake` with the `Makefile.msvc`:

```sh
nmake /F Makefile.msvc
```


## Usage: Parsing a query

Expand Down

0 comments on commit 1ec3894

Please sign in to comment.