Skip to content

Commit 50d0834

Browse files
committed
Avoid including miscadmin.h into plpgsql.h; instead include it into the two
source files that need it.
1 parent 466a492 commit 50d0834

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

src/pl/plpgsql/src/pl_exec.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/pl/plpgsql/src/pl_exec.c,v 1.246 2009/07/22 02:31:38 joe Exp $
11+
* $PostgreSQL: pgsql/src/pl/plpgsql/src/pl_exec.c,v 1.247 2009/08/04 21:22:46 alvherre Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -23,6 +23,7 @@
2323
#include "executor/spi_priv.h"
2424
#include "funcapi.h"
2525
#include "lib/stringinfo.h"
26+
#include "miscadmin.h"
2627
#include "nodes/nodeFuncs.h"
2728
#include "parser/scansup.h"
2829
#include "storage/proc.h"

src/pl/plpgsql/src/pl_handler.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/pl/plpgsql/src/pl_handler.c,v 1.44 2009/02/18 11:33:04 petere Exp $
11+
* $PostgreSQL: pgsql/src/pl/plpgsql/src/pl_handler.c,v 1.45 2009/08/04 21:22:46 alvherre Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -18,6 +18,7 @@
1818
#include "catalog/pg_proc.h"
1919
#include "catalog/pg_type.h"
2020
#include "funcapi.h"
21+
#include "miscadmin.h"
2122
#include "utils/builtins.h"
2223
#include "utils/guc.h"
2324
#include "utils/lsyscache.h"

src/pl/plpgsql/src/plpgsql.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/pl/plpgsql/src/plpgsql.h,v 1.114 2009/07/22 02:31:38 joe Exp $
11+
* $PostgreSQL: pgsql/src/pl/plpgsql/src/plpgsql.h,v 1.115 2009/08/04 21:22:46 alvherre Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -20,7 +20,6 @@
2020

2121
#include "access/xact.h"
2222
#include "fmgr.h"
23-
#include "miscadmin.h"
2423
#include "commands/trigger.h"
2524
#include "executor/spi.h"
2625
#include "utils/tuplestore.h"

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy