Skip to content

Commit

Permalink
fix: just a test for SSL configs in psycopg while grabbing schemas (#…
Browse files Browse the repository at this point in the history
…21905)

fix: just a test for grabbing schemas
  • Loading branch information
fuziontech authored Apr 26, 2024
1 parent 226f768 commit 37490ec
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions posthog/warehouse/models/external_data_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,9 @@ def get_postgres_schemas(host: str, port: str, database: str, user: str, passwor
user=user,
password=password,
sslmode="prefer" if settings.TEST or settings.DEBUG else "require",
sslrootcert="/tmp/no.txt",
sslcert="/tmp/no.txt",
sslkey="/tmp/no.txt",
)

with connection.cursor() as cursor:
Expand Down

0 comments on commit 37490ec

Please sign in to comment.