`schema` option in postgres driver is not doing anything
See original GitHub issue[x] bug report [ ] feature request [x] documentation issue
Database system/driver:
[ ] cordova
[ ] mongodb
[ ] mssql
[ ] mysql
/ mariadb
[ ] oracle
[x] postgres
[ ] cockroachdb
[ ] sqlite
[ ] sqljs
[ ] react-native
[ ] expo
TypeORM version:
[x] latest
[ ] @next
[x] 0.2.26
The documented schema
parameter for postgres does not seem to be doing anything. There was a PR for adding a default schema in the past, though under the schemaName
property, but it seems this feature was removed completely.
All that remains is a schema
option defined in the postgres driver, which does not have any effect it seems.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:14 (6 by maintainers)
Top Results From Across the Web
Setting schema in PostgreSQL JDBC doesn't seem to work
I'm using JDBC driver 42.2.2 and PostgreSQL server 10.4. Why setting schema doesn't work? java · postgresql · jdbc · schema.
Read more >Initializing the Driver - PostgreSQL JDBC Driver
Any source file that uses JDBC needs to import the java.sql package, using: ... Applications do not need to explicitly load the org.postgresql....
Read more >PostresSql not showing all schemas
Already tried MySQL and MsSQL successfully but I'm having trouble with Postgres - It's not showing all the existing schemas in my server....
Read more >3. Configuring Schema Build Options - HammerDB
Note that in any circumstance you do not have to rebuild the schema every time you change the “Driver Options”, once the schema...
Read more >Information schema for PostgreSQL-dialect databases
This view lists all the options defined for the referenced table columns of a ... A stored generated column in this state does...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
For anyone wondering, for now I’m working around the issue by doing this right after
createConnection()
:Should be fixed in #6796 😃 Test was put in place that checks it.