Add missing includes for some global variables

Peter Eisentraut <peter@eisentraut.org>

Commit: 881455e57b1210174b89bb3b13cad6b30b236d50
Author: Peter Eisentraut <peter@eisentraut.org>
Date: 2024-07-02T05:26:22Z
Releases: 18.0
Add missing includes for some global variables

src/backend/libpq/pqcomm.c: "postmaster/postmaster.h" for Unix_socket_group, Unix_socket_permissions
src/backend/utils/init/globals.c: "postmaster/postmaster.h" for MyClientSocket
src/backend/utils/misc/guc_tables.c: "utils/rls.h" for row_security
src/backend/utils/sort/tuplesort.c: "utils/guc.h" for trace_sort

Nothing currently diagnoses missing includes for global variables, but
this is being cleaned up, and these ones had an obvious header file
available.

Reviewed-by: Andres Freund <andres@anarazel.de>
Discussion: https://www.postgresql.org/message-id/flat/e0a62134-83da-4ba4-8cdb-ceb0111c95ce@eisentraut.org

Files

Discussion