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: compatibility blitz for pgadmin #38869

Merged
merged 17 commits into from
Jul 19, 2019
Merged

Commits on Jul 19, 2019

  1. sql: add empty pg_matviews virtual table

    Release note: None
    jordanlewis committed Jul 19, 2019
    Configuration menu
    Copy the full SHA
    cb7bf9f View commit details
    Browse the repository at this point in the history
  2. sql: add empty pg_conversion table

    Release note: None
    jordanlewis committed Jul 19, 2019
    Configuration menu
    Copy the full SHA
    4e30c42 View commit details
    Browse the repository at this point in the history
  3. sql: add empty pg_locks

    Release note: None
    jordanlewis committed Jul 19, 2019
    Configuration menu
    Copy the full SHA
    3e2e451 View commit details
    Browse the repository at this point in the history
  4. sql: add empty pg_prepared_xacts

    Release note: None
    jordanlewis committed Jul 19, 2019
    Configuration menu
    Copy the full SHA
    594faae View commit details
    Browse the repository at this point in the history
  5. sql: add empty pg_seclabels

    Release note: None
    jordanlewis committed Jul 19, 2019
    Configuration menu
    Copy the full SHA
    c3876e7 View commit details
    Browse the repository at this point in the history
  6. sql: add empty pg_shdepend

    Release note: None
    jordanlewis committed Jul 19, 2019
    Configuration menu
    Copy the full SHA
    c27fceb View commit details
    Browse the repository at this point in the history
  7. sql: add empty pg_cast

    Release note: None
    jordanlewis committed Jul 19, 2019
    Configuration menu
    Copy the full SHA
    8fceb0d View commit details
    Browse the repository at this point in the history
  8. sql: add empty pg_default_acl

    Release note: None
    jordanlewis committed Jul 19, 2019
    Configuration menu
    Copy the full SHA
    4610e50 View commit details
    Browse the repository at this point in the history
  9. sql: implement pg_database.datlastsysoid

    This is supposed to return the last "system OID", which is supposed to
    represent all OIDs that correspond to objects that were created by the
    Postgres system, like `pg_class` or all of the default types, so that
    it's easier to distinguish user-created objects, which will have higher
    OIDs. Unfortunately for us, we can't properly implement this as our OIDs
    are made by hash, so system and user OIDs will be all mixed up. To
    facilitate tools that use this (pgadmin), we always return 0.
    
    Release note: None
    jordanlewis committed Jul 19, 2019
    Configuration menu
    Copy the full SHA
    d1b5456 View commit details
    Browse the repository at this point in the history
  10. pg_catalog: fix name of pg_stat_activity.usename

    It was previously erroneously called username.
    
    Release note: None
    jordanlewis committed Jul 19, 2019
    Configuration menu
    Copy the full SHA
    a3d5c96 View commit details
    Browse the repository at this point in the history
  11. sql: add missing reloftype field to pg_class

    Release note: None
    jordanlewis committed Jul 19, 2019
    Configuration menu
    Copy the full SHA
    9a72ea5 View commit details
    Browse the repository at this point in the history
  12. sql: use correct namespace in pg_collation

    It was previously using the 'public' namespace, but Postgres produces
    the 'pg_catalog' namespace, indicating that the collations available are
    from the system. If we had custom collations, those would belong in the
    'public' namespace, but we don't.
    
    Release note: None
    jordanlewis committed Jul 19, 2019
    Configuration menu
    Copy the full SHA
    ea65ebb View commit details
    Browse the repository at this point in the history
  13. sql: use correct integer types in pg_catalog

    Release note: None
    jordanlewis committed Jul 19, 2019
    Configuration menu
    Copy the full SHA
    95d2037 View commit details
    Browse the repository at this point in the history
  14. builtins: add aclexplode

    Release note: None
    jordanlewis committed Jul 19, 2019
    Configuration menu
    Copy the full SHA
    95428bf View commit details
    Browse the repository at this point in the history
  15. builtins: add row_to_json

    Release note: None
    jordanlewis committed Jul 19, 2019
    Configuration menu
    Copy the full SHA
    603c904 View commit details
    Browse the repository at this point in the history
  16. tree: permit constant upcasting to string arrays

    Release note: None
    jordanlewis committed Jul 19, 2019
    Configuration menu
    Copy the full SHA
    e86e27a View commit details
    Browse the repository at this point in the history
  17. optbuilder: try harder to propagate types in UNION

    Release note: None
    jordanlewis committed Jul 19, 2019
    Configuration menu
    Copy the full SHA
    0180907 View commit details
    Browse the repository at this point in the history