Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 16-5.1.0 #236

Merged
merged 1 commit into from
Jan 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading