Skip to content

UndefinedTableError: relation "pg_temp.session_vars" does not exist #908

@eric-g-97477

Description

@eric-g-97477

I can successfully connect to a PostgreSQL database and execute queries against a database to view the data the tables contain.

However, when I try to execute an UPDATE, I get the following error:

UndefinedTableError: relation "pg_temp.session_vars" does not exist

I am creating a connection to the database by doing the following:
(nothing special)

    conn = await asyncpg.connect(user='username', 
                                 password='password',
                                 database='databasename', 
                                 host='localhost')

I was wondering what, if anything, you might be aware of that would resolve this issue. Might there be something additional I need to do when setting up the connection?

(I can connect to the database directly via the shell and issue UPDATE's without any problems.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions