Commit Graph

350 Commits (b55413d77f96b9fa2dfae4ddec43412b90ebf588)

Author SHA1 Message Date
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
Bruce Momjian 97c39498e5 Update copyright for 2019 7 years ago
Peter Eisentraut f2898de98a Improve unconstify() documentation 7 years ago
Andres Freund d1211c63f0 Add macro to cast away const without allowing changes to underlying type. 7 years ago
Tom Lane c87cb5f7a6 Allow btree comparison functions to return INT_MIN. 7 years ago
Tom Lane 96bf88d527 Always use our own versions of *printf(). 7 years ago
Tom Lane 4f3b38fe2b Get rid of explicit argument-count markings in tab-complete.c. 7 years ago
Tom Lane 44cac93464 Avoid using potentially-under-aligned page buffers. 7 years ago
Tom Lane 46b5e7c4b5 Revert "Distinguish printf-like functions that support %m from those that don't." 7 years ago
Tom Lane 3a60c8ff89 Distinguish printf-like functions that support %m from those that don't. 7 years ago
Tom Lane 06f66cff9e Support platforms where strtoll/strtoull are spelled __strtoll/__strtoull. 8 years ago
Tom Lane a6228128fc Arrange to supply declarations for strtoll/strtoull if needed. 8 years ago
Peter Eisentraut 7ba7986fb4 Fix interaction of Perl and stdbool.h 8 years ago
Peter Eisentraut 9a95a77d9d Use stdbool.h if suitable 8 years ago
Peter Eisentraut ebf6049ebe Fix StaticAssertExpr() under C++ 8 years ago
Tom Lane 51940f9760 Cast to void in StaticAssertExpr, not its callers. 8 years ago
Tom Lane 03c5a00ea3 Move the extern declaration for ExceptionalCondition into c.h. 8 years ago
Tom Lane 434e6e1484 Improve implementation of pg_attribute_always_inline. 8 years ago
Bruce Momjian 9d4649ca49 Update copyright for 2018 8 years ago
Peter Eisentraut a2c8e5cfdb Add support for static assertions in C++ 8 years ago
Andres Freund dbb3d6f010 Add pg_attribute_always_inline. 8 years ago
Tom Lane ed9b3606da Further refactoring of c.h and nearby files. 8 years ago
Peter Eisentraut 6337865f36 Remove TRUE and FALSE 8 years ago
Tom Lane 7518049980 Prevent int128 from requiring more than MAXALIGN alignment. 8 years ago
Tom Lane 91aec93e60 Rearrange c.h to create a "compiler characteristics" section. 8 years ago
Peter Eisentraut 2eb4a831e5 Change TRUE/FALSE to true/false 8 years ago
Tom Lane 82aff8d336 gcc's support for __attribute__((noinline)) hasn't been around forever. 8 years ago
Andres Freund a0247e7a11 Add pg_noinline macro to c.h. 8 years ago
Tom Lane 85feb77aa0 Assume wcstombs(), towlower(), and sibling functions are always present. 8 years ago
Peter Eisentraut 8951c65df2 Remove BoolPtr type 8 years ago
Peter Eisentraut 153a49bb33 Remove endof macro 8 years ago
Peter Eisentraut ba26f5cf76 Remove our own definition of NULL 8 years ago
Tom Lane 9d6b160d7d Make [U]INT64CONST safe for use in #if conditions. 8 years ago
Tom Lane b79d69b087 Ensure SIZE_MAX can be used throughout our code. 8 years ago
Heikki Linnakangas ac883ac453 Fix shm_toc.c to always return buffer-aligned memory. 8 years ago
Tom Lane c7b8998ebb Phase 2 of pgindent updates. 9 years ago
Tom Lane e3860ffa4d Initial pgindent run with pg_bsd_indent version 2.0. 9 years ago
Bruce Momjian a6fd7b7a5f Post-PG 10 beta1 pgindent run 9 years ago
Noah Misch 9d7726c2ba Recommend wrappers of PG_DETOAST_DATUM_PACKED(). 9 years ago
Noah Misch 9e0926468a Fix comment about length of text, bytea, etc. 9 years ago