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

Commita7a4add

Browse files
committed
Refactor the way code is shared between some range type functions.
Functions like range_eq, range_before etc. are exposed at the SQL-level, butthey're also used internally by the GiST consistent support function. Thecode sharing was done by a hack, TrickFunctionCall2, which relied on theknowledge that all the functions used fn_extra the same way. This commitsplits the functions into internal versions that take a TypeCacheEntry asargument, and thin wrappers to expose the functions at the SQL-level. Theinternal versions can then be called directly and in a less hacky way fromthe GiST consistent function.This is just cosmetic, but backpatch to 9.2 anyway, to avoid having adifferent version of this code in the 9.2 branch. That would makebackpatching fixes in this area more difficult.Alexander Korotkov
1 parent80e373c commita7a4add

File tree

3 files changed

+220
-191
lines changed

3 files changed

+220
-191
lines changed

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp