postgresql/src/backend/utils
Andres Freund de6fd1c898 Rely on inline functions even if that causes warnings in older compilers.
So far we have worked around the fact that some very old compilers do
not support 'inline' functions by only using inline functions
conditionally (or not at all). Since such compilers are very rare by
now, we have decided to rely on inline functions from 9.6 onwards.

To avoid breaking these old compilers inline is defined away when not
supported. That'll cause "function x defined but not used" type of
warnings, but since nobody develops on such compilers anymore that's
ok.

This change in policy will allow us to more easily employ inline
functions.

I chose to remove code previously conditional on PG_USE_INLINE as it
seemed confusing to have code dependent on a define that's always
defined.

Blacklisting of compilers, like in c53f73879f, now has to be done
differently. A platform template can define PG_FORCE_DISABLE_INLINE to
force inline to be defined empty.

Discussion: 20150701161447.GB30708@awork2.anarazel.de
2015-08-05 18:19:52 +02:00
..
adt Rely on inline functions even if that causes warnings in older compilers. 2015-08-05 18:19:52 +02:00
cache Plug RLS related information leak in pg_stats view. 2015-07-28 13:21:22 -07:00
error pgindent run for 9.5 2015-05-23 21:35:49 -04:00
fmgr pgindent run for 9.5 2015-05-23 21:35:49 -04:00
hash Reorganize our CRC source files again. 2015-04-14 17:03:42 +03:00
init Fix incorrect order of lock file removal and failure to close() sockets. 2015-08-02 14:55:03 -04:00
mb Remove no-longer-required function declarations. 2015-05-24 12:20:23 -04:00
misc Cap wal_buffers to avoid a server crash when it's set very large. 2015-08-04 12:58:54 -04:00
mmgr Rely on inline functions even if that causes warnings in older compilers. 2015-08-05 18:19:52 +02:00
resowner Update copyright for 2015 2015-01-06 11:43:47 -05:00
sort Rely on inline functions even if that causes warnings in older compilers. 2015-08-05 18:19:52 +02:00
time pgindent run for 9.5 2015-05-23 21:35:49 -04:00
.gitignore Avoid maintaining three separate copies of the error codes list. 2011-02-03 22:32:49 -05:00
errcodes.txt Redesign tablesample method API, and do extensive code review. 2015-07-25 14:39:00 -04:00
Gen_dummy_probes.sed Update copyright for 2015 2015-01-06 11:43:47 -05:00
Gen_fmgrtab.pl Allow forcing nullness of columns during bootstrap. 2015-02-21 22:31:54 +01:00
generate-errcodes.pl Update copyright for 2015 2015-01-06 11:43:47 -05:00
Makefile Make handling of errcodes.h more consistent with other generated headers. 2011-02-04 09:29:10 -05:00
probes.d Update copyright for 2015 2015-01-06 11:43:47 -05:00