mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-11-10 10:29:12 +03:00
This commit is contained in:
parent
0df2c57fe6
commit
201dcca59a
@ -41,9 +41,10 @@ Read more about the session argument for computed fields in the [docs](https://h
|
||||
- console: add read replica support section to pro popup (#4118)
|
||||
- console: allow modifying default value for PK (fix #4075) (#4679)
|
||||
- console: fix checkbox for forwarding client headers in actions (#4595)
|
||||
- cli: list all avialable commands in root command help (fix #4623)
|
||||
- console: re-enable foreign tables to be listed as views (fix #4714) (#4742)
|
||||
- cli: list all available commands in root command help (fix #4623)
|
||||
- docs: add section on actions vs. remote schemas to actions documentation (#4284)
|
||||
- docs: fix wrong info about excluding scheme in CORS config
|
||||
- docs: fix wrong info about excluding scheme in CORS config (#4685)
|
||||
|
||||
## `v1.2.0`
|
||||
|
||||
|
@ -400,6 +400,7 @@ FROM (
|
||||
pgc.relname as table_name,
|
||||
case
|
||||
when pgc.relkind = 'r' then 'TABLE'
|
||||
when pgc.relkind = 'f' then 'FOREIGN TABLE'
|
||||
when pgc.relkind = 'v' then 'VIEW'
|
||||
when pgc.relkind = 'm' then 'MATERIALIZED VIEW'
|
||||
end as table_type,
|
||||
@ -459,7 +460,7 @@ FROM (
|
||||
LEFT JOIN (pg_collation co JOIN pg_namespace nco ON (co.collnamespace = nco.oid))
|
||||
ON a.attcollation = co.oid AND (nco.nspname, co.collname) <> ('pg_catalog', 'default')
|
||||
WHERE (NOT pg_is_other_temp_schema(nc.oid))
|
||||
AND a.attnum > 0 AND NOT a.attisdropped AND c.relkind in ('r', 'v', 'm')
|
||||
AND a.attnum > 0 AND NOT a.attisdropped AND c.relkind in ('r', 'v', 'm', 'f')
|
||||
AND (pg_has_role(c.relowner, 'USAGE')
|
||||
OR has_column_privilege(c.oid, a.attnum,
|
||||
'SELECT, INSERT, UPDATE, REFERENCES'))
|
||||
@ -508,7 +509,7 @@ FROM (
|
||||
AND isv.table_name = pgc.relname
|
||||
|
||||
WHERE
|
||||
pgc.relkind IN ('r', 'v', 'm')
|
||||
pgc.relkind IN ('r', 'v', 'f', 'm')
|
||||
${whereQuery}
|
||||
GROUP BY pgc.oid, pgn.nspname, pgc.relname, table_type, isv.*
|
||||
) AS info;
|
||||
|
Loading…
Reference in New Issue
Block a user