Commit Graph

439 Commits (795e94c70cf13f60b2cb4010f29a1bca542d2031)

Author SHA1 Message Date
Peter Eisentraut 795e94c70c Make <assert.h> consistently available in frontend and backend 6 days ago
Tom Lane 0909380e4c Allow PG_PRINTF_ATTRIBUTE to be different in C and C++ code. 7 days ago
Heikki Linnakangas bd8d9c9bdf Widen MultiXactOffset to 64 bits 1 week ago
Peter Eisentraut 1b2bb5077e Change Pointer to void * 2 weeks ago
Peter Eisentraut d4c0f91f7d C11 alignas instead of unions -- extended alignments 3 weeks ago
Peter Eisentraut 97e04c74be C11 alignas instead of unions 4 weeks ago
Peter Eisentraut 300c8f5324 Add <stdalign.h> to c.h 4 weeks ago
David Rowley 586d63214e Adjust MemSet macro to use size_t rather than long 1 month ago
Jeff Davis 3853a6956c Use C11 char16_t and char32_t for Unicode code points. 2 months ago
Peter Eisentraut f0f2c0c1ae Replace pg_restrict by standard restrict 2 months ago
Peter Eisentraut c094be259b Remove obsolete comment 2 months ago
Peter Eisentraut 8e2acda2b0 Rename pg_builtin_integer_constant_p to pg_integer_constant_p 3 months ago
David Rowley 59c2f03d1e Teach MSVC that elog/ereport ERROR doesn't return 3 months ago
Peter Eisentraut a5b35fcedb Remove PointerIsValid() 3 months ago
Nathan Bossart 18cdf5932a Fix obsolete references to postgres.h in comments. 3 months ago
Peter Eisentraut 25f36066dd Remove traces of support for Sun Studio compiler 3 months ago
Peter Eisentraut 4fbe015145 Remove checks for no longer supported GCC versions 3 months ago
Tom Lane ee54046601 Grab the low-hanging fruit from forcing USE_FLOAT8_BYVAL to true. 4 months ago
Peter Eisentraut 73d33be4da Remove INT64_HEX_FORMAT and UINT64_HEX_FORMAT 4 months ago
Andres Freund d65eb5b1b8 Add pg_assume(expr) macro 5 months ago
Peter Eisentraut 8fd9bb1d96 Enable MSVC conforming preprocessor 6 months ago
Andrew Dunstan 8f5e419484 Revert "Use workaround of __builtin_setjmp only on MINGW on MSVCRT" 8 months ago
Andrew Dunstan c313fa4602 Use workaround of __builtin_setjmp only on MINGW on MSVCRT 9 months ago
Peter Eisentraut 2247281c47 Cast result of i64abs() back to int64 9 months ago
Peter Eisentraut 05cbd6cb22 Swap order of extern/static and pg_nodiscard 9 months ago
Peter Eisentraut 3691edfab9 pg_noreturn to replace pg_attribute_noreturn() 9 months ago
Peter Eisentraut 74938d1320 IWYU widely useful pragmas 11 months ago
Bruce Momjian 50e6eb731d Update copyright for 2025 12 months ago
Thomas Munro 71cb352904 Fix header inclusion order in c.h. 1 year ago
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