Skip to content
Discussion options

You must be logged in to vote

Thanks Federico, it's not a driver or settings modification. More like a bad coincidence.
Or maybe a coincidence with user name, schema name and the aproach with redirecting the schema.

root cause of the problem:

Using the postgresql.conf default search path like :
`
search_path

"$user", public`

My user is named iris too.
So, the side effect of this is, that we have suddenly a search_path pointing to the iris application schema.

I've confirmed this with another database and another user.
The fault happens, as soon as user name == schema name.

Is there a possible alembic side fix?

Of course i could:
a) rename the user
b) change default search_path to not include $user
c) change the schema …

Replies: 1 comment 24 replies

Comment options

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

@piziakkodis
Comment options

@CaselIT
Comment options

@piziakkodis
Comment options

Answer selected by piziakkodis
@zzzeek
Comment options

@piziakkodis
Comment options

@CaselIT
Comment options

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

This discussion was converted from issue #1728 on September 23, 2025 14:46.