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

Commitdd71813

Browse files
committed
Mind that build_check_constraint_name returns quoted name.
1 parentdd072e5 commitdd71813

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎hash.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ BEGIN
108108

109109
/* Fetch definition of old_partition's HASH constraint*/
110110
SELECTpg_catalog.pg_get_constraintdef(oid)FROMpg_catalog.pg_constraint
111-
WHERE conrelid= old_partitionAND conname= old_constr_name
111+
WHERE conrelid= old_partitionANDquote_ident(conname)= old_constr_name
112112
INTO old_constr_def;
113113

114114
/* Detach old partition*/

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp