mirror of
https://github.com/postgres/postgres.git
synced 2025-07-31 22:04:40 +03:00
In pg_upgrade, track only one copy of namespace/relname in FileNameMap
because the old and new values are identical.
This commit is contained in:
@ -94,11 +94,8 @@ typedef struct
|
||||
Oid old_relfilenode;
|
||||
Oid new_relfilenode;
|
||||
/* the rest are used only for logging and error reporting */
|
||||
char old_nspname[NAMEDATALEN]; /* namespaces */
|
||||
char new_nspname[NAMEDATALEN];
|
||||
/* old/new relnames differ for toast tables and toast indexes */
|
||||
char old_relname[NAMEDATALEN];
|
||||
char new_relname[NAMEDATALEN];
|
||||
char nspname[NAMEDATALEN]; /* namespaces */
|
||||
char relname[NAMEDATALEN];
|
||||
} FileNameMap;
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user