pgsql: Remove unnecessary include of

2023-12-03 Thread Peter Eisentraut
Remove unnecessary include of This was probably never necessary. (The header used to use random(), but that shouldn't require either. In any case, that's gone, too.) Reviewed-by: Shubham Khanna Reviewed-by: Tom Lane Discussion: https://www.postgresql.org/message-id/flat/cff5475d-e0a9-4561-

pgsql: Remove unnecessary include of

2023-12-03 Thread Peter Eisentraut
Remove unnecessary include of This was put here as part of a mechanical replacement of the old "getaddrinfo.h" with plus (commit 5579388d2d). But here, we only need netdb.h (for NI_MAXHOST), not sys/socket.h. Reviewed-by: Shubham Khanna Reviewed-by: Tom Lane Discussion: https://www.postgre

pgsql: Remove unnecessary #include.

2020-11-23 Thread Tom Lane
Remove unnecessary #include. Justin Pryzby Discussion: https://postgr.es/m/20201123205505.gj24...@telsasoft.com Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/3b9b01f75d6e2d7bf9e0bf8ec958ce420aa037c2 Modified Files -- src/include/optimizer/clauses.h |

pgsql: Remove unnecessary #include.

2020-05-12 Thread Etsuro Fujita
Remove unnecessary #include. My oversight in commit c8434d64c. Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/2793bbe75e276476877ff9af6bb7effe92eff782 Modified Files -- src/backend/optimizer/util/relnode.c | 1 - 1 file changed, 1 deletion(-)

pgsql: Remove unnecessary #include

2019-08-07 Thread Alvaro Herrera
Remove unnecessary #include This include was probably copied from tuplestore.c, but it's not needed. Extracted from a larger patch submitted by vignesh C Discussion: https://postgr.es/m/CALDaNm1B9naPDTm3ox1m_yZvOm3KA5S4kZQSWWAeLHAQ=3g...@mail.gmail.com Branch -- master Details --- h

pgsql: Remove unnecessary #include.

2019-01-10 Thread Tom Lane
Remove unnecessary #include. Discussion: https://postgr.es/m/4380.1547143...@sss.pgh.pa.us Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/a968d54c5df196e06305c1efa731657f9536ec7a Modified Files -- src/include/optimizer/appendinfo.h | 1 - 1 file changed

pgsql: Remove unnecessary include

2018-01-23 Thread Alvaro Herrera
Remove unnecessary include autovacuum.c no longer needs dsa.h, since commit 31ae1638ce3. Author: Masahiko Sawada Discussion: https://postgr.es/m/cad21aocwvyyxrvdanshwwwewjh5teawakj_2gqrhhukg+ob...@mail.gmail.com Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/95be5

pgsql: Remove unnecessary include

2018-01-23 Thread Alvaro Herrera
Remove unnecessary include autovacuum.c no longer needs dsa.h, since commit 31ae1638ce3. Author: Masahiko Sawada Discussion: https://postgr.es/m/cad21aocwvyyxrvdanshwwwewjh5teawakj_2gqrhhukg+ob...@mail.gmail.com Branch -- REL_10_STABLE Details --- https://git.postgresql.org/pg/commitdif