Skip to content

Commit 8ac0090

Browse files
committed
Use GetName()
1 parent ea94f56 commit 8ac0090

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pg_variables.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ static void removeFromChangedVars(Package *package);
7777

7878
/* Constructors */
7979
static void makePackHTAB(Package *package, bool is_trans);
80-
static inline ChangedObject *
81-
makeChangedObject(TransObject *object, MemoryContext ctx);
80+
static inline ChangedObject *makeChangedObject(TransObject *object,
81+
MemoryContext ctx);
8282

8383
#define CHECK_ARGS_FOR_NULL() \
8484
do { \
@@ -1260,7 +1260,7 @@ makePackHTAB(Package *package, bool is_trans)
12601260
ALLOCSET_DEFAULT_SIZES);
12611261

12621262
snprintf(hash_name, BUFSIZ, "%s variables hash for package \"%s\"",
1263-
is_trans ? "Transactional" : "Regular", package->transObject.name);
1263+
is_trans ? "Transactional" : "Regular", GetName(package));
12641264
ctl.keysize = NAMEDATALEN;
12651265
ctl.entrysize = sizeof(Variable);
12661266
ctl.hcxt = (is_trans ? package->hctxTransact : package->hctxRegular);

0 commit comments

Comments
 (0)