Skip to content

Commit

Permalink
Remove redundant github issue links in postgres doc (#10027)
Browse files Browse the repository at this point in the history
* Remove redundant github issue links

* Remove redundant word

* Update wording

* Update wording
  • Loading branch information
tuliren committed Feb 3, 2022
1 parent fa6ebdf commit dc20baf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/integrations/sources/postgres.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit dc20baf

Please sign in to comment.