postgresql/src/include/common
Tom Lane e04a8059a7 Simplify declaring variables exported from libpgcommon and libpgport.
This reverts commits c2d1eea9e and 11b500072, as well as similar hacks
elsewhere, in favor of setting up the PGDLLIMPORT macro so that it can
just be used unconditionally.  That can work because in frontend code,
we need no marking in either the defining or consuming files for a
variable exported from these libraries; and frontend code has no need
to access variables exported from the core backend, either.

While at it, write some actual documentation about the PGDLLIMPORT
and PGDLLEXPORT macros.

Patch by me, based on a suggestion from Robert Haas.

Discussion: https://postgr.es/m/1160385.1638165449@sss.pgh.pa.us
2021-11-29 11:00:00 -05:00
..
archive.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
base64.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
checksum_helper.h Fix and simplify some code related to cryptohashes 2021-01-08 10:37:03 +09:00
config_info.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
connect.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
controldata_utils.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
cryptohash.h Add result size as argument of pg_cryptohash_final() for overflow checks 2021-02-15 10:18:34 +09:00
fe_memutils.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
file_perm.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
file_utils.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
hashfn.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
hmac.h Adjust locations which have an incorrect copyright year 2021-06-04 12:19:50 +12:00
int.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
int128.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
ip.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
jsonapi.h Improve reporting for syntax errors in multi-line JSON data. 2021-03-01 16:44:17 -05:00
keywords.h Simplify declaring variables exported from libpgcommon and libpgport. 2021-11-29 11:00:00 -05:00
kwlookup.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
link-canary.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
logging.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
md5.h Refactor HMAC implementations 2021-04-03 17:30:49 +09:00
openssl.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
pg_lzcompress.h Optimize partial TOAST decompression 2019-10-01 14:28:28 +02:00
pg_prng.h Simplify declaring variables exported from libpgcommon and libpgport. 2021-11-29 11:00:00 -05:00
relpath.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
restricted_token.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
saslprep.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
scram-common.h Refactor HMAC implementations 2021-04-03 17:30:49 +09:00
sha1.h Adjust locations which have an incorrect copyright year 2021-06-04 12:19:50 +12:00
sha2.h Revert refactoring of hex code to src/common/ 2021-08-19 09:20:13 +09:00
shortest_dec.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
string.h Provide a variant of simple_prompt() that can be interrupted by ^C. 2021-11-17 19:09:54 -05:00
unicode_combining_table.h Update Unicode data to Unicode 14.0.0 2021-09-15 08:16:44 +02:00
unicode_east_asian_fw_table.h Update Unicode data to Unicode 14.0.0 2021-09-15 08:16:44 +02:00
unicode_norm.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
unicode_norm_hashfunc.h Update Unicode data to Unicode 14.0.0 2021-09-15 08:16:44 +02:00
unicode_norm_table.h Update Unicode data to Unicode 14.0.0 2021-09-15 08:16:44 +02:00
unicode_normprops_table.h Update Unicode data to Unicode 14.0.0 2021-09-15 08:16:44 +02:00
username.h Update copyright for 2021 2021-01-02 13:06:25 -05:00