Commit Graph

439 Commits (795e94c70cf13f60b2cb4010f29a1bca542d2031)

Author SHA1 Message Date
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
Peter Eisentraut a513f1dfbf Remove STATUS_WAITING 6 years ago
Peter Eisentraut 8f3ec75de4 Enable Unix-domain sockets support on Windows 6 years ago
Michael Paquier faa650a99b Revert "Refactor compile-time assertion checks in c.h" 6 years ago
Michael Paquier b7f64c64d3 Refactor compile-time assertion checks in c.h 6 years ago
Tom Lane f4d59369d2 Assume that we have signed integral types and flexible array members. 6 years ago
Tom Lane 1200d71a09 Assume that we have memmove(). 6 years ago
Peter Eisentraut 957338418b Require stdint.h 6 years ago
Michael Paquier f1f10a1ba9 Add declaration-level assertions for compile-time checks 6 years ago
Peter Eisentraut c096a804d9 Remove STATUS_FOUND 6 years ago
Bruce Momjian 7559d8ebfa Update copyrights for 2020 6 years ago
Peter Eisentraut 4513d8b07b Move configure --disable-float8-byval to pg_config_manual.h 6 years ago
Tom Lane 7a0574b50e Fix ecpglib.h to declare bool consistently with c.h. 6 years ago
Tom Lane a7145f6bc8 Fix integer-overflow edge case detection in interval_mul and pgbench. 6 years ago
Peter Eisentraut effa40281b Remove HAVE_LONG_LONG_INT 6 years ago
Noah Misch b804521344 Fix copy-paste defect in comment. 6 years ago
Michael Paquier a7471bd85c Update some outdated links about XLC and UNIX specification 6 years ago
Peter Eisentraut d78d452bc5 Improve Assert output 6 years ago
Tom Lane 8255c7a5ee Phase 2 pgindent run for v12. 7 years ago
Michael Paquier 7e19929ea2 Fix duplicated words in comments 7 years ago
Peter Eisentraut 481018f280 Add macro to cast away volatile without allowing changes to underlying type 7 years ago
Andrew Gierth d26a810ebf Use an unsigned char for bool if we don't use the native bool. 7 years ago