From 1082f77619164af52c0315cbb9ec17c6c0bed4f0 Mon Sep 17 00:00:00 2001 From: "Michael J. Sullivan" Date: Thu, 2 Jan 2025 14:56:30 -0800 Subject: [PATCH] Disable the `LIMIT 1` in pg_get_constraintdef --- edb/pgsql/metaschema.py | 1 - 1 file changed, 1 deletion(-) diff --git a/edb/pgsql/metaschema.py b/edb/pgsql/metaschema.py index 683e1d3809d8..8bda88f40ef5 100644 --- a/edb/pgsql/metaschema.py +++ b/edb/pgsql/metaschema.py @@ -7868,7 +7868,6 @@ def construct_pg_view( SELECT attname FROM edgedbsql_VER.pg_attribute WHERE attrelid = conrelid AND attnum = ANY(conkey) - LIMIT 1 ) || '")' || ' REFERENCES "' || pn.nspname || '"."' || pc.relname || '"(id)' ELSE ''