Skip to content
This repository was archived by the owner on Sep 23, 2024. It is now read-only.

Commit ec7d5f0

Browse files
authoredJun 23, 2021
Discover partitioned tables (#99)
1 parent 8c4732e commit ec7d5f0

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed
 

‎CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
1.8.0 (2021-06-23)
2+
-------------------
3+
4+
- Add discovering of partitioned tables.
5+
16
1.7.1 (2020-10-13)
27
-------------------
38

‎setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
long_description = f.read()
77

88
setup(name='pipelinewise-tap-postgres',
9-
version='1.7.1',
9+
version='1.8.0',
1010
description='Singer.io tap for extracting data from PostgresSQL - PipelineWise compatible',
1111
long_description=long_description,
1212
long_description_content_type='text/markdown',

‎tap_postgres/discovery_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def produce_table_info(conn, filter_schemas=None, tables: Optional[List[str]] =
103103
AND pgt.typelem != 0
104104
WHERE attnum > 0
105105
AND NOT a.attisdropped
106-
AND pg_class.relkind IN ('r', 'v', 'm')
106+
AND pg_class.relkind IN ('r', 'v', 'm', 'p')
107107
AND n.nspname NOT in ('pg_toast', 'pg_catalog', 'information_schema')
108108
AND has_column_privilege(pg_class.oid, attname, 'SELECT') = true """
109109

0 commit comments

Comments
 (0)