You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* fix#9318
fix: change postgres driver version checking query
Change the postgres `SHOW server_version` query to use `SELECT version()` which adds compatibility with AWS Redshift database
Closes: #9318
* git-issue 9318: remove describe from only in test
* fix-9318: prettier format test
nordinh
pushed a commit
to nordinh/typeorm
that referenced
this issue
Aug 29, 2022
* fixtypeorm#9318
fix: change postgres driver version checking query
Change the postgres `SHOW server_version` query to use `SELECT version()` which adds compatibility with AWS Redshift database
Closes: typeorm#9318
* git-issue 9318: remove describe from only in test
* fix-9318: prettier format test
When connecting using the Postgres driver, the afterConnect method is running the SQL
SHOW server_version;
as part of feature support detection.This command works on postgres and cockroachdb, but is incompatible with the redshift database.
This command could be adjusted to use the
SELECT version();
command which is supported across all of these database types.I've patched this command locally and successfully connected and read data using typeorm:
Good to get your thoughts
The text was updated successfully, but these errors were encountered: