forked from cockroachdb/cockroach
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sql: implement information_schema._pg_index_position
Needed for cockroachdb#69010. This commit implements the `information_schema._pg_index_position` builtin function. Given an index's OID and an underlying-table column number, `information_schema._pg_index_position` return the column's position in the index (or NULL if not there). The function is implemented as a user-defined function in Postgres here: https://github.com/postgres/postgres/blob/master/src/backend/catalog/information_schema.sql Release note (sql change): The `information_schema._pg_index_position` builtin function is now supported, which improves compatibility with PostgreSQL. Release justification: None, waiting for v22.1.
- Loading branch information
1 parent
a355ffe
commit a459229
Showing
3 changed files
with
124 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters