gnormal / gnorm

A database-first code generator for any language
https://gnorm.org
Other
485 stars 40 forks source link

check for public schema before trimming table name #76

Closed Etomyutikos closed 6 years ago

Etomyutikos commented 6 years ago

resolves #75

In Postgres, calling ::regclass on a table OID will prefix that table with the schema if the table exists outside of the search path. Practically speaking, that means any table outside of "public".