Skip to content

Commit 5ed85ef

Browse files
authored
Update libpg_query to 15-4.2.3 (#96)
* Update `libpg_query` to `15-4.2.3` * Update `CHANGELOG.md`
1 parent 910915b commit 5ed85ef

File tree

7 files changed

+10693
-10638
lines changed

7 files changed

+10693
-10638
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,16 @@
55
* ...
66

77

8+
## 4.2.3 2023-08-04
9+
10+
* Update to libpg_query 15-4.2.3, including changes from 15-4.2.2
11+
- Fix builds when compiling with `glibc >= 2.38` [#203](https://github.com/pganalyze/libpg_query/pull/203)
12+
- Deparser: Add support for COALESCE and other expressions in LIMIT clause [#199](https://github.com/pganalyze/libpg_query/pull/199)
13+
- Deparser: Add support for multi-statement CREATE PROCEDURE definitions [#197](https://github.com/pganalyze/libpg_query/pull/197)
14+
- Deparser: Correctly quote identifier in ALTER TABLE ... ADD CONSTRAINT [x] [#196](https://github.com/pganalyze/libpg_query/pull/196)
15+
- Deparser: Add support for index fillfactor within CREATE TABLE, fix SHOW ALL [#193](https://github.com/pganalyze/libpg_query/pull/193)
16+
- Deparser: Move to dedicated file for easier inclusion in third-party projects [#192](https://github.com/pganalyze/libpg_query/pull/192)
17+
818
## 4.2.1 2023-05-25
919

1020
* Update to libpg_query 15-4.2.1 ([#85](https://github.com/pganalyze/pg_query_go/pull/85))

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ benchmark:
1616

1717
# --- Below only needed for releasing new versions
1818

19-
LIB_PG_QUERY_TAG = 15-4.2.1
19+
LIB_PG_QUERY_TAG = 15-4.2.3
2020

2121
root_dir := $(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))
2222
LIB_TMPDIR = $(root_dir)/tmp

parser/include/pg_config.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1032,6 +1032,7 @@
10321032
#undef HAVE__GET_CPUID
10331033
#undef USE_ARMV8_CRC32C
10341034
#undef USE_SSE42_CRC32C_WITH_RUNTIME_CHECK
1035-
#if defined(__FreeBSD__) || defined(__NetBSD__)
1035+
#include <stdlib.h>
1036+
#if defined(__FreeBSD__) || defined(__NetBSD__) || (defined(__GLIBC__) && ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 38) || __GLIBC__ > 2))
10361037
#define HAVE_STRCHRNUL
10371038
#endif

0 commit comments

Comments
 (0)