Commit Graph

410 Commits (76fd342496612c8432ef8f6c71794c935497d3c9)

Author SHA1 Message Date
Thomas Munro 962da900ac Use <stdint.h> and <inttypes.h> for c.h integers. 1 year ago
Thomas Munro 97525bc5c8 Require sizeof(bool) == 1. 1 year ago
Thomas Munro bc5a4dfcf7 Assume that <stdbool.h> conforms to the C standard. 1 year ago
Nathan Bossart efdc7d7475 Add INT64_HEX_FORMAT and UINT64_HEX_FORMAT to c.h. 1 year ago
Nathan Bossart f78667bd91 Use __attribute__((target(...))) for AVX-512 support. 1 year ago
Peter Eisentraut a2d9a9b95a Remove traces of BeOS. 1 year ago
Peter Eisentraut 9c2a6c5a5f Simplify checking for xlocale.h 1 year ago
John Naylor db17594ad7 Add macro to disable address safety instrumentation 2 years ago
Heikki Linnakangas 0b16bb8776 Remove AIX support 2 years ago
Bruce Momjian 29275b1d17 Update copyright for 2024 2 years ago
Heikki Linnakangas 3c080fb4fa Simplify newNode() by removing special cases 2 years ago
Thomas Munro baf7c93ed5 Define unconstify() and unvolatize() for C++. 2 years ago
Peter Eisentraut 67c0ef9752 Improve const use in zlib-using code 2 years ago
Thomas Munro faeedbcefd Introduce PG_IO_ALIGN_SIZE and align all I/O buffers. 3 years ago
Bruce Momjian c8e1ba736b Update copyright for 2023 3 years ago
Andres Freund 388e80132c perl: Hide warnings inside perl.h when using gcc compatible compiler 3 years ago
Thomas Munro 3f28bd7337 Add work-around for VA_ARGS_NARGS() on MSVC. 3 years ago
Peter Eisentraut 75f49221c2 Static assertions cleanup 3 years ago
Peter Eisentraut 2fe4c7384f Make AssertPointerAlignment available to frontend code 3 years ago
Peter Eisentraut b1099eca8f Remove AssertArg and AssertState 3 years ago
Peter Eisentraut a699b7a7aa Remove Abs() 3 years ago
Tom Lane 235eb4db98 Simplify our Assert infrastructure a little. 3 years ago
Peter Eisentraut 357cfefb09 Use C library functions instead of Abs() for int64 3 years ago
Michael Paquier ec3c9cc202 Add definition pg_attribute_aligned() for MSVC 3 years ago
Peter Eisentraut 2059c5e3b0 Move NON_EXEC_STATIC from c.h to postgres.h 3 years ago
Peter Eisentraut bd67b7e010 Remove offsetof definition 3 years ago
Peter Eisentraut 585d0cd944 Remove dummyret definition 3 years ago
Thomas Munro 077bf2f275 Remove configure probes for sys/un.h and struct sockaddr_un. 3 years ago
Andres Freund 320f92b744 Rely on __func__ being supported 3 years ago
Thomas Munro feb593506b Remove fallbacks for strtoll, strtoull. 3 years ago
Thomas Munro 9430fb407b Add wal_sync_method=fdatasync for Windows. 3 years ago
Andres Freund 089480c077 Default to hidden visibility for extension libraries where possible 3 years ago
Michael Paquier 0507977aa4 Introduce pg_attribute_nonnull(...) 4 years ago
Bruce Momjian 27b77ecf9f Update copyright for 2022 4 years ago
Peter Eisentraut 3c6f8c011f Simplify the general-purpose 64-bit integer parsing APIs 4 years ago
Tom Lane e04a8059a7 Simplify declaring variables exported from libpgcommon and libpgport. 4 years ago
Tom Lane 146cb3889c Work around issues in MinGW-64's setjmp/longjmp support. 5 years ago
Tom Lane ad2ad698ac Tweak compiler version cutoff for no_sanitize("alignment") support. 5 years ago
Alexander Korotkov 993bdb9f93 pg_attribute_no_sanitize_alignment() macro 5 years ago
Bruce Momjian ca3b37487b Update copyright for 2021 5 years ago
Tom Lane c7aba7c14e Support subscripting of arbitrary types, not only arrays. 5 years ago
David Rowley 687f616344 Stop gap fix for __attribute__((cold)) compiler bug in MinGW 8.1 5 years ago
David Rowley b0727ae99b Tidy up definitions of pg_attribute_hot and pg_attribute_cold 5 years ago
David Rowley 1fa22a43a5 Fix unportable usage of __has_attribute 5 years ago
David Rowley 697e1d02f5 Define pg_attribute_cold and pg_attribute_hot macros 5 years ago
Peter Eisentraut c617aea6ac Add pg_nodiscard function declaration specifier 5 years ago
Peter Eisentraut 73c381cee7 Add documentation link to attributes supported by Clang 5 years ago
Peter Eisentraut 39b4a95100 Use https for gnu.org links 5 years ago
Peter Eisentraut 1784f278a6 Replace remaining StrNCpy() by strlcpy() 5 years ago
Peter Eisentraut de8feb1f3a Fix -Wcast-function-type warnings 6 years ago