Skip to content

Commit

Permalink
Make clear in docs it only works with psycopg3
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarrmondragon committed Nov 22, 2024
1 parent 20edc33 commit 73894b9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ This target is tested with all actively supported [Python](https://devguide.pyth
| user | False | None | User name used to authenticate. |
| password | False | None | Password used to authenticate. |
| database | False | None | Database name. |
| use_copy | False | None | Use the COPY command to insert data. This is usually faster than INSERT statements. |
| use_copy | False | None | Use the COPY command to insert data. This is usually faster than INSERT statements. This option is only available for the postgres+psycopg dialect+driver combination. |
| default_target_schema | False | melty | Postgres schema to send data to, example: tap-clickup |
| activate_version | False | 1 | If set to false, the tap will ignore activate version messages. If set to true, add_record_metadata must be set to true as well. |
| hard_delete | False | 0 | When activate version is sent from a tap this specefies if we should delete the records that don't match, or mark them with a date in the `_sdc_deleted_at` column. This config option is ignored if `activate_version` is set to false. |
Expand Down
3 changes: 2 additions & 1 deletion target_postgres/target.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,8 @@ def __init__(
default=False,
description=(
"Use the COPY command to insert data. This is usually faster than "
"INSERT statements."
f"INSERT statements. This option is only available for the {PSYCOPG3} "
"dialect+driver."
),
title="Use COPY",
),
Expand Down

0 comments on commit 73894b9

Please sign in to comment.