Re: [sqlalchemy] "cache lookup failed" on reflection

2016-02-23 Thread Mike Bayer
On 02/23/2016 11:58 AM, Matt Smith wrote: Hi sqlalchemy! When using sqlalchemy (core) 1.0.8 with redshift-sqlalchemy 0.4.1, I encountered the following exception: | InternalError:(psycopg2.InternalError)cache lookup failed forrelation 3262644 | This is the query it failed on: | SELECT

[sqlalchemy] "cache lookup failed" on reflection

2016-02-23 Thread Matt Smith
Hi sqlalchemy! When using sqlalchemy (core) 1.0.8 with redshift-sqlalchemy 0.4.1, I encountered the following exception: InternalError: (psycopg2.InternalError) cache lookup failed for relation 3262644 This is the query it failed on: SELECT c.oid FROM pg_catalog.pg_class c LEFT JOIN