mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Include partioned tables (#54517)
Include partioned tables in ALL_IN_SCHEMA list.
This commit is contained in:
parent
82d26c8c93
commit
63293e004b
1 changed files with 1 additions and 1 deletions
|
@ -460,7 +460,7 @@ class Connection(object):
|
|||
query = """SELECT relname
|
||||
FROM pg_catalog.pg_class c
|
||||
JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace
|
||||
WHERE nspname = %s AND relkind in ('r', 'v', 'm')"""
|
||||
WHERE nspname = %s AND relkind in ('r', 'v', 'm', 'p')"""
|
||||
self.cursor.execute(query, (schema,))
|
||||
return [t[0] for t in self.cursor.fetchall()]
|
||||
|
||||
|
|
Loading…
Reference in a new issue