postgresql/src/backend/tcop
Thomas Munro bdb657edd6 Remove configure probe and related tests for getrlimit.
getrlimit() is in SUSv2 and all targeted systems have it.

Windows doesn't have it.  We could just use #ifndef WIN32, but for a
little more explanation about why we're making things conditional, let's
retain the HAVE_GETRLIMIT macro.  It's defined in port.h for Unix systems.

On systems that have it, it's not necessary to test for RLIMIT_CORE,
RLIMIT_STACK or RLIMIT_NOFILE macros, since SUSv2 requires those and all
targeted systems have them.  Also remove references to a pre-historic
alternative spelling of RLIMIT_NOFILE, and coding that seemed to believe
that Cygwin didn't have it.

Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Reviewed-by: Andres Freund <andres@anarazel.de>
Discussion: https://postgr.es/m/CA+hUKGJ3LHeP9w5Fgzdr4G8AnEtJ=z=p6hGDEm4qYGEUX5B6fQ@mail.gmail.com
2022-08-05 09:18:34 +12:00
..
Makefile Represent command completion tags as structs 2020-03-02 18:19:51 -03:00
cmdtag.c Add 'static' to file-local variables missing it. 2022-05-12 12:39:33 -07:00
dest.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
fastpath.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
postgres.c Remove configure probe and related tests for getrlimit. 2022-08-05 09:18:34 +12:00
pquery.c Add support for MERGE SQL command 2022-03-28 16:47:48 +02:00
utility.c Rename pg_checkpointer predefined role to pg_checkpoint. 2022-07-05 13:31:42 -04:00