Skip to content

Commit 0d399d5

Browse files
committed
Remove PGDLLIMPORT used for binary upgrade; must be on the externs, per Tom.
1 parent 3687b2e commit 0d399d5

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/backend/catalog/pg_type.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/catalog/pg_type.c,v 1.129 2009/12/28 18:39:03 momjian Exp $
11+
* $PostgreSQL: pgsql/src/backend/catalog/pg_type.c,v 1.130 2009/12/28 18:49:05 momjian Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -32,7 +32,7 @@
3232
#include "utils/rel.h"
3333
#include "utils/syscache.h"
3434

35-
PGDLLIMPORT Oid binary_upgrade_next_pg_type_oid = InvalidOid;
35+
Oid binary_upgrade_next_pg_type_oid = InvalidOid;
3636

3737
/* ----------------------------------------------------------------
3838
* TypeShellMake

src/backend/catalog/toasting.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/catalog/toasting.c,v 1.24 2009/12/28 18:39:03 momjian Exp $
11+
* $PostgreSQL: pgsql/src/backend/catalog/toasting.c,v 1.25 2009/12/28 18:49:05 momjian Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -31,7 +31,7 @@
3131
#include "utils/builtins.h"
3232
#include "utils/syscache.h"
3333

34-
PGDLLIMPORT Oid binary_upgrade_next_pg_type_toast_oid = InvalidOid;
34+
Oid binary_upgrade_next_pg_type_toast_oid = InvalidOid;
3535

3636
static bool create_toast_table(Relation rel, Oid toastOid, Oid toastIndexOid,
3737
Datum reloptions, bool force);

src/backend/commands/typecmds.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/commands/typecmds.c,v 1.143 2009/12/28 18:39:03 momjian Exp $
11+
* $PostgreSQL: pgsql/src/backend/commands/typecmds.c,v 1.144 2009/12/28 18:49:05 momjian Exp $
1212
*
1313
* DESCRIPTION
1414
* The "DefineFoo" routines take the parse tree and pick out the
@@ -74,7 +74,7 @@ typedef struct
7474
/* atts[] is of allocated length RelationGetNumberOfAttributes(rel) */
7575
} RelToCheck;
7676

77-
PGDLLIMPORT Oid binary_upgrade_next_pg_type_array_oid = InvalidOid;
77+
Oid binary_upgrade_next_pg_type_array_oid = InvalidOid;
7878

7979
static Oid findTypeInputFunction(List *procname, Oid typeOid);
8080
static Oid findTypeOutputFunction(List *procname, Oid typeOid);

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