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

Commit44e180d

Browse files
committed
rename copy_rel_attributes() -> copy_rel_options()
1 parent5afbc30 commit44e180d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎src/partition_creation.c‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ static ObjectAddress create_table_using_stmt(CreateStmt *create_stmt,
7474
Oidrelowner);
7575

7676
staticvoidcopy_foreign_keys(Oidparent_relid,Oidpartition_oid);
77-
staticvoidcopy_rel_attributes(Oidparent_relid,Oidpartition_relid);
77+
staticvoidcopy_rel_options(Oidparent_relid,Oidpartition_relid);
7878
staticvoidpostprocess_child_table_and_atts(Oidparent_relid,Oidpartition_relid);
7979

8080
staticOidtext_to_regprocedure(text*proname_args);
@@ -781,7 +781,7 @@ create_single_partition_internal(Oid parent_relid,
781781
child_relowner).objectId;
782782

783783
/* Copy attributes to partition */
784-
copy_rel_attributes(parent_relid,partition_relid);
784+
copy_rel_options(parent_relid,partition_relid);
785785

786786
/* Copy FOREIGN KEYS of the parent table */
787787
copy_foreign_keys(parent_relid,partition_relid);
@@ -1115,7 +1115,7 @@ copy_foreign_keys(Oid parent_relid, Oid partition_oid)
11151115

11161116
/* Copy reloptions of foreign table (updates pg_class) */
11171117
staticvoid
1118-
copy_rel_attributes(Oidparent_relid,Oidpartition_relid)
1118+
copy_rel_options(Oidparent_relid,Oidpartition_relid)
11191119
{
11201120
Relationpg_class_rel;
11211121

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp