Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitbbae09c

Browse files
committed
CATALOG VERSION UPDATED:
The indexes on most system catalogs are named with the suffix "_index";not so with TOAST table indexes, which use "_idx". This trivial patchchanges TOAST table index names to use the "_index" suffix forconsistency.Neil Conway
1 parent2036b3f commitbbae09c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

‎src/backend/commands/tablecmds.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/commands/tablecmds.c,v 1.1 2002/04/1505:22:03 tgl Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/commands/tablecmds.c,v 1.2 2002/04/1523:45:07 momjian Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -1505,7 +1505,7 @@ AlterTableCreateToastTable(Oid relOid, bool silent)
15051505
* Create the toast table and its index
15061506
*/
15071507
sprintf(toast_relname,"pg_toast_%u",relOid);
1508-
sprintf(toast_idxname,"pg_toast_%u_idx",relOid);
1508+
sprintf(toast_idxname,"pg_toast_%u_index",relOid);
15091509

15101510
/* this is pretty painful... need a tuple descriptor */
15111511
tupdesc=CreateTemplateTupleDesc(3);

‎src/include/catalog/catversion.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
3838
* Portions Copyright (c) 1994, Regents of the University of California
3939
*
40-
* $Id: catversion.h,v 1.114 2002/04/11 20:00:10 tgl Exp $
40+
* $Id: catversion.h,v 1.115 2002/04/15 23:45:07 momjian Exp $
4141
*
4242
*-------------------------------------------------------------------------
4343
*/
@@ -53,6 +53,6 @@
5353
*/
5454

5555
/*yyyymmddN */
56-
#defineCATALOG_VERSION_NO200204101
56+
#defineCATALOG_VERSION_NO200204151
5757

5858
#endif

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp