Commit Graph

309 Commits (ec3a4375961abaa209116162966bc7af2d51148a)

Author SHA1 Message Date
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
Tom Lane 9cfc4deeb9 Make CppAsString2() more visible in c.h. 9 years ago
Tom Lane b6aa17e0ae De-support floating-point timestamps. 9 years ago
Heikki Linnakangas 181bdb90ba Fix typos in comments. 9 years ago
Robert Haas 7b4ac19982 Extend index AM API for parallel index scans. 9 years ago
Bruce Momjian 1d25779284 Update copyright via script for 2017 9 years ago
Andres Freund aa3ca5e3dd Add likely/unlikely() branch hint macros. 9 years ago
Andres Freund 80abbeba23 Make init_spin_delay() C89 compliant and change stuck spinlock reporting. 10 years ago
Bruce Momjian ee94300446 Update copyright for 2016 10 years ago
Tom Lane a65e086453 Remove support for Unix systems without the POSIX signal APIs. 10 years ago
Tom Lane 0f19d0f12f Remove long-dead support for platforms without sig_atomic_t. 10 years ago
Andres Freund 5a33650f24 Attempt to work around a 32bit xlc compiler bug from a different place. 11 years ago
Andres Freund de6fd1c898 Rely on inline functions even if that causes warnings in older compilers. 11 years ago
Heikki Linnakangas fa60fb63e5 Fix more typos in comments. 11 years ago
Andres Freund 62e2a8dc2c Define integer limits independently from the system definitions. 11 years ago
Tom Lane 785941cdc3 Tweak __attribute__-wrapping macros for better pgindent results. 11 years ago
Andres Freund 83ff1618bc Centralize definition of integer limits. 11 years ago
Andres Freund 8122e1437e Add, optional, support for 128bit integers. 11 years ago
Andres Freund bbfd7edae5 Add macros wrapping all usage of gcc's __attribute__. 11 years ago
Tom Lane e38b1eb098 Use FLEXIBLE_ARRAY_MEMBER in struct varlena. 11 years ago
Tom Lane 09d8d110a6 Use FLEXIBLE_ARRAY_MEMBER in a bunch more places. 11 years ago
Andres Freund ed127002d8 Align buffer descriptors to cache line boundaries. 11 years ago
Bruce Momjian 4baaf863ec Update copyright for 2015 11 years ago
Andres Freund 9959abb012 Define Assert() et al to ((void)0) to avoid pedantic warnings. 11 years ago
Andres Freund b64d92f1a5 Add a basic atomic ops API abstracting away platform/architecture details. 11 years ago
Heikki Linnakangas ce486056ec Add #define INT64_MODIFIER for the printf length modifier for 64-bit ints. 12 years ago
Andres Freund 3bdcf6a5a7 Don't allow to disable backend assertions via the debug_assertions GUC. 12 years ago
Bruce Momjian 0a78320057 pgindent run for 9.4 12 years ago
Andrew Dunstan b64d956d58 Prevent double macro definition of WIN32. 12 years ago
Magnus Hagander 9c14dd22e1 Define WIN32 when _WIN32 is set 12 years ago
Bruce Momjian 7e04792a1c Update copyright for 2014 12 years ago
Peter Eisentraut 34fa72ec9c Remove use of obsolescent Autoconf macros 12 years ago
Noah Misch 709170b790 Consistently use unsigned arithmetic for alignment calculations. 12 years ago
Heikki Linnakangas 5962519b36 TYPEALIGN doesn't work on int64 on 32-bit platforms. 12 years ago
Robert Haas 71901ab6da Introduce InvalidCommandId. 12 years ago
Robert Haas 5ee73525d5 Define Trap and TrapMacro even in non-cassert builds. 13 years ago
Bruce Momjian 9af4159fce pgindent run for release 9.3 13 years ago
Alvaro Herrera a40d09e27f Move ExceptionalCondition back to postgres.h 13 years ago
Alvaro Herrera 381d4b70a9 Clean up c.h / postgres.h after Assert() move 13 years ago
Alvaro Herrera e1d25de35a Move Assert() definitions to c.h 13 years ago
Heikki Linnakangas 52906f175a Implement pg_unreachable() on MSVC. 13 years ago
Tom Lane b853eb9718 Improve handling of ereport(ERROR) and elog(ERROR). 13 years ago