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

Commit452fa21

Browse files
committed
Fix string_to_array() to correctly handle the case where there are
overlapping possible matches for the separator string, such asstring_to_array('123xx456xxx789', 'xx').Also, revise the logic of replace(), split_part(), and string_to_array()to avoid O(N^2) work from redundant searches and conversions to pg_wcharformat when there are N matches to the separator string.Backpatched the full patch as far as 8.0. 7.4 also has the bug, but thecode has diverged a lot, so I just went for a quick-and-dirty fix of thebug itself in that branch.
1 parent11d4d42 commit452fa21

File tree

1 file changed

+197
-138
lines changed

1 file changed

+197
-138
lines changed

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp