1
0
mirror of synced 2025-12-25 02:09:19 -05:00

Remove redundant github issue links in postgres doc (#10027)

* Remove redundant github issue links

* Remove redundant word

* Update wording

* Update wording
This commit is contained in:
LiRen Tu
2022-02-02 23:46:42 -08:00
committed by GitHub
parent fa6ebdf3e3
commit dc20baf9d7

View File

@@ -63,17 +63,17 @@ ALTER DEFAULT PRIVILEGES IN SCHEMA <schema_name> GRANT SELECT ON TABLES TO <user
```
Currently, there is no way to sync a subset of columns using the Postgres source connector.
- When setting up a connection, you can only choose which tables to sync, but not columns (issue [#2227](https://github.com/airbytehq/airbyte/issues/2227)).
- If the user account can only access a subset of columns (i.e. has no `SELECT` permission for the full table), the connection check will pass. However, the data sync will fail with permission denied exception (issue [#9771](https://github.com/airbytehq/airbyte/issues/9771)).
- When setting up a connection, you can only choose which tables to sync, but not columns.
- If the user can only access a subset of columns, the connection check will pass. However, the data sync will fail with a `permission denied` exception.
The short-term workaround for both issues is to create a view on the specific columns, and grant the user read permission of that view:
The short-term workaround for partial table syncing is to create a view on the specific columns, and grant the user read access to that view:
```sql
CREATE VIEW <view_name> as SELECT <columns> FROM <table>;
GRANT SELECT ON TABLE <view_name> IN SCHEMA <schema_name> to <user_name>;
```
A bug related to partial table permission is track in [issue #9771](https://github.com/airbytehq/airbyte/issues/9771).
This issue is tracked in [\#9771](https://github.com/airbytehq/airbyte/issues/9771).
#### 3. Optionally, set up CDC. Follow the guide [below](postgres.md#setting-up-cdc-for-postgres) to do so.