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

Commit9a31256

Browse files
committed
Fix object identity string for transforms
In commitad89a5d, we added an unhelpful 'ON' that doesn't matchthe input syntax. This was discovered while adding code to support forDDL in logical replication.No backpatch because of the change of behavior, however improbable itmay be that somebody is depending on this.Author: Zheng Li <zhengli10@gmail.com>Discussion:https://postgr.es/m/CAAD30UKg8rXeGM8Oy_MAmxKBL_K5DiHXdeNF=hUefcu1C_6VfQ@mail.gmail.com
1 parenta1acdac commit9a31256

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎src/backend/catalog/objectaddress.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5922,7 +5922,7 @@ getObjectIdentityParts(const ObjectAddress *object,
59225922
transformType=format_type_be_qualified(transform->trftype);
59235923
transformLang=get_language_name(transform->trflang, false);
59245924

5925-
appendStringInfo(&buffer,"for %sonlanguage %s",
5925+
appendStringInfo(&buffer,"for %s language %s",
59265926
transformType,
59275927
transformLang);
59285928
if (objname)

‎src/test/regress/expected/object_address.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,7 @@ operator family|pg_catalog|integer_ops|pg_catalog.integer_ops USING btree|t
496496
policy|NULL|NULL|genpol on addr_nsp.gentable|t
497497
statistics object|addr_nsp|gentable_stat|addr_nsp.gentable_stat|t
498498
collation|pg_catalog|"default"|pg_catalog."default"|t
499-
transform|NULL|NULL|for integeronlanguage sql|t
499+
transform|NULL|NULL|for integer language sql|t
500500
text search dictionary|addr_nsp|addr_ts_dict|addr_nsp.addr_ts_dict|t
501501
text search parser|addr_nsp|addr_ts_prs|addr_nsp.addr_ts_prs|t
502502
text search configuration|addr_nsp|addr_ts_conf|addr_nsp.addr_ts_conf|t

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp