Skip to content

PostGIS not work with SQLAlchemy==2.0.19 #1282

Discussion options

You must be logged in to vote

After a while, I found it more convenient to use search_path in database connections.

app.config["SQLALCHEMY_DATABASE_URI"] = "postgresql://postgres:123456@localhost:5432/test?options=-csearch_path=public"

Replies: 10 comments 16 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@CaselIT
Comment options

Comment options

You must be logged in to vote
6 replies
@luolingchun
Comment options

@CaselIT
Comment options

@luolingchun
Comment options

@CaselIT
Comment options

@luolingchun
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@luolingchun
Comment options

@CaselIT
Comment options

Comment options

You must be logged in to vote
5 replies
@zzzeek
Comment options

@luolingchun
Comment options

@rushilsrivastava
Comment options

@rushilsrivastava
Comment options

@dversoza-ec
Comment options

Comment options

You must be logged in to vote
1 reply
@CaselIT
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by luolingchun
Comment options

You must be logged in to vote
1 reply
@CaselIT
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
7 participants
Converted from issue

This discussion was converted from issue #1281 on July 19, 2023 06:07.