supabase / postgres-meta

A RESTful API for managing your Postgres. Fetch tables, add roles, and run queries
https://supabase.com
Apache License 2.0
941 stars 126 forks source link

fix: identifier double escaping #601

Closed soedirgo closed 1 year ago

soedirgo commented 1 year ago

::regclass already escapes identifier names, no need to %I it. E.g. auth.users would be double-escaped into "auth.users" instead of "auth"."users"