Skip to content

Commit eacb22e

Browse files
committed
Fix duplicate OIDs introduced by SECURITY LABEL patch.
Report by Shigeru Hanada.
1 parent 62b6aaa commit eacb22e

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

src/include/catalog/catversion.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,6 @@
5353
*/
5454

5555
/* yyyymmddN */
56-
#define CATALOG_VERSION_NO 201009271
56+
#define CATALOG_VERSION_NO 201009281
5757

5858
#endif

src/include/catalog/indexing.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -281,8 +281,8 @@ DECLARE_UNIQUE_INDEX(pg_default_acl_oid_index, 828, on pg_default_acl using btre
281281
DECLARE_UNIQUE_INDEX(pg_db_role_setting_databaseid_rol_index, 2965, on pg_db_role_setting using btree(setdatabase oid_ops, setrole oid_ops));
282282
#define DbRoleSettingDatidRolidIndexId 2965
283283

284-
DECLARE_UNIQUE_INDEX(pg_seclabel_object_index, 3038, on pg_seclabel using btree(objoid oid_ops, classoid oid_ops, objsubid int4_ops, provider text_ops));
285-
#define SecLabelObjectIndexId 3038
284+
DECLARE_UNIQUE_INDEX(pg_seclabel_object_index, 3597, on pg_seclabel using btree(objoid oid_ops, classoid oid_ops, objsubid int4_ops, provider text_ops));
285+
#define SecLabelObjectIndexId 3597
286286

287287
/* last step of initialization script: build the indexes declared above */
288288
BUILD_INDICES

src/include/catalog/pg_seclabel.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@
1818
* typedef struct FormData_pg_seclabel
1919
* ----------------
2020
*/
21-
#define SecLabelRelationId 3037
21+
#define SecLabelRelationId 3596
2222

23-
CATALOG(pg_seclabel,3037) BKI_WITHOUT_OIDS
23+
CATALOG(pg_seclabel,3596) BKI_WITHOUT_OIDS
2424
{
2525
Oid objoid; /* OID of the object itself */
2626
Oid classoid; /* OID of table containing the object */

src/include/catalog/toasting.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ DECLARE_TOAST(pg_constraint, 2832, 2833);
4545
DECLARE_TOAST(pg_description, 2834, 2835);
4646
DECLARE_TOAST(pg_proc, 2836, 2837);
4747
DECLARE_TOAST(pg_rewrite, 2838, 2839);
48-
DECLARE_TOAST(pg_seclabel, 3039, 3040);
48+
DECLARE_TOAST(pg_seclabel, 3598, 3599);
4949
DECLARE_TOAST(pg_statistic, 2840, 2841);
5050
DECLARE_TOAST(pg_trigger, 2336, 2337);
5151

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