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

Appearance settings

Commit 53948ec

Browse filesBrowse files
committed
[PGPRO-11393] Fixed the content of the error message
If the "RUM" index was created without the "WITH" operator, when "SELECT...ORDER BY" an error message of the form would appear: "ERROR: cannot order without attribute ... in WHERE clause" Fixed the content of error message, "WHERE" replaced by "ORDER BY". Tags: rum
1 parent 6a065fd commit 53948ec
Copy full SHA for 53948ec

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎src/rumscan.c

Copy file name to clipboardExpand all lines: src/rumscan.c
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ rumFillScanKey(RumScanOpaque so, OffsetNumber attnum,
214214
}
215215

216216
if (scanKey == NULL)
217-
elog(ERROR, "cannot order without attribute %d in WHERE clause",
217+
elog(ERROR, "cannot order without attribute %d in ORDER BY clause",
218218
key->attnum);
219219
else if (scanKey->nentries > 1)
220220
elog(ERROR, "scan key should contain only one value");

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.