squawk icon indicating copy to clipboard operation
squawk copied to clipboard

New rule: require schema

Open hfhchan-plb opened this issue 1 year ago • 1 comments

Require all (non-temp) table names to have a schema (e.g. public).

This makes scripts portable even when the search_path changes.

hfhchan-plb avatar Dec 16 '24 17:12 hfhchan-plb

wonder if this rule would also include schema on function definitions:

https://www.instantdb.com/essays/pg_upgrade#marked-fn-8

sbdchd avatar Jan 30 '25 01:01 sbdchd