-
Notifications
You must be signed in to change notification settings - Fork 81
Add support for PostgreSQL18 #174
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
Conversation
5e9b800 to
7d763f7
Compare
7d763f7 to
d532226
Compare
554a6d8 to
845b4b7
Compare
| #endif | ||
| #endif | ||
|
|
||
| #ifdef HAVE_LONG_INT_64 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pg17まだ#ifdef HAVE_LONG_INT_64利用しているようですね
https://github.com/postgres/postgres/blob/498b163a161e2a545a327ae5604682d5e00f3dfa/src/include/c.h#L520
こちらの修正を見ると、正しいように見えます
Use <stdint.h> and <inttypes.h> for c.h integers.
分岐とか入れたほうがよさそうですかね?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SIZEOF_LONG is defined at ./configure, regardless of the PostgreSQL version. Therefore, it is safe to use #if SIZEOF_LONG == 8 in any version of PostgreSQL.
Hi,
I have added support for PostgreSQL 18.
Please see the individual commit messages for details.
Closes #172