Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sql: populate information_schema.user_defined_types and attributes #111401

Merged
merged 5 commits into from
Nov 6, 2023

Commits on Nov 6, 2023

  1. sql: add information_schema._pg_char_octet_length builtin

    This commit adds an implementation for the
    `information_schema._pg_char_octet_length` builtin.
    
    The builtin is implemented as a user-defined function in Postgres
    [here](https://github.com/postgres/postgres/blob/master/src/backend/catalog/information_schema.sql)
    
    Needed for: cockroachdb#109603
    Epic: none
    
    Release note (sql change): The `information_schema._pg_char_octet_length`
    builtin function is now supported, which improves compatibility with
    PostgreSQL.
    annrpom committed Nov 6, 2023
    Configuration menu
    Copy the full SHA
    5130428 View commit details
    Browse the repository at this point in the history
  2. sql: add pg_encoding_max_length builtin

    This commit adds an implementation for the
    `pg_encoding_max_length` builtin.
    
    Needed for: cockroachdb#109603
    Epic: none
    
    Release note (sql change): The `pg_encoding_max_length`
    builtin function is now supported, which improves compatibility with
    PostgreSQL.
    annrpom committed Nov 6, 2023
    Configuration menu
    Copy the full SHA
    30de3e1 View commit details
    Browse the repository at this point in the history
  3. sql: add information_schema._pg_datetime_precision builtin

    This commit adds an implementation for the
    `information_schema._pg_datetime_precision` builtin.
    
    The builtin is implemented as a user-defined function in Postgres
    [here](https://github.com/postgres/postgres/blob/master/src/backend/catalog/information_schema.sql)
    
    Needed for: cockroachdb#109603
    Epic: none
    
    Release note (sql change): The
    `information_schema._pg_datetime_precision` builtin function is
    now supported, which improves compatibility with PostgreSQL.
    annrpom committed Nov 6, 2023
    Configuration menu
    Copy the full SHA
    7eb96a8 View commit details
    Browse the repository at this point in the history
  4. sql: add information_schema._pg_interval_type builtin

    This commit adds an implementation for the
    `information_schema._pg_interval_type` builtin.
    
    The builtin is implemented as a user-defined function in Postgres
    [here](https://github.com/postgres/postgres/blob/master/src/backend/catalog/information_schema.sql)
    
    Needed for: cockroachdb#109603
    Epic: none
    
    Release note (sql change): The `information_schema._pg_interval_type`
    builtin function is now supported, which improves compatibility with
    PostgreSQL.
    annrpom committed Nov 6, 2023
    Configuration menu
    Copy the full SHA
    6581b36 View commit details
    Browse the repository at this point in the history
  5. sql: populate information_schema.user_defined_types and attributes

    This patch populates information_schema.user_defined_types with
    information about user defined types and information_schema.attributes
    with information about the attributes of composite data types.
    
    Epic: none
    Fixes: cockroachdb#109603
    
    Release note (sql change): This patch populates
    information_schema.user_defined_types with information about user
    defined types and information_schema.attributes with information about
    the attributes of composite data types.
    annrpom committed Nov 6, 2023
    Configuration menu
    Copy the full SHA
    391f96b View commit details
    Browse the repository at this point in the history