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

Commit6f0bc5e

Browse files
committed
Fix missing validation for the new GiST sortsupport functions.
Because of this, if you tried to create an operator family with the newsortsupport function, you got an error:ERROR: support function number 11 is invalid for access method gistWe missed this in commit16fa9b2 that added the sortsupport function,because it only added sortsupport to a built-in operator family.Author: Andrey BorodinDiscussion:https://www.postgresql.org/message-id/3520A18A-5C38-4697-A2E3-F3BDE3496CD5%40yandex-team.ru
1 parentb401fa2 commit6f0bc5e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎src/backend/access/gist/gistvalidate.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,7 @@ gistadjustmembers(Oid opfamilyoid,
338338
caseGIST_DISTANCE_PROC:
339339
caseGIST_FETCH_PROC:
340340
caseGIST_OPTIONS_PROC:
341+
caseGIST_SORTSUPPORT_PROC:
341342
/* Optional, so force it to be a soft family dependency */
342343
op->ref_is_hard= false;
343344
op->ref_is_family= true;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp