You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Tom Lane
a73d083195
Modernize our code for looking up descriptive strings for Unix signals.
...
At least as far back as the 2008 spec, POSIX has defined strsignal(3)
for looking up descriptive strings for signal numbers. We hadn't gotten
the word though, and were still using the crufty old sys_siglist array,
which is in no standard even though most Unixen provide it.
Aside from not being formally standards-compliant, this was just plain
ugly because it involved #ifdef's at every place using the code.
To eliminate the #ifdef's, create a portability function pg_strsignal,
which wraps strsignal(3) if available and otherwise falls back to
sys_siglist[] if available. The set of Unixen with neither API is
probably empty these days, but on any platform with neither, you'll
just get "unrecognized signal". All extant callers print the numeric
signal number too, so no need to work harder than that.
Along the way, upgrade pg_basebackup's child-error-exit reporting
to match the rest of the system.
Discussion: https://postgr.es/m/25758.1544983503@sss.pgh.pa.us
8 years ago
..
access
Create a separate oid range for oids assigned by genbki.pl.
8 years ago
bootstrap
Remove WITH OIDS support, change oid catalog column visibility.
8 years ago
catalog
Make pg_statistic and related code account more honestly for collations.
8 years ago
commands
Make pg_statistic and related code account more honestly for collations.
8 years ago
common
Add application_name to connection authorized msg
8 years ago
datatype
…
executor
Remove WITH OIDS support, change oid catalog column visibility.
8 years ago
fe_utils
Add CSV table output mode in psql.
8 years ago
foreign
Introduce new extended routines for FDW and foreign server lookups
8 years ago
jit
Make TupleTableSlots extensible, finish split of existing slot type.
8 years ago
lib
Rename rbtree.c functions to use "rbt" prefix not "rb" prefix.
8 years ago
libpq
Add settings to control SSL/TLS protocol version
8 years ago
mb
Fix a boatload of typos in C comments.
8 years ago
nodes
Remove WITH OIDS support, change oid catalog column visibility.
8 years ago
optimizer
Drop no-op CoerceToDomain nodes from expressions at planning time.
8 years ago
parser
Remove WITH OIDS support, change oid catalog column visibility.
8 years ago
partitioning
Reduce unnecessary list construction in RelationBuildPartitionDesc.
8 years ago
port
Avoid defining SIGTTIN/SIGTTOU on Windows.
8 years ago
portability
instr_time.h: add INSTR_TIME_SET_CURRENT_LAZY
8 years ago
postmaster
Refactor pid, random seed and start time initialization.
8 years ago
regex
…
replication
Add timestamp of last received message from standby to pg_stat_replication
8 years ago
rewrite
Revert MERGE patch
8 years ago
snowball
Sync our Snowball stemmer dictionaries with current upstream.
8 years ago
statistics
Make pg_statistic and related code account more honestly for collations.
8 years ago
storage
Add WL_EXIT_ON_PM_DEATH pseudo-event.
8 years ago
tcop
Fix event triggers for partitioned tables
8 years ago
tsearch
Post-feature-freeze pgindent run.
8 years ago
utils
Make pg_statistic and related code account more honestly for collations.
8 years ago
.gitignore
Refactor dlopen() support
8 years ago
Makefile
Refactor dlopen() support
8 years ago
c.h
Improve unconstify() documentation
8 years ago
fmgr.h
…
funcapi.h
Clean up in the wake of TupleDescGetSlot() removal / 10763358c3.
8 years ago
getaddrinfo.h
…
getopt_long.h
…
miscadmin.h
Refactor pid, random seed and start time initialization.
8 years ago
pg_config.h.in
Modernize our code for looking up descriptive strings for Unix signals.
8 years ago
pg_config.h.win32
Modernize our code for looking up descriptive strings for Unix signals.
8 years ago
pg_config_ext.h.in
…
pg_config_ext.h.win32
…
pg_config_manual.h
Improve error reporting for unsupported effective_io_concurrency setting.
8 years ago
pg_getopt.h
…
pg_trace.h
…
pgstat.h
Add pg_promote function
8 years ago
pgtar.h
…
pgtime.h
…
port.h
Modernize our code for looking up descriptive strings for Unix signals.
8 years ago
postgres.h
Detoast plpgsql variables if they might live across a transaction boundary.
8 years ago
postgres_ext.h
…
postgres_fe.h
…
rusagestub.h
…
windowapi.h
…