2026-07-07 06:55:47.636 UTC [126018] LOG: starting PostgreSQL 18.4 (Ubuntu 18.4-0ubuntu0.26.04.1) on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu 15.2.0-16ubuntu1) 15.2.0, 64-bit 2026-07-07 06:55:47.636 UTC [126018] LOG: listening on IPv4 address "127.0.0.1", port 36549 2026-07-07 06:55:47.645 UTC [126018] LOG: listening on Unix socket "/data/pruva/project-cache/ea84d142-3b88-4e3b-ad6b-a004b7386804/pglitellm_repro/.s.PGSQL.36549" 2026-07-07 06:55:47.656 UTC [126024] LOG: database system was shut down at 2026-07-07 06:55:17 UTC 2026-07-07 06:55:47.663 UTC [126018] LOG: database system is ready to accept connections 2026-07-07 06:55:47.733 UTC [126030] LOG: statement: SELECT 1 2026-07-07 06:55:47.734 UTC [126030] LOG: duration: 0.211 ms 2026-07-07 06:55:47.737 UTC [126033] LOG: statement: SELECT 1 FROM pg_database WHERE datname='litellm_repro_vuln' 2026-07-07 06:55:47.737 UTC [126033] LOG: duration: 0.458 ms 2026-07-07 06:55:47.740 UTC [126036] LOG: statement: SELECT 1 FROM pg_database WHERE datname='litellm_repro_fixed' 2026-07-07 06:55:47.741 UTC [126036] LOG: duration: 0.228 ms 2026-07-07 06:56:47.225 UTC [126083] LOG: statement: SELECT to_regclass('"LiteLLM_VerificationToken"') 2026-07-07 06:56:47.225 UTC [126083] LOG: duration: 0.412 ms 2026-07-07 06:56:47.230 UTC [126086] LOG: statement: DELETE FROM "LiteLLM_VerificationToken"; 2026-07-07 06:56:47.261 UTC [126086] LOG: duration: 31.397 ms 2026-07-07 06:56:47.288 UTC [126092] LOG: statement: SELECT to_regclass('"LiteLLM_VerificationToken"') 2026-07-07 06:56:47.289 UTC [126092] LOG: duration: 0.494 ms 2026-07-07 06:56:47.294 UTC [126095] LOG: statement: DELETE FROM "LiteLLM_VerificationToken"; 2026-07-07 06:56:47.300 UTC [126095] LOG: duration: 6.233 ms 2026-07-07 06:58:10.134 UTC [126475] LOG: duration: 0.274 ms parse s0: SELECT version() 2026-07-07 06:58:10.135 UTC [126475] LOG: duration: 0.075 ms bind s0: SELECT version() 2026-07-07 06:58:10.135 UTC [126475] LOG: execute s0: SELECT version() 2026-07-07 06:58:10.135 UTC [126475] LOG: duration: 0.017 ms 2026-07-07 06:58:10.135 UTC [126475] LOG: duration: 0.186 ms parse s1: SELECT EXISTS(SELECT 1 FROM pg_namespace WHERE nspname = $1), version(), current_setting('server_version_num')::integer as numeric_version; 2026-07-07 06:58:10.135 UTC [126475] LOG: duration: 0.337 ms bind s1: SELECT EXISTS(SELECT 1 FROM pg_namespace WHERE nspname = $1), version(), current_setting('server_version_num')::integer as numeric_version; 2026-07-07 06:58:10.135 UTC [126475] DETAIL: Parameters: $1 = 'public' 2026-07-07 06:58:10.135 UTC [126475] LOG: execute s1: SELECT EXISTS(SELECT 1 FROM pg_namespace WHERE nspname = $1), version(), current_setting('server_version_num')::integer as numeric_version; 2026-07-07 06:58:10.135 UTC [126475] DETAIL: Parameters: $1 = 'public' 2026-07-07 06:58:10.135 UTC [126475] LOG: duration: 0.015 ms 2026-07-07 06:58:10.136 UTC [126475] LOG: duration: 0.165 ms parse s2: SELECT namespace.nspname as namespace_name FROM pg_namespace as namespace WHERE namespace.nspname = ANY ( $1 ) ORDER BY namespace_name; 2026-07-07 06:58:10.136 UTC [126475] LOG: duration: 0.108 ms bind s2: SELECT namespace.nspname as namespace_name FROM pg_namespace as namespace WHERE namespace.nspname = ANY ( $1 ) ORDER BY namespace_name; 2026-07-07 06:58:10.136 UTC [126475] DETAIL: Parameters: $1 = '{public}' 2026-07-07 06:58:10.136 UTC [126475] LOG: execute s2: SELECT namespace.nspname as namespace_name FROM pg_namespace as namespace WHERE namespace.nspname = ANY ( $1 ) ORDER BY namespace_name; 2026-07-07 06:58:10.136 UTC [126475] DETAIL: Parameters: $1 = '{public}' 2026-07-07 06:58:10.136 UTC [126475] LOG: duration: 0.034 ms 2026-07-07 06:58:10.136 UTC [126475] LOG: duration: 0.162 ms parse s3: SELECT tbl.relname AS table_name, namespace.nspname as namespace, (tbl.relhassubclass and tbl.relkind = 'p') as is_partition, (tbl.relhassubclass and tbl.relkind = 'r') as has_subclass, tbl.relrowsecurity as has_row_level_security, reloptions, obj_description(tbl.oid, 'pg_class') as description FROM pg_class AS tbl INNER JOIN pg_namespace AS namespace ON namespace.oid = tbl.relnamespace WHERE ( -- (relkind = 'r' and relispartition = 't') matches partition table "duplicates" (tbl.relkind = 'r' AND tbl.relispartition = 'f') OR -- when it's a partition tbl.relkind = 'p' ) AND namespace.nspname = ANY ( $1 ) ORDER BY namespace, table_name; 2026-07-07 06:58:10.137 UTC [126475] LOG: duration: 0.622 ms bind s3: SELECT tbl.relname AS table_name, namespace.nspname as namespace, (tbl.relhassubclass and tbl.relkind = 'p') as is_partition, (tbl.relhassubclass and tbl.relkind = 'r') as has_subclass, tbl.relrowsecurity as has_row_level_security, reloptions, obj_description(tbl.oid, 'pg_class') as description FROM pg_class AS tbl INNER JOIN pg_namespace AS namespace ON namespace.oid = tbl.relnamespace WHERE ( -- (relkind = 'r' and relispartition = 't') matches partition table "duplicates" (tbl.relkind = 'r' AND tbl.relispartition = 'f') OR -- when it's a partition tbl.relkind = 'p' ) AND namespace.nspname = ANY ( $1 ) ORDER BY namespace, table_name; 2026-07-07 06:58:10.137 UTC [126475] DETAIL: Parameters: $1 = '{public}' 2026-07-07 06:58:10.137 UTC [126475] LOG: execute s3: SELECT tbl.relname AS table_name, namespace.nspname as namespace, (tbl.relhassubclass and tbl.relkind = 'p') as is_partition, (tbl.relhassubclass and tbl.relkind = 'r') as has_subclass, tbl.relrowsecurity as has_row_level_security, reloptions, obj_description(tbl.oid, 'pg_class') as description FROM pg_class AS tbl INNER JOIN pg_namespace AS namespace ON namespace.oid = tbl.relnamespace WHERE ( -- (relkind = 'r' and relispartition = 't') matches partition table "duplicates" (tbl.relkind = 'r' AND tbl.relispartition = 'f') OR -- when it's a partition tbl.relkind = 'p' ) AND namespace.nspname = ANY ( $1 ) ORDER BY namespace, table_name; 2026-07-07 06:58:10.137 UTC [126475] DETAIL: Parameters: $1 = '{public}' 2026-07-07 06:58:10.138 UTC [126475] LOG: duration: 0.904 ms 2026-07-07 06:58:10.138 UTC [126475] LOG: duration: 0.131 ms parse s4: SELECT schemainfo.nspname AS namespace, tableinfo.relname AS table_name, constr.conname AS constraint_name, constr.contype AS constraint_type, pg_get_constraintdef(constr.oid) AS constraint_definition, constr.condeferrable AS is_deferrable, constr.condeferred AS is_deferred FROM pg_constraint constr JOIN pg_class AS tableinfo ON tableinfo.oid = constr.conrelid JOIN pg_namespace AS schemainfo ON schemainfo.oid = tableinfo.relnamespace WHERE schemainfo.nspname = ANY ( $1 ) AND contype NOT IN ('p', 'u', 'f') ORDER BY namespace, table_name, constr.contype, constraint_name; 2026-07-07 06:58:10.139 UTC [126475] LOG: duration: 0.305 ms bind s4: SELECT schemainfo.nspname AS namespace, tableinfo.relname AS table_name, constr.conname AS constraint_name, constr.contype AS constraint_type, pg_get_constraintdef(constr.oid) AS constraint_definition, constr.condeferrable AS is_deferrable, constr.condeferred AS is_deferred FROM pg_constraint constr JOIN pg_class AS tableinfo ON tableinfo.oid = constr.conrelid JOIN pg_namespace AS schemainfo ON schemainfo.oid = tableinfo.relnamespace WHERE schemainfo.nspname = ANY ( $1 ) AND contype NOT IN ('p', 'u', 'f') ORDER BY namespace, table_name, constr.contype, constraint_name; 2026-07-07 06:58:10.139 UTC [126475] DETAIL: Parameters: $1 = '{public}' 2026-07-07 06:58:10.139 UTC [126475] LOG: execute s4: SELECT schemainfo.nspname AS namespace, tableinfo.relname AS table_name, constr.conname AS constraint_name, constr.contype AS constraint_type, pg_get_constraintdef(constr.oid) AS constraint_definition, constr.condeferrable AS is_deferrable, constr.condeferred AS is_deferred FROM pg_constraint constr JOIN pg_class AS tableinfo ON tableinfo.oid = constr.conrelid JOIN pg_namespace AS schemainfo ON schemainfo.oid = tableinfo.relnamespace WHERE schemainfo.nspname = ANY ( $1 ) AND contype NOT IN ('p', 'u', 'f') ORDER BY namespace, table_name, constr.contype, constraint_name; 2026-07-07 06:58:10.139 UTC [126475] DETAIL: Parameters: $1 = '{public}' 2026-07-07 06:58:10.146 UTC [126475] LOG: duration: 6.981 ms 2026-07-07 06:58:10.146 UTC [126475] LOG: duration: 0.296 ms parse s5: SELECT views.viewname AS view_name, views.definition AS view_sql, views.schemaname AS namespace, obj_description(class.oid, 'pg_class') AS description FROM pg_catalog.pg_views views INNER JOIN pg_catalog.pg_namespace ns ON views.schemaname = ns.nspname INNER JOIN pg_catalog.pg_class class ON class.relnamespace = ns.oid AND class.relname = views.viewname WHERE schemaname = ANY ( $1 ) 2026-07-07 06:58:10.147 UTC [126475] LOG: duration: 0.249 ms bind s5: SELECT views.viewname AS view_name, views.definition AS view_sql, views.schemaname AS namespace, obj_description(class.oid, 'pg_class') AS description FROM pg_catalog.pg_views views INNER JOIN pg_catalog.pg_namespace ns ON views.schemaname = ns.nspname INNER JOIN pg_catalog.pg_class class ON class.relnamespace = ns.oid AND class.relname = views.viewname WHERE schemaname = ANY ( $1 ) 2026-07-07 06:58:10.147 UTC [126475] DETAIL: Parameters: $1 = '{public}' 2026-07-07 06:58:10.147 UTC [126475] LOG: execute s5: SELECT views.viewname AS view_name, views.definition AS view_sql, views.schemaname AS namespace, obj_description(class.oid, 'pg_class') AS description FROM pg_catalog.pg_views views INNER JOIN pg_catalog.pg_namespace ns ON views.schemaname = ns.nspname INNER JOIN pg_catalog.pg_class class ON class.relnamespace = ns.oid AND class.relname = views.viewname WHERE schemaname = ANY ( $1 ) 2026-07-07 06:58:10.147 UTC [126475] DETAIL: Parameters: $1 = '{public}' 2026-07-07 06:58:10.148 UTC [126475] LOG: duration: 1.316 ms 2026-07-07 06:58:10.148 UTC [126475] LOG: duration: 0.087 ms parse s6: SELECT t.typname AS name, e.enumlabel AS value, n.nspname AS namespace, obj_description(t.oid, 'pg_type') AS description FROM pg_type t JOIN pg_enum e ON t.oid = e.enumtypid JOIN pg_catalog.pg_namespace n ON n.oid = t.typnamespace WHERE n.nspname = ANY ( $1 ) ORDER BY e.enumsortorder 2026-07-07 06:58:10.149 UTC [126475] LOG: duration: 0.246 ms bind s6: SELECT t.typname AS name, e.enumlabel AS value, n.nspname AS namespace, obj_description(t.oid, 'pg_type') AS description FROM pg_type t JOIN pg_enum e ON t.oid = e.enumtypid JOIN pg_catalog.pg_namespace n ON n.oid = t.typnamespace WHERE n.nspname = ANY ( $1 ) ORDER BY e.enumsortorder 2026-07-07 06:58:10.149 UTC [126475] DETAIL: Parameters: $1 = '{public}' 2026-07-07 06:58:10.149 UTC [126475] LOG: execute s6: SELECT t.typname AS name, e.enumlabel AS value, n.nspname AS namespace, obj_description(t.oid, 'pg_type') AS description FROM pg_type t JOIN pg_enum e ON t.oid = e.enumtypid JOIN pg_catalog.pg_namespace n ON n.oid = t.typnamespace WHERE n.nspname = ANY ( $1 ) ORDER BY e.enumsortorder 2026-07-07 06:58:10.149 UTC [126475] DETAIL: Parameters: $1 = '{public}' 2026-07-07 06:58:10.149 UTC [126475] LOG: duration: 0.348 ms 2026-07-07 06:58:10.150 UTC [126475] LOG: duration: 1.101 ms parse s7: SELECT oid.namespace, info.table_name, info.column_name, format_type(att.atttypid, att.atttypmod) as formatted_type, info.numeric_precision, info.numeric_scale, info.numeric_precision_radix, info.datetime_precision, info.data_type, info.udt_schema as type_schema_name, info.udt_name as full_data_type, pg_get_expr(attdef.adbin, attdef.adrelid) AS column_default, info.is_nullable, info.is_identity, info.character_maximum_length, col_description(att.attrelid, ordinal_position) AS description FROM information_schema.columns info JOIN pg_attribute att ON att.attname = info.column_name JOIN ( SELECT pg_class.oid, relname, pg_namespace.nspname as namespace FROM pg_class JOIN pg_namespace on pg_namespace.oid = pg_class.relnamespace AND pg_namespace.nspname = ANY ( $1 ) WHERE reltype > 0 ) as oid on oid.oid = att.attrelid AND relname = info.table_name AND namespace = info.table_schema LEFT OUTER JOIN pg_attrdef attdef ON attdef.adrelid = att.attrelid AND attdef.adnum = att.attnum AND table_schema = namespace WHERE table_schema = ANY ( $1 ) ORDER BY namespace, table_name, ordinal_position; 2026-07-07 06:58:10.153 UTC [126475] LOG: duration: 2.910 ms bind s7: SELECT oid.namespace, info.table_name, info.column_name, format_type(att.atttypid, att.atttypmod) as formatted_type, info.numeric_precision, info.numeric_scale, info.numeric_precision_radix, info.datetime_precision, info.data_type, info.udt_schema as type_schema_name, info.udt_name as full_data_type, pg_get_expr(attdef.adbin, attdef.adrelid) AS column_default, info.is_nullable, info.is_identity, info.character_maximum_length, col_description(att.attrelid, ordinal_position) AS description FROM information_schema.columns info JOIN pg_attribute att ON att.attname = info.column_name JOIN ( SELECT pg_class.oid, relname, pg_namespace.nspname as namespace FROM pg_class JOIN pg_namespace on pg_namespace.oid = pg_class.relnamespace AND pg_namespace.nspname = ANY ( $1 ) WHERE reltype > 0 ) as oid on oid.oid = att.attrelid AND relname = info.table_name AND namespace = info.table_schema LEFT OUTER JOIN pg_attrdef attdef ON attdef.adrelid = att.attrelid AND attdef.adnum = att.attnum AND table_schema = namespace WHERE table_schema = ANY ( $1 ) ORDER BY namespace, table_name, ordinal_position; 2026-07-07 06:58:10.153 UTC [126475] DETAIL: Parameters: $1 = '{public}' 2026-07-07 06:58:10.153 UTC [126475] LOG: execute s7: SELECT oid.namespace, info.table_name, info.column_name, format_type(att.atttypid, att.atttypmod) as formatted_type, info.numeric_precision, info.numeric_scale, info.numeric_precision_radix, info.datetime_precision, info.data_type, info.udt_schema as type_schema_name, info.udt_name as full_data_type, pg_get_expr(attdef.adbin, attdef.adrelid) AS column_default, info.is_nullable, info.is_identity, info.character_maximum_length, col_description(att.attrelid, ordinal_position) AS description FROM information_schema.columns info JOIN pg_attribute att ON att.attname = info.column_name JOIN ( SELECT pg_class.oid, relname, pg_namespace.nspname as namespace FROM pg_class JOIN pg_namespace on pg_namespace.oid = pg_class.relnamespace AND pg_namespace.nspname = ANY ( $1 ) WHERE reltype > 0 ) as oid on oid.oid = att.attrelid AND relname = info.table_name AND namespace = info.table_schema LEFT OUTER JOIN pg_attrdef attdef ON attdef.adrelid = att.attrelid AND attdef.adnum = att.attnum AND table_schema = namespace WHERE table_schema = ANY ( $1 ) ORDER BY namespace, table_name, ordinal_position; 2026-07-07 06:58:10.153 UTC [126475] DETAIL: Parameters: $1 = '{public}' 2026-07-07 06:58:10.172 UTC [126475] LOG: duration: 19.173 ms 2026-07-07 06:58:10.174 UTC [126475] LOG: duration: 0.186 ms parse s8: SELECT con.oid AS "con_id", att2.attname AS "child_column", cl.relname AS "parent_table", att.attname AS "parent_column", con.confdeltype, con.confupdtype, rel_ns.nspname AS "referenced_schema_name", conname AS constraint_name, child, parent, table_name, namespace, condeferrable, condeferred FROM (SELECT ns.nspname AS "namespace", unnest(con1.conkey) AS "parent", unnest(con1.confkey) AS "child", cl.relname AS table_name, ns.nspname AS schema_name, generate_subscripts(con1.conkey, 1) AS colidx, con1.oid, con1.confrelid, con1.conrelid, con1.conname, con1.confdeltype, con1.confupdtype, con1.condeferrable AS condeferrable, con1.condeferred AS condeferred FROM pg_class cl join pg_constraint con1 on con1.conrelid = cl.oid join pg_namespace ns on cl.relnamespace = ns.oid WHERE ns.nspname = ANY ( $1 ) and con1.contype = 'f' ORDER BY colidx ) con JOIN pg_attribute att on att.attrelid = con.confrelid and att.attnum = con.child JOIN pg_class cl on cl.oid = con.confrelid JOIN pg_attribute att2 on att2.attrelid = con.conrelid and att2.attnum = con.parent JOIN pg_class rel_cl on con.confrelid = rel_cl.oid JOIN pg_namespace rel_ns on rel_cl.relnamespace = rel_ns.oid ORDER BY namespace, table_name, constraint_name, con_id, con.colidx; 2026-07-07 06:58:10.175 UTC [126475] LOG: duration: 0.578 ms bind s8: SELECT con.oid AS "con_id", att2.attname AS "child_column", cl.relname AS "parent_table", att.attname AS "parent_column", con.confdeltype, con.confupdtype, rel_ns.nspname AS "referenced_schema_name", conname AS constraint_name, child, parent, table_name, namespace, condeferrable, condeferred FROM (SELECT ns.nspname AS "namespace", unnest(con1.conkey) AS "parent", unnest(con1.confkey) AS "child", cl.relname AS table_name, ns.nspname AS schema_name, generate_subscripts(con1.conkey, 1) AS colidx, con1.oid, con1.confrelid, con1.conrelid, con1.conname, con1.confdeltype, con1.confupdtype, con1.condeferrable AS condeferrable, con1.condeferred AS condeferred FROM pg_class cl join pg_constraint con1 on con1.conrelid = cl.oid join pg_namespace ns on cl.relnamespace = ns.oid WHERE ns.nspname = ANY ( $1 ) and con1.contype = 'f' ORDER BY colidx ) con JOIN pg_attribute att on att.attrelid = con.confrelid and att.attnum = con.child JOIN pg_class cl on cl.oid = con.confrelid JOIN pg_attribute att2 on att2.attrelid = con.conrelid and att2.attnum = con.parent JOIN pg_class rel_cl on con.confrelid = rel_cl.oid JOIN pg_namespace rel_ns on rel_cl.relnamespace = rel_ns.oid ORDER BY namespace, table_name, constraint_name, con_id, con.colidx; 2026-07-07 06:58:10.175 UTC [126475] DETAIL: Parameters: $1 = '{public}' 2026-07-07 06:58:10.175 UTC [126475] LOG: execute s8: SELECT con.oid AS "con_id", att2.attname AS "child_column", cl.relname AS "parent_table", att.attname AS "parent_column", con.confdeltype, con.confupdtype, rel_ns.nspname AS "referenced_schema_name", conname AS constraint_name, child, parent, table_name, namespace, condeferrable, condeferred FROM (SELECT ns.nspname AS "namespace", unnest(con1.conkey) AS "parent", unnest(con1.confkey) AS "child", cl.relname AS table_name, ns.nspname AS schema_name, generate_subscripts(con1.conkey, 1) AS colidx, con1.oid, con1.confrelid, con1.conrelid, con1.conname, con1.confdeltype, con1.confupdtype, con1.condeferrable AS condeferrable, con1.condeferred AS condeferred FROM pg_class cl join pg_constraint con1 on con1.conrelid = cl.oid join pg_namespace ns on cl.relnamespace = ns.oid WHERE ns.nspname = ANY ( $1 ) and con1.contype = 'f' ORDER BY colidx ) con JOIN pg_attribute att on att.attrelid = con.confrelid and att.attnum = con.child JOIN pg_class cl on cl.oid = con.confrelid JOIN pg_attribute att2 on att2.attrelid = con.conrelid and att2.attnum = con.parent JOIN pg_class rel_cl on con.confrelid = rel_cl.oid JOIN pg_namespace rel_ns on rel_cl.relnamespace = rel_ns.oid ORDER BY namespace, table_name, constraint_name, con_id, con.colidx; 2026-07-07 06:58:10.175 UTC [126475] DETAIL: Parameters: $1 = '{public}' 2026-07-07 06:58:10.175 UTC [126475] LOG: duration: 0.772 ms 2026-07-07 06:58:10.176 UTC [126475] LOG: duration: 0.174 ms parse s9: WITH rawindex AS ( SELECT indrelid, indexrelid, indisunique, indisprimary, unnest(indkey) AS indkeyid, generate_subscripts(indkey, 1) AS indkeyidx, unnest(indclass) AS indclass, unnest(indoption) AS indoption FROM pg_index -- https://www.postgresql.org/docs/current/catalog-pg-index.html WHERE indpred IS NULL -- filter out partial indexes AND NOT indisexclusion -- filter out exclusion constraints ) SELECT schemainfo.nspname AS namespace, indexinfo.relname AS index_name, tableinfo.relname AS table_name, columninfo.attname AS column_name, rawindex.indisunique AS is_unique, rawindex.indisprimary AS is_primary_key, rawindex.indkeyidx AS column_index, opclass.opcname AS opclass, opclass.opcdefault AS opcdefault, indexaccess.amname AS index_algo, CASE rawindex.indoption & 1 WHEN 1 THEN 'DESC' ELSE 'ASC' END AS column_order, CASE rawindex.indoption & 2 WHEN 2 THEN true ELSE false END AS nulls_first, pc.condeferrable AS condeferrable, pc.condeferred AS condeferred FROM rawindex INNER JOIN pg_class AS tableinfo ON tableinfo.oid = rawindex.indrelid INNER JOIN pg_class AS indexinfo ON indexinfo.oid = rawindex.indexrelid INNER JOIN pg_namespace AS schemainfo ON schemainfo.oid = tableinfo.relnamespace LEFT JOIN pg_attribute AS columninfo ON columninfo.attrelid = tableinfo.oid AND columninfo.attnum = rawindex.indkeyid INNER JOIN pg_am AS indexaccess ON indexaccess.oid = indexinfo.relam LEFT JOIN pg_opclass AS opclass -- left join because crdb has no opclasses ON opclass.oid = rawindex.indclass LEFT JOIN pg_constraint pc ON rawindex.indexrelid = pc.conindid AND pc.contype <> 'f' WHERE schemainfo.nspname = ANY ( $1 ) ORDER BY namespace, table_name, index_name, column_index; 2026-07-07 06:58:10.177 UTC [126475] LOG: duration: 0.963 ms bind s9: WITH rawindex AS ( SELECT indrelid, indexrelid, indisunique, indisprimary, unnest(indkey) AS indkeyid, generate_subscripts(indkey, 1) AS indkeyidx, unnest(indclass) AS indclass, unnest(indoption) AS indoption FROM pg_index -- https://www.postgresql.org/docs/current/catalog-pg-index.html WHERE indpred IS NULL -- filter out partial indexes AND NOT indisexclusion -- filter out exclusion constraints ) SELECT schemainfo.nspname AS namespace, indexinfo.relname AS index_name, tableinfo.relname AS table_name, columninfo.attname AS column_name, rawindex.indisunique AS is_unique, rawindex.indisprimary AS is_primary_key, rawindex.indkeyidx AS column_index, opclass.opcname AS opclass, opclass.opcdefault AS opcdefault, indexaccess.amname AS index_algo, CASE rawindex.indoption & 1 WHEN 1 THEN 'DESC' ELSE 'ASC' END AS column_order, CASE rawindex.indoption & 2 WHEN 2 THEN true ELSE false END AS nulls_first, pc.condeferrable AS condeferrable, pc.condeferred AS condeferred FROM rawindex INNER JOIN pg_class AS tableinfo ON tableinfo.oid = rawindex.indrelid INNER JOIN pg_class AS indexinfo ON indexinfo.oid = rawindex.indexrelid INNER JOIN pg_namespace AS schemainfo ON schemainfo.oid = tableinfo.relnamespace LEFT JOIN pg_attribute AS columninfo ON columninfo.attrelid = tableinfo.oid AND columninfo.attnum = rawindex.indkeyid INNER JOIN pg_am AS indexaccess ON indexaccess.oid = indexinfo.relam LEFT JOIN pg_opclass AS opclass -- left join because crdb has no opclasses ON opclass.oid = rawindex.indclass LEFT JOIN pg_constraint pc ON rawindex.indexrelid = pc.conindid AND pc.contype <> 'f' WHERE schemainfo.nspname = ANY ( $1 ) ORDER BY namespace, table_name, index_name, column_index; 2026-07-07 06:58:10.177 UTC [126475] DETAIL: Parameters: $1 = '{public}' 2026-07-07 06:58:10.177 UTC [126475] LOG: execute s9: WITH rawindex AS ( SELECT indrelid, indexrelid, indisunique, indisprimary, unnest(indkey) AS indkeyid, generate_subscripts(indkey, 1) AS indkeyidx, unnest(indclass) AS indclass, unnest(indoption) AS indoption FROM pg_index -- https://www.postgresql.org/docs/current/catalog-pg-index.html WHERE indpred IS NULL -- filter out partial indexes AND NOT indisexclusion -- filter out exclusion constraints ) SELECT schemainfo.nspname AS namespace, indexinfo.relname AS index_name, tableinfo.relname AS table_name, columninfo.attname AS column_name, rawindex.indisunique AS is_unique, rawindex.indisprimary AS is_primary_key, rawindex.indkeyidx AS column_index, opclass.opcname AS opclass, opclass.opcdefault AS opcdefault, indexaccess.amname AS index_algo, CASE rawindex.indoption & 1 WHEN 1 THEN 'DESC' ELSE 'ASC' END AS column_order, CASE rawindex.indoption & 2 WHEN 2 THEN true ELSE false END AS nulls_first, pc.condeferrable AS condeferrable, pc.condeferred AS condeferred FROM rawindex INNER JOIN pg_class AS tableinfo ON tableinfo.oid = rawindex.indrelid INNER JOIN pg_class AS indexinfo ON indexinfo.oid = rawindex.indexrelid INNER JOIN pg_namespace AS schemainfo ON schemainfo.oid = tableinfo.relnamespace LEFT JOIN pg_attribute AS columninfo ON columninfo.attrelid = tableinfo.oid AND columninfo.attnum = rawindex.indkeyid INNER JOIN pg_am AS indexaccess ON indexaccess.oid = indexinfo.relam LEFT JOIN pg_opclass AS opclass -- left join because crdb has no opclasses ON opclass.oid = rawindex.indclass LEFT JOIN pg_constraint pc ON rawindex.indexrelid = pc.conindid AND pc.contype <> 'f' WHERE schemainfo.nspname = ANY ( $1 ) ORDER BY namespace, table_name, index_name, column_index; 2026-07-07 06:58:10.177 UTC [126475] DETAIL: Parameters: $1 = '{public}' 2026-07-07 06:58:10.185 UTC [126475] LOG: duration: 8.514 ms 2026-07-07 06:58:10.186 UTC [126475] LOG: duration: 0.071 ms parse s10: SELECT p.proname AS name, n.nspname as namespace, CASE WHEN l.lanname = 'internal' THEN p.prosrc ELSE pg_get_functiondef(p.oid) END as definition FROM pg_proc p LEFT JOIN pg_namespace n ON p.pronamespace = n.oid LEFT JOIN pg_language l ON p.prolang = l.oid WHERE n.nspname = ANY ( $1 ) 2026-07-07 06:58:10.186 UTC [126475] LOG: duration: 0.290 ms bind s10: SELECT p.proname AS name, n.nspname as namespace, CASE WHEN l.lanname = 'internal' THEN p.prosrc ELSE pg_get_functiondef(p.oid) END as definition FROM pg_proc p LEFT JOIN pg_namespace n ON p.pronamespace = n.oid LEFT JOIN pg_language l ON p.prolang = l.oid WHERE n.nspname = ANY ( $1 ) 2026-07-07 06:58:10.186 UTC [126475] DETAIL: Parameters: $1 = '{public}' 2026-07-07 06:58:10.186 UTC [126475] LOG: execute s10: SELECT p.proname AS name, n.nspname as namespace, CASE WHEN l.lanname = 'internal' THEN p.prosrc ELSE pg_get_functiondef(p.oid) END as definition FROM pg_proc p LEFT JOIN pg_namespace n ON p.pronamespace = n.oid LEFT JOIN pg_language l ON p.prolang = l.oid WHERE n.nspname = ANY ( $1 ) 2026-07-07 06:58:10.186 UTC [126475] DETAIL: Parameters: $1 = '{public}' 2026-07-07 06:58:10.187 UTC [126475] LOG: duration: 0.605 ms 2026-07-07 06:58:10.187 UTC [126475] LOG: duration: 0.039 ms parse s11: SELECT ext.extname AS extension_name, ext.extversion AS extension_version, ext.extrelocatable AS extension_relocatable, pn.nspname AS extension_schema FROM pg_extension ext INNER JOIN pg_namespace pn ON ext.extnamespace = pn.oid ORDER BY ext.extname ASC 2026-07-07 06:58:10.187 UTC [126475] LOG: duration: 0.167 ms bind s11: SELECT ext.extname AS extension_name, ext.extversion AS extension_version, ext.extrelocatable AS extension_relocatable, pn.nspname AS extension_schema FROM pg_extension ext INNER JOIN pg_namespace pn ON ext.extnamespace = pn.oid ORDER BY ext.extname ASC 2026-07-07 06:58:10.187 UTC [126475] LOG: execute s11: SELECT ext.extname AS extension_name, ext.extversion AS extension_version, ext.extrelocatable AS extension_relocatable, pn.nspname AS extension_schema FROM pg_extension ext INNER JOIN pg_namespace pn ON ext.extnamespace = pn.oid ORDER BY ext.extname ASC 2026-07-07 06:58:10.188 UTC [126475] LOG: duration: 0.092 ms 2026-07-07 06:58:10.188 UTC [126475] LOG: duration: 0.255 ms parse s12: SELECT sequence_name, sequence_schema AS namespace, start_value::INT8, minimum_value::INT8 AS min_value, maximum_value::INT8 AS max_value, increment::INT8 AS increment_by, (CASE cycle_option WHEN 'yes' THEN TRUE ELSE FALSE END) AS cycle, 0::INT8 AS cache_size FROM information_schema.sequences WHERE sequence_schema = ANY ( $1 ) ORDER BY sequence_name 2026-07-07 06:58:10.188 UTC [126475] LOG: duration: 0.251 ms bind s12: SELECT sequence_name, sequence_schema AS namespace, start_value::INT8, minimum_value::INT8 AS min_value, maximum_value::INT8 AS max_value, increment::INT8 AS increment_by, (CASE cycle_option WHEN 'yes' THEN TRUE ELSE FALSE END) AS cycle, 0::INT8 AS cache_size FROM information_schema.sequences WHERE sequence_schema = ANY ( $1 ) ORDER BY sequence_name 2026-07-07 06:58:10.188 UTC [126475] DETAIL: Parameters: $1 = '{public}' 2026-07-07 06:58:10.188 UTC [126475] LOG: execute s12: SELECT sequence_name, sequence_schema AS namespace, start_value::INT8, minimum_value::INT8 AS min_value, maximum_value::INT8 AS max_value, increment::INT8 AS increment_by, (CASE cycle_option WHEN 'yes' THEN TRUE ELSE FALSE END) AS cycle, 0::INT8 AS cache_size FROM information_schema.sequences WHERE sequence_schema = ANY ( $1 ) ORDER BY sequence_name 2026-07-07 06:58:10.188 UTC [126475] DETAIL: Parameters: $1 = '{public}' 2026-07-07 06:58:10.188 UTC [126475] LOG: duration: 0.151 ms 2026-07-07 06:58:13.779 UTC [126528] LOG: duration: 0.250 ms parse s0: SELECT 1 2026-07-07 06:58:13.779 UTC [126528] LOG: duration: 0.095 ms bind s0: SELECT 1 2026-07-07 06:58:13.779 UTC [126528] LOG: execute s0: SELECT 1 2026-07-07 06:58:13.779 UTC [126528] LOG: duration: 0.014 ms 2026-07-07 06:58:13.787 UTC [126529] LOG: duration: 0.580 ms parse s1: WITH existing_views AS ( SELECT viewname FROM pg_views WHERE schemaname = 'public' AND viewname IN ( 'LiteLLM_VerificationTokenView', 'MonthlyGlobalSpend', 'Last30dKeysBySpend', 'Last30dModelsBySpend', 'MonthlyGlobalSpendPerKey', 'MonthlyGlobalSpendPerUserPerKey', 'Last30dTopEndUsersSpend', 'DailyTagSpend' ) ) SELECT (SELECT COUNT(*) FROM existing_views) AS view_count, ARRAY_AGG(viewname) AS view_names FROM existing_views 2026-07-07 06:58:13.788 UTC [126529] LOG: duration: 0.706 ms bind s1: WITH existing_views AS ( SELECT viewname FROM pg_views WHERE schemaname = 'public' AND viewname IN ( 'LiteLLM_VerificationTokenView', 'MonthlyGlobalSpend', 'Last30dKeysBySpend', 'Last30dModelsBySpend', 'MonthlyGlobalSpendPerKey', 'MonthlyGlobalSpendPerUserPerKey', 'Last30dTopEndUsersSpend', 'DailyTagSpend' ) ) SELECT (SELECT COUNT(*) FROM existing_views) AS view_count, ARRAY_AGG(viewname) AS view_names FROM existing_views 2026-07-07 06:58:13.788 UTC [126529] LOG: execute s1: WITH existing_views AS ( SELECT viewname FROM pg_views WHERE schemaname = 'public' AND viewname IN ( 'LiteLLM_VerificationTokenView', 'MonthlyGlobalSpend', 'Last30dKeysBySpend', 'Last30dModelsBySpend', 'MonthlyGlobalSpendPerKey', 'MonthlyGlobalSpendPerUserPerKey', 'Last30dTopEndUsersSpend', 'DailyTagSpend' ) ) SELECT (SELECT COUNT(*) FROM existing_views) AS view_count, ARRAY_AGG(viewname) AS view_names FROM existing_views 2026-07-07 06:58:13.788 UTC [126529] LOG: duration: 0.060 ms 2026-07-07 06:58:13.788 UTC [126529] LOG: duration: 0.082 ms parse s2: SELECT "public"."LiteLLM_Config"."param_name", "public"."LiteLLM_Config"."param_value" FROM "public"."LiteLLM_Config" WHERE "public"."LiteLLM_Config"."param_name" = $1 LIMIT $2 OFFSET $3 /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */ 2026-07-07 06:58:13.789 UTC [126529] LOG: duration: 0.118 ms bind s2: SELECT "public"."LiteLLM_Config"."param_name", "public"."LiteLLM_Config"."param_value" FROM "public"."LiteLLM_Config" WHERE "public"."LiteLLM_Config"."param_name" = $1 LIMIT $2 OFFSET $3 /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */ 2026-07-07 06:58:13.789 UTC [126529] DETAIL: Parameters: $1 = 'general_settings', $2 = '1', $3 = '0' 2026-07-07 06:58:13.789 UTC [126529] LOG: execute s2: SELECT "public"."LiteLLM_Config"."param_name", "public"."LiteLLM_Config"."param_value" FROM "public"."LiteLLM_Config" WHERE "public"."LiteLLM_Config"."param_name" = $1 LIMIT $2 OFFSET $3 /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */ 2026-07-07 06:58:13.789 UTC [126529] DETAIL: Parameters: $1 = 'general_settings', $2 = '1', $3 = '0' 2026-07-07 06:58:13.789 UTC [126529] LOG: duration: 0.008 ms 2026-07-07 06:58:13.790 UTC [126529] LOG: duration: 0.125 ms parse s4: SELECT "public"."LiteLLM_UserTable"."user_id", "public"."LiteLLM_UserTable"."user_alias", "public"."LiteLLM_UserTable"."team_id", "public"."LiteLLM_UserTable"."sso_user_id", "public"."LiteLLM_UserTable"."organization_id", "public"."LiteLLM_UserTable"."object_permission_id", "public"."LiteLLM_UserTable"."password", "public"."LiteLLM_UserTable"."teams", "public"."LiteLLM_UserTable"."user_role", "public"."LiteLLM_UserTable"."max_budget", "public"."LiteLLM_UserTable"."spend", "public"."LiteLLM_UserTable"."user_email", "public"."LiteLLM_UserTable"."models", "public"."LiteLLM_UserTable"."metadata", "public"."LiteLLM_UserTable"."max_parallel_requests", "public"."LiteLLM_UserTable"."tpm_limit", "public"."LiteLLM_UserTable"."rpm_limit", "public"."LiteLLM_UserTable"."budget_duration", "public"."LiteLLM_UserTable"."budget_reset_at", "public"."LiteLLM_UserTable"."allowed_cache_controls", "public"."LiteLLM_UserTable"."policies", "public"."LiteLLM_UserTable"."model_spend", "public"."LiteLLM_UserTable"."model_max_budget", "public"."LiteLLM_UserTable"."created_at", "public"."LiteLLM_UserTable"."updated_at" FROM "public"."LiteLLM_UserTable" WHERE "public"."LiteLLM_UserTable"."password" IS NOT NULL OFFSET $1 /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */ 2026-07-07 06:58:13.790 UTC [126531] LOG: duration: 0.302 ms parse s3: SELECT reltuples::BIGINT FROM pg_class WHERE oid = '"LiteLLM_SpendLogs"'::regclass; 2026-07-07 06:58:13.790 UTC [126528] LOG: duration: 0.167 ms parse s5: SELECT "public"."LiteLLM_Config"."param_name", "public"."LiteLLM_Config"."param_value" FROM "public"."LiteLLM_Config" WHERE "public"."LiteLLM_Config"."param_name" = $1 LIMIT $2 OFFSET $3 /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */ 2026-07-07 06:58:13.790 UTC [126529] LOG: duration: 0.105 ms bind s4: SELECT "public"."LiteLLM_UserTable"."user_id", "public"."LiteLLM_UserTable"."user_alias", "public"."LiteLLM_UserTable"."team_id", "public"."LiteLLM_UserTable"."sso_user_id", "public"."LiteLLM_UserTable"."organization_id", "public"."LiteLLM_UserTable"."object_permission_id", "public"."LiteLLM_UserTable"."password", "public"."LiteLLM_UserTable"."teams", "public"."LiteLLM_UserTable"."user_role", "public"."LiteLLM_UserTable"."max_budget", "public"."LiteLLM_UserTable"."spend", "public"."LiteLLM_UserTable"."user_email", "public"."LiteLLM_UserTable"."models", "public"."LiteLLM_UserTable"."metadata", "public"."LiteLLM_UserTable"."max_parallel_requests", "public"."LiteLLM_UserTable"."tpm_limit", "public"."LiteLLM_UserTable"."rpm_limit", "public"."LiteLLM_UserTable"."budget_duration", "public"."LiteLLM_UserTable"."budget_reset_at", "public"."LiteLLM_UserTable"."allowed_cache_controls", "public"."LiteLLM_UserTable"."policies", "public"."LiteLLM_UserTable"."model_spend", "public"."LiteLLM_UserTable"."model_max_budget", "public"."LiteLLM_UserTable"."created_at", "public"."LiteLLM_UserTable"."updated_at" FROM "public"."LiteLLM_UserTable" WHERE "public"."LiteLLM_UserTable"."password" IS NOT NULL OFFSET $1 /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */ 2026-07-07 06:58:13.790 UTC [126529] DETAIL: Parameters: $1 = '0' 2026-07-07 06:58:13.790 UTC [126529] LOG: execute s4: SELECT "public"."LiteLLM_UserTable"."user_id", "public"."LiteLLM_UserTable"."user_alias", "public"."LiteLLM_UserTable"."team_id", "public"."LiteLLM_UserTable"."sso_user_id", "public"."LiteLLM_UserTable"."organization_id", "public"."LiteLLM_UserTable"."object_permission_id", "public"."LiteLLM_UserTable"."password", "public"."LiteLLM_UserTable"."teams", "public"."LiteLLM_UserTable"."user_role", "public"."LiteLLM_UserTable"."max_budget", "public"."LiteLLM_UserTable"."spend", "public"."LiteLLM_UserTable"."user_email", "public"."LiteLLM_UserTable"."models", "public"."LiteLLM_UserTable"."metadata", "public"."LiteLLM_UserTable"."max_parallel_requests", "public"."LiteLLM_UserTable"."tpm_limit", "public"."LiteLLM_UserTable"."rpm_limit", "public"."LiteLLM_UserTable"."budget_duration", "public"."LiteLLM_UserTable"."budget_reset_at", "public"."LiteLLM_UserTable"."allowed_cache_controls", "public"."LiteLLM_UserTable"."policies", "public"."LiteLLM_UserTable"."model_spend", "public"."LiteLLM_UserTable"."model_max_budget", "public"."LiteLLM_UserTable"."created_at", "public"."LiteLLM_UserTable"."updated_at" FROM "public"."LiteLLM_UserTable" WHERE "public"."LiteLLM_UserTable"."password" IS NOT NULL OFFSET $1 /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */ 2026-07-07 06:58:13.790 UTC [126529] DETAIL: Parameters: $1 = '0' 2026-07-07 06:58:13.790 UTC [126529] LOG: duration: 0.007 ms 2026-07-07 06:58:13.790 UTC [126528] LOG: duration: 0.188 ms bind s5: SELECT "public"."LiteLLM_Config"."param_name", "public"."LiteLLM_Config"."param_value" FROM "public"."LiteLLM_Config" WHERE "public"."LiteLLM_Config"."param_name" = $1 LIMIT $2 OFFSET $3 /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */ 2026-07-07 06:58:13.790 UTC [126528] DETAIL: Parameters: $1 = 'cloudzero_settings', $2 = '1', $3 = '0' 2026-07-07 06:58:13.790 UTC [126528] LOG: execute s5: SELECT "public"."LiteLLM_Config"."param_name", "public"."LiteLLM_Config"."param_value" FROM "public"."LiteLLM_Config" WHERE "public"."LiteLLM_Config"."param_name" = $1 LIMIT $2 OFFSET $3 /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */ 2026-07-07 06:58:13.790 UTC [126528] DETAIL: Parameters: $1 = 'cloudzero_settings', $2 = '1', $3 = '0' 2026-07-07 06:58:13.790 UTC [126531] LOG: duration: 0.250 ms bind s3: SELECT reltuples::BIGINT FROM pg_class WHERE oid = '"LiteLLM_SpendLogs"'::regclass; 2026-07-07 06:58:13.790 UTC [126528] LOG: duration: 0.012 ms 2026-07-07 06:58:13.790 UTC [126531] LOG: execute s3: SELECT reltuples::BIGINT FROM pg_class WHERE oid = '"LiteLLM_SpendLogs"'::regclass; 2026-07-07 06:58:13.791 UTC [126531] LOG: duration: 0.011 ms 2026-07-07 06:58:13.792 UTC [126528] LOG: duration: 0.030 ms bind s5: SELECT "public"."LiteLLM_Config"."param_name", "public"."LiteLLM_Config"."param_value" FROM "public"."LiteLLM_Config" WHERE "public"."LiteLLM_Config"."param_name" = $1 LIMIT $2 OFFSET $3 /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */ 2026-07-07 06:58:13.792 UTC [126528] DETAIL: Parameters: $1 = 'vantage_settings', $2 = '1', $3 = '0' 2026-07-07 06:58:13.792 UTC [126528] LOG: execute s5: SELECT "public"."LiteLLM_Config"."param_name", "public"."LiteLLM_Config"."param_value" FROM "public"."LiteLLM_Config" WHERE "public"."LiteLLM_Config"."param_name" = $1 LIMIT $2 OFFSET $3 /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */ 2026-07-07 06:58:13.792 UTC [126528] DETAIL: Parameters: $1 = 'vantage_settings', $2 = '1', $3 = '0' 2026-07-07 06:58:13.792 UTC [126528] LOG: duration: 0.007 ms 2026-07-07 06:58:13.793 UTC [126528] LOG: duration: 0.090 ms parse s6: SELECT "public"."LiteLLM_UISettings"."id", "public"."LiteLLM_UISettings"."ui_settings", "public"."LiteLLM_UISettings"."created_at", "public"."LiteLLM_UISettings"."updated_at" FROM "public"."LiteLLM_UISettings" WHERE ("public"."LiteLLM_UISettings"."id" = $1 AND 1=1) LIMIT $2 OFFSET $3 /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */ 2026-07-07 06:58:13.793 UTC [126528] LOG: duration: 0.097 ms bind s6: SELECT "public"."LiteLLM_UISettings"."id", "public"."LiteLLM_UISettings"."ui_settings", "public"."LiteLLM_UISettings"."created_at", "public"."LiteLLM_UISettings"."updated_at" FROM "public"."LiteLLM_UISettings" WHERE ("public"."LiteLLM_UISettings"."id" = $1 AND 1=1) LIMIT $2 OFFSET $3 /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */ 2026-07-07 06:58:13.793 UTC [126528] DETAIL: Parameters: $1 = 'ui_settings', $2 = '1', $3 = '0' 2026-07-07 06:58:13.793 UTC [126528] LOG: execute s6: SELECT "public"."LiteLLM_UISettings"."id", "public"."LiteLLM_UISettings"."ui_settings", "public"."LiteLLM_UISettings"."created_at", "public"."LiteLLM_UISettings"."updated_at" FROM "public"."LiteLLM_UISettings" WHERE ("public"."LiteLLM_UISettings"."id" = $1 AND 1=1) LIMIT $2 OFFSET $3 /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */ 2026-07-07 06:58:13.793 UTC [126528] DETAIL: Parameters: $1 = 'ui_settings', $2 = '1', $3 = '0' 2026-07-07 06:58:13.793 UTC [126528] LOG: duration: 0.011 ms 2026-07-07 06:58:14.509 UTC [126528] LOG: statement: BEGIN 2026-07-07 06:58:14.509 UTC [126528] LOG: duration: 0.085 ms 2026-07-07 06:58:14.509 UTC [126528] LOG: duration: 0.260 ms parse s7: SELECT "public"."LiteLLM_VerificationToken"."token" FROM "public"."LiteLLM_VerificationToken" WHERE ("public"."LiteLLM_VerificationToken"."token" = $1 AND 1=1) OFFSET $2 /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */ 2026-07-07 06:58:14.510 UTC [126528] LOG: duration: 0.290 ms bind s7: SELECT "public"."LiteLLM_VerificationToken"."token" FROM "public"."LiteLLM_VerificationToken" WHERE ("public"."LiteLLM_VerificationToken"."token" = $1 AND 1=1) OFFSET $2 /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */ 2026-07-07 06:58:14.510 UTC [126528] DETAIL: Parameters: $1 = 'f0f36a7d4831f33ca934ea86c0c7d3173519f791c38b5219bc000c089e28c79c', $2 = '0' 2026-07-07 06:58:14.510 UTC [126528] LOG: execute s7: SELECT "public"."LiteLLM_VerificationToken"."token" FROM "public"."LiteLLM_VerificationToken" WHERE ("public"."LiteLLM_VerificationToken"."token" = $1 AND 1=1) OFFSET $2 /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */ 2026-07-07 06:58:14.510 UTC [126528] DETAIL: Parameters: $1 = 'f0f36a7d4831f33ca934ea86c0c7d3173519f791c38b5219bc000c089e28c79c', $2 = '0' 2026-07-07 06:58:14.510 UTC [126528] LOG: duration: 0.039 ms 2026-07-07 06:58:14.510 UTC [126528] LOG: duration: 0.101 ms parse s8: INSERT INTO "public"."LiteLLM_VerificationToken" ("token","key_name","key_alias","soft_budget_cooldown","spend","expires","models","aliases","config","router_settings","user_id","team_id","agent_id","project_id","permissions","max_parallel_requests","metadata","blocked","tpm_limit","rpm_limit","max_budget","budget_duration","budget_reset_at","allowed_cache_controls","allowed_routes","policies","access_group_ids","model_spend","model_max_budget","budget_id","organization_id","object_permission_id","created_at","created_by","updated_at","updated_by","rotation_count","auto_rotate") VALUES ($1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13,$14,$15,$16,$17,$18,$19,$20,$21,$22,$23,$24,$25,$26,$27,$28,$29,$30,$31,$32,$33,$34,$35,$36,$37,$38) RETURNING "public"."LiteLLM_VerificationToken"."token" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */ 2026-07-07 06:58:14.510 UTC [126528] LOG: duration: 0.065 ms bind s8: INSERT INTO "public"."LiteLLM_VerificationToken" ("token","key_name","key_alias","soft_budget_cooldown","spend","expires","models","aliases","config","router_settings","user_id","team_id","agent_id","project_id","permissions","max_parallel_requests","metadata","blocked","tpm_limit","rpm_limit","max_budget","budget_duration","budget_reset_at","allowed_cache_controls","allowed_routes","policies","access_group_ids","model_spend","model_max_budget","budget_id","organization_id","object_permission_id","created_at","created_by","updated_at","updated_by","rotation_count","auto_rotate") VALUES ($1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13,$14,$15,$16,$17,$18,$19,$20,$21,$22,$23,$24,$25,$26,$27,$28,$29,$30,$31,$32,$33,$34,$35,$36,$37,$38) RETURNING "public"."LiteLLM_VerificationToken"."token" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */ 2026-07-07 06:58:14.510 UTC [126528] DETAIL: Parameters: $1 = 'f0f36a7d4831f33ca934ea86c0c7d3173519f791c38b5219bc000c089e28c79c', $2 = 'sk-...GlOw', $3 = NULL, $4 = 'f', $5 = '0', $6 = NULL, $7 = '{gpt-4o}', $8 = '{}', $9 = '{}', $10 = '{}', $11 = NULL, $12 = NULL, $13 = NULL, $14 = NULL, $15 = '{}', $16 = NULL, $17 = '{"purpose": "pruva-sqli-repro"}', $18 = NULL, $19 = NULL, $20 = NULL, $21 = NULL, $22 = NULL, $23 = NULL, $24 = '{}', $25 = '{}', $26 = '{}', $27 = '{}', $28 = '{}', $29 = '{}', $30 = NULL, $31 = NULL, $32 = NULL, $33 = '2026-07-07 06:58:14.508', $34 = 'default_user_id', $35 = '2026-07-07 06:58:14.508', $36 = 'default_user_id', $37 = '0', $38 = 'f' 2026-07-07 06:58:14.510 UTC [126528] LOG: execute s8: INSERT INTO "public"."LiteLLM_VerificationToken" ("token","key_name","key_alias","soft_budget_cooldown","spend","expires","models","aliases","config","router_settings","user_id","team_id","agent_id","project_id","permissions","max_parallel_requests","metadata","blocked","tpm_limit","rpm_limit","max_budget","budget_duration","budget_reset_at","allowed_cache_controls","allowed_routes","policies","access_group_ids","model_spend","model_max_budget","budget_id","organization_id","object_permission_id","created_at","created_by","updated_at","updated_by","rotation_count","auto_rotate") VALUES ($1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13,$14,$15,$16,$17,$18,$19,$20,$21,$22,$23,$24,$25,$26,$27,$28,$29,$30,$31,$32,$33,$34,$35,$36,$37,$38) RETURNING "public"."LiteLLM_VerificationToken"."token" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */ 2026-07-07 06:58:14.510 UTC [126528] DETAIL: Parameters: $1 = 'f0f36a7d4831f33ca934ea86c0c7d3173519f791c38b5219bc000c089e28c79c', $2 = 'sk-...GlOw', $3 = NULL, $4 = 'f', $5 = '0', $6 = NULL, $7 = '{gpt-4o}', $8 = '{}', $9 = '{}', $10 = '{}', $11 = NULL, $12 = NULL, $13 = NULL, $14 = NULL, $15 = '{}', $16 = NULL, $17 = '{"purpose": "pruva-sqli-repro"}', $18 = NULL, $19 = NULL, $20 = NULL, $21 = NULL, $22 = NULL, $23 = NULL, $24 = '{}', $25 = '{}', $26 = '{}', $27 = '{}', $28 = '{}', $29 = '{}', $30 = NULL, $31 = NULL, $32 = NULL, $33 = '2026-07-07 06:58:14.508', $34 = 'default_user_id', $35 = '2026-07-07 06:58:14.508', $36 = 'default_user_id', $37 = '0', $38 = 'f' 2026-07-07 06:58:14.510 UTC [126528] LOG: duration: 0.306 ms 2026-07-07 06:58:14.511 UTC [126528] LOG: duration: 0.058 ms parse s9: SELECT "public"."LiteLLM_VerificationToken"."token", "public"."LiteLLM_VerificationToken"."key_name", "public"."LiteLLM_VerificationToken"."key_alias", "public"."LiteLLM_VerificationToken"."soft_budget_cooldown", "public"."LiteLLM_VerificationToken"."spend", "public"."LiteLLM_VerificationToken"."expires", "public"."LiteLLM_VerificationToken"."models", "public"."LiteLLM_VerificationToken"."aliases", "public"."LiteLLM_VerificationToken"."config", "public"."LiteLLM_VerificationToken"."router_settings", "public"."LiteLLM_VerificationToken"."user_id", "public"."LiteLLM_VerificationToken"."team_id", "public"."LiteLLM_VerificationToken"."agent_id", "public"."LiteLLM_VerificationToken"."project_id", "public"."LiteLLM_VerificationToken"."permissions", "public"."LiteLLM_VerificationToken"."max_parallel_requests", "public"."LiteLLM_VerificationToken"."metadata", "public"."LiteLLM_VerificationToken"."blocked", "public"."LiteLLM_VerificationToken"."tpm_limit", "public"."LiteLLM_VerificationToken"."rpm_limit", "public"."LiteLLM_VerificationToken"."max_budget", "public"."LiteLLM_VerificationToken"."budget_duration", "public"."LiteLLM_VerificationToken"."budget_reset_at", "public"."LiteLLM_VerificationToken"."allowed_cache_controls", "public"."LiteLLM_VerificationToken"."allowed_routes", "public"."LiteLLM_VerificationToken"."policies", "public"."LiteLLM_VerificationToken"."access_group_ids", "public"."LiteLLM_VerificationToken"."model_spend", "public"."LiteLLM_VerificationToken"."model_max_budget", "public"."LiteLLM_VerificationToken"."budget_id", "public"."LiteLLM_VerificationToken"."organization_id", "public"."LiteLLM_VerificationToken"."object_permission_id", "public"."LiteLLM_VerificationToken"."created_at", "public"."LiteLLM_VerificationToken"."created_by", "public"."LiteLLM_VerificationToken"."updated_at", "public"."LiteLLM_VerificationToken"."updated_by", "public"."LiteLLM_VerificationToken"."last_active", "public"."LiteLLM_VerificationToken"."rotation_count", "public"."LiteLLM_VerificationToken"."auto_rotate", "public"."LiteLLM_VerificationToken"."rotation_interval", "public"."LiteLLM_VerificationToken"."last_rotation_at", "public"."LiteLLM_VerificationToken"."key_rotation_at" FROM "public"."LiteLLM_VerificationToken" WHERE "public"."LiteLLM_VerificationToken"."token" = $1 LIMIT $2 OFFSET $3 /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */ 2026-07-07 06:58:14.511 UTC [126528] LOG: duration: 0.055 ms bind s9: SELECT "public"."LiteLLM_VerificationToken"."token", "public"."LiteLLM_VerificationToken"."key_name", "public"."LiteLLM_VerificationToken"."key_alias", "public"."LiteLLM_VerificationToken"."soft_budget_cooldown", "public"."LiteLLM_VerificationToken"."spend", "public"."LiteLLM_VerificationToken"."expires", "public"."LiteLLM_VerificationToken"."models", "public"."LiteLLM_VerificationToken"."aliases", "public"."LiteLLM_VerificationToken"."config", "public"."LiteLLM_VerificationToken"."router_settings", "public"."LiteLLM_VerificationToken"."user_id", "public"."LiteLLM_VerificationToken"."team_id", "public"."LiteLLM_VerificationToken"."agent_id", "public"."LiteLLM_VerificationToken"."project_id", "public"."LiteLLM_VerificationToken"."permissions", "public"."LiteLLM_VerificationToken"."max_parallel_requests", "public"."LiteLLM_VerificationToken"."metadata", "public"."LiteLLM_VerificationToken"."blocked", "public"."LiteLLM_VerificationToken"."tpm_limit", "public"."LiteLLM_VerificationToken"."rpm_limit", "public"."LiteLLM_VerificationToken"."max_budget", "public"."LiteLLM_VerificationToken"."budget_duration", "public"."LiteLLM_VerificationToken"."budget_reset_at", "public"."LiteLLM_VerificationToken"."allowed_cache_controls", "public"."LiteLLM_VerificationToken"."allowed_routes", "public"."LiteLLM_VerificationToken"."policies", "public"."LiteLLM_VerificationToken"."access_group_ids", "public"."LiteLLM_VerificationToken"."model_spend", "public"."LiteLLM_VerificationToken"."model_max_budget", "public"."LiteLLM_VerificationToken"."budget_id", "public"."LiteLLM_VerificationToken"."organization_id", "public"."LiteLLM_VerificationToken"."object_permission_id", "public"."LiteLLM_VerificationToken"."created_at", "public"."LiteLLM_VerificationToken"."created_by", "public"."LiteLLM_VerificationToken"."updated_at", "public"."LiteLLM_VerificationToken"."updated_by", "public"."LiteLLM_VerificationToken"."last_active", "public"."LiteLLM_VerificationToken"."rotation_count", "public"."LiteLLM_VerificationToken"."auto_rotate", "public"."LiteLLM_VerificationToken"."rotation_interval", "public"."LiteLLM_VerificationToken"."last_rotation_at", "public"."LiteLLM_VerificationToken"."key_rotation_at" FROM "public"."LiteLLM_VerificationToken" WHERE "public"."LiteLLM_VerificationToken"."token" = $1 LIMIT $2 OFFSET $3 /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */ 2026-07-07 06:58:14.511 UTC [126528] DETAIL: Parameters: $1 = 'f0f36a7d4831f33ca934ea86c0c7d3173519f791c38b5219bc000c089e28c79c', $2 = '1', $3 = '0' 2026-07-07 06:58:14.511 UTC [126528] LOG: execute s9: SELECT "public"."LiteLLM_VerificationToken"."token", "public"."LiteLLM_VerificationToken"."key_name", "public"."LiteLLM_VerificationToken"."key_alias", "public"."LiteLLM_VerificationToken"."soft_budget_cooldown", "public"."LiteLLM_VerificationToken"."spend", "public"."LiteLLM_VerificationToken"."expires", "public"."LiteLLM_VerificationToken"."models", "public"."LiteLLM_VerificationToken"."aliases", "public"."LiteLLM_VerificationToken"."config", "public"."LiteLLM_VerificationToken"."router_settings", "public"."LiteLLM_VerificationToken"."user_id", "public"."LiteLLM_VerificationToken"."team_id", "public"."LiteLLM_VerificationToken"."agent_id", "public"."LiteLLM_VerificationToken"."project_id", "public"."LiteLLM_VerificationToken"."permissions", "public"."LiteLLM_VerificationToken"."max_parallel_requests", "public"."LiteLLM_VerificationToken"."metadata", "public"."LiteLLM_VerificationToken"."blocked", "public"."LiteLLM_VerificationToken"."tpm_limit", "public"."LiteLLM_VerificationToken"."rpm_limit", "public"."LiteLLM_VerificationToken"."max_budget", "public"."LiteLLM_VerificationToken"."budget_duration", "public"."LiteLLM_VerificationToken"."budget_reset_at", "public"."LiteLLM_VerificationToken"."allowed_cache_controls", "public"."LiteLLM_VerificationToken"."allowed_routes", "public"."LiteLLM_VerificationToken"."policies", "public"."LiteLLM_VerificationToken"."access_group_ids", "public"."LiteLLM_VerificationToken"."model_spend", "public"."LiteLLM_VerificationToken"."model_max_budget", "public"."LiteLLM_VerificationToken"."budget_id", "public"."LiteLLM_VerificationToken"."organization_id", "public"."LiteLLM_VerificationToken"."object_permission_id", "public"."LiteLLM_VerificationToken"."created_at", "public"."LiteLLM_VerificationToken"."created_by", "public"."LiteLLM_VerificationToken"."updated_at", "public"."LiteLLM_VerificationToken"."updated_by", "public"."LiteLLM_VerificationToken"."last_active", "public"."LiteLLM_VerificationToken"."rotation_count", "public"."LiteLLM_VerificationToken"."auto_rotate", "public"."LiteLLM_VerificationToken"."rotation_interval", "public"."LiteLLM_VerificationToken"."last_rotation_at", "public"."LiteLLM_VerificationToken"."key_rotation_at" FROM "public"."LiteLLM_VerificationToken" WHERE "public"."LiteLLM_VerificationToken"."token" = $1 LIMIT $2 OFFSET $3 /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */ 2026-07-07 06:58:14.511 UTC [126528] DETAIL: Parameters: $1 = 'f0f36a7d4831f33ca934ea86c0c7d3173519f791c38b5219bc000c089e28c79c', $2 = '1', $3 = '0' 2026-07-07 06:58:14.511 UTC [126528] LOG: duration: 0.041 ms 2026-07-07 06:58:14.511 UTC [126528] LOG: statement: COMMIT 2026-07-07 06:58:14.518 UTC [126528] LOG: duration: 6.788 ms 2026-07-07 06:58:14.564 UTC [126528] LOG: duration: 0.479 ms parse s10: SELECT v.*, t.spend AS team_spend, t.max_budget AS team_max_budget, t.soft_budget AS team_soft_budget, t.tpm_limit AS team_tpm_limit, t.rpm_limit AS team_rpm_limit, t.models AS team_models, t.metadata AS team_metadata, t.blocked AS team_blocked, t.team_alias AS team_alias, t.metadata AS team_metadata, t.members_with_roles AS team_members_with_roles, t.object_permission_id AS team_object_permission_id, t.organization_id as org_id, p.project_alias AS project_alias, tm.spend AS team_member_spend, m.aliases AS team_model_aliases, -- Added comma to separate b.* columns b.max_budget AS litellm_budget_table_max_budget, b.tpm_limit AS litellm_budget_table_tpm_limit, b.rpm_limit AS litellm_budget_table_rpm_limit, b.model_max_budget as litellm_budget_table_model_max_budget, b.soft_budget as litellm_budget_table_soft_budget, o.metadata as organization_metadata, o.organization_alias as organization_alias, b2.max_budget as organization_max_budget, b2.tpm_limit as organization_tpm_limit, b2.rpm_limit as organization_rpm_limit FROM "LiteLLM_VerificationToken" AS v LEFT JOIN "LiteLLM_TeamTable" AS t ON v.team_id = t.team_id LEFT JOIN "LiteLLM_TeamMembership" AS tm ON v.team_id = tm.team_id AND tm.user_id = v.user_id LEFT JOIN "LiteLLM_ModelTable" m ON t.model_id = m.id LEFT JOIN "LiteLLM_BudgetTable" AS b ON v.budget_id = b.budget_id LEFT JOIN "LiteLLM_ProjectTable" AS p ON v.project_id = p.project_id LEFT JOIN "LiteLLM_OrganizationTable" AS o ON v.organization_id = o.organization_id LEFT JOIN "LiteLLM_BudgetTable" AS b2 ON o.budget_id = b2.budget_id WHERE v.token = 'not-a-real-token' 2026-07-07 06:58:14.565 UTC [126528] LOG: duration: 1.478 ms bind s10: SELECT v.*, t.spend AS team_spend, t.max_budget AS team_max_budget, t.soft_budget AS team_soft_budget, t.tpm_limit AS team_tpm_limit, t.rpm_limit AS team_rpm_limit, t.models AS team_models, t.metadata AS team_metadata, t.blocked AS team_blocked, t.team_alias AS team_alias, t.metadata AS team_metadata, t.members_with_roles AS team_members_with_roles, t.object_permission_id AS team_object_permission_id, t.organization_id as org_id, p.project_alias AS project_alias, tm.spend AS team_member_spend, m.aliases AS team_model_aliases, -- Added comma to separate b.* columns b.max_budget AS litellm_budget_table_max_budget, b.tpm_limit AS litellm_budget_table_tpm_limit, b.rpm_limit AS litellm_budget_table_rpm_limit, b.model_max_budget as litellm_budget_table_model_max_budget, b.soft_budget as litellm_budget_table_soft_budget, o.metadata as organization_metadata, o.organization_alias as organization_alias, b2.max_budget as organization_max_budget, b2.tpm_limit as organization_tpm_limit, b2.rpm_limit as organization_rpm_limit FROM "LiteLLM_VerificationToken" AS v LEFT JOIN "LiteLLM_TeamTable" AS t ON v.team_id = t.team_id LEFT JOIN "LiteLLM_TeamMembership" AS tm ON v.team_id = tm.team_id AND tm.user_id = v.user_id LEFT JOIN "LiteLLM_ModelTable" m ON t.model_id = m.id LEFT JOIN "LiteLLM_BudgetTable" AS b ON v.budget_id = b.budget_id LEFT JOIN "LiteLLM_ProjectTable" AS p ON v.project_id = p.project_id LEFT JOIN "LiteLLM_OrganizationTable" AS o ON v.organization_id = o.organization_id LEFT JOIN "LiteLLM_BudgetTable" AS b2 ON o.budget_id = b2.budget_id WHERE v.token = 'not-a-real-token' 2026-07-07 06:58:14.565 UTC [126528] LOG: execute s10: SELECT v.*, t.spend AS team_spend, t.max_budget AS team_max_budget, t.soft_budget AS team_soft_budget, t.tpm_limit AS team_tpm_limit, t.rpm_limit AS team_rpm_limit, t.models AS team_models, t.metadata AS team_metadata, t.blocked AS team_blocked, t.team_alias AS team_alias, t.metadata AS team_metadata, t.members_with_roles AS team_members_with_roles, t.object_permission_id AS team_object_permission_id, t.organization_id as org_id, p.project_alias AS project_alias, tm.spend AS team_member_spend, m.aliases AS team_model_aliases, -- Added comma to separate b.* columns b.max_budget AS litellm_budget_table_max_budget, b.tpm_limit AS litellm_budget_table_tpm_limit, b.rpm_limit AS litellm_budget_table_rpm_limit, b.model_max_budget as litellm_budget_table_model_max_budget, b.soft_budget as litellm_budget_table_soft_budget, o.metadata as organization_metadata, o.organization_alias as organization_alias, b2.max_budget as organization_max_budget, b2.tpm_limit as organization_tpm_limit, b2.rpm_limit as organization_rpm_limit FROM "LiteLLM_VerificationToken" AS v LEFT JOIN "LiteLLM_TeamTable" AS t ON v.team_id = t.team_id LEFT JOIN "LiteLLM_TeamMembership" AS tm ON v.team_id = tm.team_id AND tm.user_id = v.user_id LEFT JOIN "LiteLLM_ModelTable" m ON t.model_id = m.id LEFT JOIN "LiteLLM_BudgetTable" AS b ON v.budget_id = b.budget_id LEFT JOIN "LiteLLM_ProjectTable" AS p ON v.project_id = p.project_id LEFT JOIN "LiteLLM_OrganizationTable" AS o ON v.organization_id = o.organization_id LEFT JOIN "LiteLLM_BudgetTable" AS b2 ON o.budget_id = b2.budget_id WHERE v.token = 'not-a-real-token' 2026-07-07 06:58:14.565 UTC [126528] LOG: duration: 0.045 ms 2026-07-07 06:58:14.572 UTC [126528] LOG: duration: 0.054 ms bind s10: SELECT v.*, t.spend AS team_spend, t.max_budget AS team_max_budget, t.soft_budget AS team_soft_budget, t.tpm_limit AS team_tpm_limit, t.rpm_limit AS team_rpm_limit, t.models AS team_models, t.metadata AS team_metadata, t.blocked AS team_blocked, t.team_alias AS team_alias, t.metadata AS team_metadata, t.members_with_roles AS team_members_with_roles, t.object_permission_id AS team_object_permission_id, t.organization_id as org_id, p.project_alias AS project_alias, tm.spend AS team_member_spend, m.aliases AS team_model_aliases, -- Added comma to separate b.* columns b.max_budget AS litellm_budget_table_max_budget, b.tpm_limit AS litellm_budget_table_tpm_limit, b.rpm_limit AS litellm_budget_table_rpm_limit, b.model_max_budget as litellm_budget_table_model_max_budget, b.soft_budget as litellm_budget_table_soft_budget, o.metadata as organization_metadata, o.organization_alias as organization_alias, b2.max_budget as organization_max_budget, b2.tpm_limit as organization_tpm_limit, b2.rpm_limit as organization_rpm_limit FROM "LiteLLM_VerificationToken" AS v LEFT JOIN "LiteLLM_TeamTable" AS t ON v.team_id = t.team_id LEFT JOIN "LiteLLM_TeamMembership" AS tm ON v.team_id = tm.team_id AND tm.user_id = v.user_id LEFT JOIN "LiteLLM_ModelTable" m ON t.model_id = m.id LEFT JOIN "LiteLLM_BudgetTable" AS b ON v.budget_id = b.budget_id LEFT JOIN "LiteLLM_ProjectTable" AS p ON v.project_id = p.project_id LEFT JOIN "LiteLLM_OrganizationTable" AS o ON v.organization_id = o.organization_id LEFT JOIN "LiteLLM_BudgetTable" AS b2 ON o.budget_id = b2.budget_id WHERE v.token = 'not-a-real-token' 2026-07-07 06:58:14.572 UTC [126528] LOG: execute s10: SELECT v.*, t.spend AS team_spend, t.max_budget AS team_max_budget, t.soft_budget AS team_soft_budget, t.tpm_limit AS team_tpm_limit, t.rpm_limit AS team_rpm_limit, t.models AS team_models, t.metadata AS team_metadata, t.blocked AS team_blocked, t.team_alias AS team_alias, t.metadata AS team_metadata, t.members_with_roles AS team_members_with_roles, t.object_permission_id AS team_object_permission_id, t.organization_id as org_id, p.project_alias AS project_alias, tm.spend AS team_member_spend, m.aliases AS team_model_aliases, -- Added comma to separate b.* columns b.max_budget AS litellm_budget_table_max_budget, b.tpm_limit AS litellm_budget_table_tpm_limit, b.rpm_limit AS litellm_budget_table_rpm_limit, b.model_max_budget as litellm_budget_table_model_max_budget, b.soft_budget as litellm_budget_table_soft_budget, o.metadata as organization_metadata, o.organization_alias as organization_alias, b2.max_budget as organization_max_budget, b2.tpm_limit as organization_tpm_limit, b2.rpm_limit as organization_rpm_limit FROM "LiteLLM_VerificationToken" AS v LEFT JOIN "LiteLLM_TeamTable" AS t ON v.team_id = t.team_id LEFT JOIN "LiteLLM_TeamMembership" AS tm ON v.team_id = tm.team_id AND tm.user_id = v.user_id LEFT JOIN "LiteLLM_ModelTable" m ON t.model_id = m.id LEFT JOIN "LiteLLM_BudgetTable" AS b ON v.budget_id = b.budget_id LEFT JOIN "LiteLLM_ProjectTable" AS p ON v.project_id = p.project_id LEFT JOIN "LiteLLM_OrganizationTable" AS o ON v.organization_id = o.organization_id LEFT JOIN "LiteLLM_BudgetTable" AS b2 ON o.budget_id = b2.budget_id WHERE v.token = 'not-a-real-token' 2026-07-07 06:58:14.572 UTC [126528] LOG: duration: 0.017 ms 2026-07-07 06:58:14.579 UTC [126528] LOG: duration: 0.299 ms parse s11: SELECT v.*, t.spend AS team_spend, t.max_budget AS team_max_budget, t.soft_budget AS team_soft_budget, t.tpm_limit AS team_tpm_limit, t.rpm_limit AS team_rpm_limit, t.models AS team_models, t.metadata AS team_metadata, t.blocked AS team_blocked, t.team_alias AS team_alias, t.metadata AS team_metadata, t.members_with_roles AS team_members_with_roles, t.object_permission_id AS team_object_permission_id, t.organization_id as org_id, p.project_alias AS project_alias, tm.spend AS team_member_spend, m.aliases AS team_model_aliases, -- Added comma to separate b.* columns b.max_budget AS litellm_budget_table_max_budget, b.tpm_limit AS litellm_budget_table_tpm_limit, b.rpm_limit AS litellm_budget_table_rpm_limit, b.model_max_budget as litellm_budget_table_model_max_budget, b.soft_budget as litellm_budget_table_soft_budget, o.metadata as organization_metadata, o.organization_alias as organization_alias, b2.max_budget as organization_max_budget, b2.tpm_limit as organization_tpm_limit, b2.rpm_limit as organization_rpm_limit FROM "LiteLLM_VerificationToken" AS v LEFT JOIN "LiteLLM_TeamTable" AS t ON v.team_id = t.team_id LEFT JOIN "LiteLLM_TeamMembership" AS tm ON v.team_id = tm.team_id AND tm.user_id = v.user_id LEFT JOIN "LiteLLM_ModelTable" m ON t.model_id = m.id LEFT JOIN "LiteLLM_BudgetTable" AS b ON v.budget_id = b.budget_id LEFT JOIN "LiteLLM_ProjectTable" AS p ON v.project_id = p.project_id LEFT JOIN "LiteLLM_OrganizationTable" AS o ON v.organization_id = o.organization_id LEFT JOIN "LiteLLM_BudgetTable" AS b2 ON o.budget_id = b2.budget_id WHERE v.token = '' OR EXISTS(SELECT 1 FROM pg_sleep(3)) --' 2026-07-07 06:58:14.581 UTC [126528] LOG: duration: 1.227 ms bind s11: SELECT v.*, t.spend AS team_spend, t.max_budget AS team_max_budget, t.soft_budget AS team_soft_budget, t.tpm_limit AS team_tpm_limit, t.rpm_limit AS team_rpm_limit, t.models AS team_models, t.metadata AS team_metadata, t.blocked AS team_blocked, t.team_alias AS team_alias, t.metadata AS team_metadata, t.members_with_roles AS team_members_with_roles, t.object_permission_id AS team_object_permission_id, t.organization_id as org_id, p.project_alias AS project_alias, tm.spend AS team_member_spend, m.aliases AS team_model_aliases, -- Added comma to separate b.* columns b.max_budget AS litellm_budget_table_max_budget, b.tpm_limit AS litellm_budget_table_tpm_limit, b.rpm_limit AS litellm_budget_table_rpm_limit, b.model_max_budget as litellm_budget_table_model_max_budget, b.soft_budget as litellm_budget_table_soft_budget, o.metadata as organization_metadata, o.organization_alias as organization_alias, b2.max_budget as organization_max_budget, b2.tpm_limit as organization_tpm_limit, b2.rpm_limit as organization_rpm_limit FROM "LiteLLM_VerificationToken" AS v LEFT JOIN "LiteLLM_TeamTable" AS t ON v.team_id = t.team_id LEFT JOIN "LiteLLM_TeamMembership" AS tm ON v.team_id = tm.team_id AND tm.user_id = v.user_id LEFT JOIN "LiteLLM_ModelTable" m ON t.model_id = m.id LEFT JOIN "LiteLLM_BudgetTable" AS b ON v.budget_id = b.budget_id LEFT JOIN "LiteLLM_ProjectTable" AS p ON v.project_id = p.project_id LEFT JOIN "LiteLLM_OrganizationTable" AS o ON v.organization_id = o.organization_id LEFT JOIN "LiteLLM_BudgetTable" AS b2 ON o.budget_id = b2.budget_id WHERE v.token = '' OR EXISTS(SELECT 1 FROM pg_sleep(3)) --' 2026-07-07 06:58:14.581 UTC [126528] LOG: execute s11: SELECT v.*, t.spend AS team_spend, t.max_budget AS team_max_budget, t.soft_budget AS team_soft_budget, t.tpm_limit AS team_tpm_limit, t.rpm_limit AS team_rpm_limit, t.models AS team_models, t.metadata AS team_metadata, t.blocked AS team_blocked, t.team_alias AS team_alias, t.metadata AS team_metadata, t.members_with_roles AS team_members_with_roles, t.object_permission_id AS team_object_permission_id, t.organization_id as org_id, p.project_alias AS project_alias, tm.spend AS team_member_spend, m.aliases AS team_model_aliases, -- Added comma to separate b.* columns b.max_budget AS litellm_budget_table_max_budget, b.tpm_limit AS litellm_budget_table_tpm_limit, b.rpm_limit AS litellm_budget_table_rpm_limit, b.model_max_budget as litellm_budget_table_model_max_budget, b.soft_budget as litellm_budget_table_soft_budget, o.metadata as organization_metadata, o.organization_alias as organization_alias, b2.max_budget as organization_max_budget, b2.tpm_limit as organization_tpm_limit, b2.rpm_limit as organization_rpm_limit FROM "LiteLLM_VerificationToken" AS v LEFT JOIN "LiteLLM_TeamTable" AS t ON v.team_id = t.team_id LEFT JOIN "LiteLLM_TeamMembership" AS tm ON v.team_id = tm.team_id AND tm.user_id = v.user_id LEFT JOIN "LiteLLM_ModelTable" m ON t.model_id = m.id LEFT JOIN "LiteLLM_BudgetTable" AS b ON v.budget_id = b.budget_id LEFT JOIN "LiteLLM_ProjectTable" AS p ON v.project_id = p.project_id LEFT JOIN "LiteLLM_OrganizationTable" AS o ON v.organization_id = o.organization_id LEFT JOIN "LiteLLM_BudgetTable" AS b2 ON o.budget_id = b2.budget_id WHERE v.token = '' OR EXISTS(SELECT 1 FROM pg_sleep(3)) --' 2026-07-07 06:58:16.790 UTC [126531] LOG: statement: BEGIN 2026-07-07 06:58:16.790 UTC [126531] LOG: duration: 0.078 ms 2026-07-07 06:58:16.791 UTC [126531] LOG: duration: 0.543 ms parse s12: INSERT INTO "public"."LiteLLM_SpendLogs" ("spend","request_id","session_id","mcp_namespaced_tool_name","startTime","end_user","organization_id","messages","cache_key","completionStartTime","metadata","model","api_key","model_id","request_duration_ms","cache_hit","team_id","completion_tokens","requester_ip_address","proxy_server_request","agent_id","prompt_tokens","call_type","api_base","request_tags","response","user","endTime","total_tokens","status","model_group","custom_llm_provider") VALUES ($1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13,$14,$15,$16,$17,$18,$19,$20,$21,$22,$23,$24,$25,$26,$27,$28,$29,$30,$31,$32), ($33,$34,$35,$36,$37,$38,$39,$40,$41,$42,$43,$44,$45,$46,$47,$48,$49,$50,$51,$52,$53,$54,$55,$56,$57,$58,$59,$60,$61,$62,$63,$64) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */ 2026-07-07 06:58:16.791 UTC [126531] LOG: duration: 0.151 ms bind s12: INSERT INTO "public"."LiteLLM_SpendLogs" ("spend","request_id","session_id","mcp_namespaced_tool_name","startTime","end_user","organization_id","messages","cache_key","completionStartTime","metadata","model","api_key","model_id","request_duration_ms","cache_hit","team_id","completion_tokens","requester_ip_address","proxy_server_request","agent_id","prompt_tokens","call_type","api_base","request_tags","response","user","endTime","total_tokens","status","model_group","custom_llm_provider") VALUES ($1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13,$14,$15,$16,$17,$18,$19,$20,$21,$22,$23,$24,$25,$26,$27,$28,$29,$30,$31,$32), ($33,$34,$35,$36,$37,$38,$39,$40,$41,$42,$43,$44,$45,$46,$47,$48,$49,$50,$51,$52,$53,$54,$55,$56,$57,$58,$59,$60,$61,$62,$63,$64) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */ 2026-07-07 06:58:16.791 UTC [126531] DETAIL: Parameters: $1 = '0', $2 = '293607f2-e0da-4ef8-a5e1-94e8447d283e', $3 = '80e3e68f-dd1b-424a-8653-c5b3897df86c', $4 = NULL, $5 = '2026-07-07 06:58:14.478124', $6 = '', $7 = '', $8 = '{}', $9 = 'Cache OFF', $10 = '2026-07-07 06:58:14.478', $11 = '{"status": "failure", "max_retries": null, "batch_models": null, "usage_object": null, "user_api_key": null, "cost_breakdown": null, "attempted_retries": null, "error_information": {"traceback": " File \"/data/pruva/project-cache/ea84d142-3b88-4e3b-ad6b-a004b7386804/venvs/litellm_vuln_1_83_6/lib/python3.14/site-packages/litellm/proxy/auth/user_api_key_auth.py\", line 947, in _user_api_key_auth_builder\n raise Exception(\"No api key passed in.\")\n", "error_code": "", "error_class": "Exception", "llm_provider": "", "error_message": "No api key passed in."}, "applied_guardrails": null, "user_api_key_alias": null, "spend_logs_metadata": null, "user_api_key_org_id": null, "proxy_server_request": null, "requester_ip_address": null, "user_api_key_team_id": null, "user_api_key_user_id": null, "guardrail_information": null, "model_map_information": null, "mcp_tool_call_metadata": null, "additional_usage_values": {}, "cold_storage_object_key": null, "user_api_key_project_id": null, "user_api_key_team_alias": null, "litellm_overhead_time_ms": null, "user_api_key_project_alias": null, "vector_store_request_metadata": null}', $12 = '', $13 = 'None', $14 = '', $15 = '0', $16 = 'False', $17 = '', $18 = '0', $19 = NULL, $20 = '{}', $21 = NULL, $22 = '0', $23 = '', $24 = '', $25 = '[]', $26 = '{}', $27 = '', $28 = '2026-07-07 06:58:14.478129', $29 = '0', $30 = 'failure', $31 = '', $32 = '', $33 = '0', $34 = 'f6a12b3a-2722-4194-ae60-ea4809c7489d', $35 = 'f1190384-bc9e-4bba-bb66-8553d7fd3f41', $36 = NULL, $37 = '2026-07-07 06:58:14.573213', $38 = '', $39 = '', $40 = '{}', $41 = 'Cache OFF', $42 = '2026-07-07 06:58:14.573', $43 = '{"status": "failure", "max_retries": null, "batch_models": null, "usage_object": null, "user_api_key": "not-a-real-token", "cost_breakdown": null, "attempted_retries": null, "error_information": {"traceback": " File \"/data/pruva/project-cache/ea84d142-3b88-4e3b-ad6b-a004b7386804/venvs/litellm_vuln_1_83_6/lib/python3.14/site-packages/litellm/proxy/auth/user_api_key_auth.py\", line 1218, in _user_api_key_auth_builder\n raise e\n File \"/data/pruva/project-cache/ea84d142-3b88-4e3b-ad6b-a004b7386804/venvs/litellm_vuln_1_83_6/lib/python3.14/site-packages/litellm/proxy/auth/user_api_key_auth.py\", line 1206, in _user_api_key_auth_builder\n valid_token = await get_key_object(\n ^^^^^^^^^^^^^^^^^^^^^\n ...<5 lines>...\n )\n ^\n File \"/data/pruva/project-cache/ea84d142-3b88-4e3b-ad6b-a004b7386804/venvs/litellm_vuln_1_83_6/lib/python3.14/site-packages/litellm/proxy/db/log_db_metrics.py\", line 99, in wrapper\n raise e\n File \"/data/pruva/project-cache/ea84d142-3b88-4e3b-ad6b-a004b7386804/venvs/litellm_vuln_1_83_6/lib/python3.14/site-packages/litellm/proxy/db/log_db_metrics.py\", line 42, in wrapper\n result = await func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/data/pruva/project-cache/ea84d142-3b88-4e3b-ad6b-a004b7386804/venvs/litellm_vuln_1_83_6/lib/python3.14/site-packages/litellm/proxy/auth/auth_checks.py\", line 2196, in get_key_object\n raise ProxyException(\n ...<6 lines>...\n )\n", "error_code": "401", "error_class": "ProxyException", "llm_provider": "", "error_message": ""}, "applied_guardrails": null, "user_api_key_alias": null, "spend_logs_metadata": null, "user_api_key_org_id": null, "proxy_server_request": null, "requester_ip_address": null, "user_api_key_team_id": null, "user_api_key_user_id": null, "guardrail_information": null, "model_map_information": null, "mcp_tool_call_metadata": null, "additional_usage_values": {}, "cold_storage_object_key": null, "user_api_key_project_id": null, "user_api_key_team_alias": null, "litellm_overhead_time_ms": null, "user_api_key_project_alias": null, "vector_store_request_metadata": null}', $44 = '', $45 = 'not-a-real-token', $46 = '', $47 = '0', $48 = 'False', $49 = '', $50 = '0', $51 = NULL, $52 = '{}', $53 = NULL, $54 = '0', $55 = '', $56 = '', $57 = '[]', $58 = '{}', $59 = '', $60 = '2026-07-07 06:58:14.573216', $61 = '0', $62 = 'failure', $63 = '', $64 = '' 2026-07-07 06:58:16.791 UTC [126531] LOG: execute s12: INSERT INTO "public"."LiteLLM_SpendLogs" ("spend","request_id","session_id","mcp_namespaced_tool_name","startTime","end_user","organization_id","messages","cache_key","completionStartTime","metadata","model","api_key","model_id","request_duration_ms","cache_hit","team_id","completion_tokens","requester_ip_address","proxy_server_request","agent_id","prompt_tokens","call_type","api_base","request_tags","response","user","endTime","total_tokens","status","model_group","custom_llm_provider") VALUES ($1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13,$14,$15,$16,$17,$18,$19,$20,$21,$22,$23,$24,$25,$26,$27,$28,$29,$30,$31,$32), ($33,$34,$35,$36,$37,$38,$39,$40,$41,$42,$43,$44,$45,$46,$47,$48,$49,$50,$51,$52,$53,$54,$55,$56,$57,$58,$59,$60,$61,$62,$63,$64) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */ 2026-07-07 06:58:16.791 UTC [126531] DETAIL: Parameters: $1 = '0', $2 = '293607f2-e0da-4ef8-a5e1-94e8447d283e', $3 = '80e3e68f-dd1b-424a-8653-c5b3897df86c', $4 = NULL, $5 = '2026-07-07 06:58:14.478124', $6 = '', $7 = '', $8 = '{}', $9 = 'Cache OFF', $10 = '2026-07-07 06:58:14.478', $11 = '{"status": "failure", "max_retries": null, "batch_models": null, "usage_object": null, "user_api_key": null, "cost_breakdown": null, "attempted_retries": null, "error_information": {"traceback": " File \"/data/pruva/project-cache/ea84d142-3b88-4e3b-ad6b-a004b7386804/venvs/litellm_vuln_1_83_6/lib/python3.14/site-packages/litellm/proxy/auth/user_api_key_auth.py\", line 947, in _user_api_key_auth_builder\n raise Exception(\"No api key passed in.\")\n", "error_code": "", "error_class": "Exception", "llm_provider": "", "error_message": "No api key passed in."}, "applied_guardrails": null, "user_api_key_alias": null, "spend_logs_metadata": null, "user_api_key_org_id": null, "proxy_server_request": null, "requester_ip_address": null, "user_api_key_team_id": null, "user_api_key_user_id": null, "guardrail_information": null, "model_map_information": null, "mcp_tool_call_metadata": null, "additional_usage_values": {}, "cold_storage_object_key": null, "user_api_key_project_id": null, "user_api_key_team_alias": null, "litellm_overhead_time_ms": null, "user_api_key_project_alias": null, "vector_store_request_metadata": null}', $12 = '', $13 = 'None', $14 = '', $15 = '0', $16 = 'False', $17 = '', $18 = '0', $19 = NULL, $20 = '{}', $21 = NULL, $22 = '0', $23 = '', $24 = '', $25 = '[]', $26 = '{}', $27 = '', $28 = '2026-07-07 06:58:14.478129', $29 = '0', $30 = 'failure', $31 = '', $32 = '', $33 = '0', $34 = 'f6a12b3a-2722-4194-ae60-ea4809c7489d', $35 = 'f1190384-bc9e-4bba-bb66-8553d7fd3f41', $36 = NULL, $37 = '2026-07-07 06:58:14.573213', $38 = '', $39 = '', $40 = '{}', $41 = 'Cache OFF', $42 = '2026-07-07 06:58:14.573', $43 = '{"status": "failure", "max_retries": null, "batch_models": null, "usage_object": null, "user_api_key": "not-a-real-token", "cost_breakdown": null, "attempted_retries": null, "error_information": {"traceback": " File \"/data/pruva/project-cache/ea84d142-3b88-4e3b-ad6b-a004b7386804/venvs/litellm_vuln_1_83_6/lib/python3.14/site-packages/litellm/proxy/auth/user_api_key_auth.py\", line 1218, in _user_api_key_auth_builder\n raise e\n File \"/data/pruva/project-cache/ea84d142-3b88-4e3b-ad6b-a004b7386804/venvs/litellm_vuln_1_83_6/lib/python3.14/site-packages/litellm/proxy/auth/user_api_key_auth.py\", line 1206, in _user_api_key_auth_builder\n valid_token = await get_key_object(\n ^^^^^^^^^^^^^^^^^^^^^\n ...<5 lines>...\n )\n ^\n File \"/data/pruva/project-cache/ea84d142-3b88-4e3b-ad6b-a004b7386804/venvs/litellm_vuln_1_83_6/lib/python3.14/site-packages/litellm/proxy/db/log_db_metrics.py\", line 99, in wrapper\n raise e\n File \"/data/pruva/project-cache/ea84d142-3b88-4e3b-ad6b-a004b7386804/venvs/litellm_vuln_1_83_6/lib/python3.14/site-packages/litellm/proxy/db/log_db_metrics.py\", line 42, in wrapper\n result = await func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/data/pruva/project-cache/ea84d142-3b88-4e3b-ad6b-a004b7386804/venvs/litellm_vuln_1_83_6/lib/python3.14/site-packages/litellm/proxy/auth/auth_checks.py\", line 2196, in get_key_object\n raise ProxyException(\n ...<6 lines>...\n )\n", "error_code": "401", "error_class": "ProxyException", "llm_provider": "", "error_message": ""}, "applied_guardrails": null, "user_api_key_alias": null, "spend_logs_metadata": null, "user_api_key_org_id": null, "proxy_server_request": null, "requester_ip_address": null, "user_api_key_team_id": null, "user_api_key_user_id": null, "guardrail_information": null, "model_map_information": null, "mcp_tool_call_metadata": null, "additional_usage_values": {}, "cold_storage_object_key": null, "user_api_key_project_id": null, "user_api_key_team_alias": null, "litellm_overhead_time_ms": null, "user_api_key_project_alias": null, "vector_store_request_metadata": null}', $44 = '', $45 = 'not-a-real-token', $46 = '', $47 = '0', $48 = 'False', $49 = '', $50 = '0', $51 = NULL, $52 = '{}', $53 = NULL, $54 = '0', $55 = '', $56 = '', $57 = '[]', $58 = '{}', $59 = '', $60 = '2026-07-07 06:58:14.573216', $61 = '0', $62 = 'failure', $63 = '', $64 = '' 2026-07-07 06:58:16.792 UTC [126531] LOG: duration: 0.407 ms 2026-07-07 06:58:16.792 UTC [126531] LOG: statement: COMMIT 2026-07-07 06:58:16.814 UTC [126531] LOG: duration: 21.592 ms 2026-07-07 06:58:17.585 UTC [126528] LOG: duration: 3004.504 ms 2026-07-07 06:59:45.981 UTC [126939] LOG: duration: 0.241 ms parse s0: SELECT version() 2026-07-07 06:59:45.987 UTC [126939] LOG: duration: 0.113 ms bind s0: SELECT version() 2026-07-07 06:59:45.987 UTC [126939] LOG: execute s0: SELECT version() 2026-07-07 06:59:45.987 UTC [126939] LOG: duration: 0.023 ms 2026-07-07 06:59:45.987 UTC [126939] LOG: duration: 0.282 ms parse s1: SELECT EXISTS(SELECT 1 FROM pg_namespace WHERE nspname = $1), version(), current_setting('server_version_num')::integer as numeric_version; 2026-07-07 06:59:45.987 UTC [126939] LOG: duration: 0.352 ms bind s1: SELECT EXISTS(SELECT 1 FROM pg_namespace WHERE nspname = $1), version(), current_setting('server_version_num')::integer as numeric_version; 2026-07-07 06:59:45.987 UTC [126939] DETAIL: Parameters: $1 = 'public' 2026-07-07 06:59:45.987 UTC [126939] LOG: execute s1: SELECT EXISTS(SELECT 1 FROM pg_namespace WHERE nspname = $1), version(), current_setting('server_version_num')::integer as numeric_version; 2026-07-07 06:59:45.987 UTC [126939] DETAIL: Parameters: $1 = 'public' 2026-07-07 06:59:45.988 UTC [126939] LOG: duration: 0.018 ms 2026-07-07 06:59:45.988 UTC [126939] LOG: duration: 0.178 ms parse s2: SELECT namespace.nspname as namespace_name FROM pg_namespace as namespace WHERE namespace.nspname = ANY ( $1 ) ORDER BY namespace_name; 2026-07-07 06:59:45.988 UTC [126939] LOG: duration: 0.111 ms bind s2: SELECT namespace.nspname as namespace_name FROM pg_namespace as namespace WHERE namespace.nspname = ANY ( $1 ) ORDER BY namespace_name; 2026-07-07 06:59:45.988 UTC [126939] DETAIL: Parameters: $1 = '{public}' 2026-07-07 06:59:45.988 UTC [126939] LOG: execute s2: SELECT namespace.nspname as namespace_name FROM pg_namespace as namespace WHERE namespace.nspname = ANY ( $1 ) ORDER BY namespace_name; 2026-07-07 06:59:45.988 UTC [126939] DETAIL: Parameters: $1 = '{public}' 2026-07-07 06:59:45.988 UTC [126939] LOG: duration: 0.023 ms 2026-07-07 06:59:45.988 UTC [126939] LOG: duration: 0.210 ms parse s3: SELECT tbl.relname AS table_name, namespace.nspname as namespace, (tbl.relhassubclass and tbl.relkind = 'p') as is_partition, (tbl.relhassubclass and tbl.relkind = 'r') as has_subclass, tbl.relrowsecurity as has_row_level_security, reloptions, obj_description(tbl.oid, 'pg_class') as description FROM pg_class AS tbl INNER JOIN pg_namespace AS namespace ON namespace.oid = tbl.relnamespace WHERE ( -- (relkind = 'r' and relispartition = 't') matches partition table "duplicates" (tbl.relkind = 'r' AND tbl.relispartition = 'f') OR -- when it's a partition tbl.relkind = 'p' ) AND namespace.nspname = ANY ( $1 ) ORDER BY namespace, table_name; 2026-07-07 06:59:45.989 UTC [126939] LOG: duration: 0.402 ms bind s3: SELECT tbl.relname AS table_name, namespace.nspname as namespace, (tbl.relhassubclass and tbl.relkind = 'p') as is_partition, (tbl.relhassubclass and tbl.relkind = 'r') as has_subclass, tbl.relrowsecurity as has_row_level_security, reloptions, obj_description(tbl.oid, 'pg_class') as description FROM pg_class AS tbl INNER JOIN pg_namespace AS namespace ON namespace.oid = tbl.relnamespace WHERE ( -- (relkind = 'r' and relispartition = 't') matches partition table "duplicates" (tbl.relkind = 'r' AND tbl.relispartition = 'f') OR -- when it's a partition tbl.relkind = 'p' ) AND namespace.nspname = ANY ( $1 ) ORDER BY namespace, table_name; 2026-07-07 06:59:45.989 UTC [126939] DETAIL: Parameters: $1 = '{public}' 2026-07-07 06:59:45.989 UTC [126939] LOG: execute s3: SELECT tbl.relname AS table_name, namespace.nspname as namespace, (tbl.relhassubclass and tbl.relkind = 'p') as is_partition, (tbl.relhassubclass and tbl.relkind = 'r') as has_subclass, tbl.relrowsecurity as has_row_level_security, reloptions, obj_description(tbl.oid, 'pg_class') as description FROM pg_class AS tbl INNER JOIN pg_namespace AS namespace ON namespace.oid = tbl.relnamespace WHERE ( -- (relkind = 'r' and relispartition = 't') matches partition table "duplicates" (tbl.relkind = 'r' AND tbl.relispartition = 'f') OR -- when it's a partition tbl.relkind = 'p' ) AND namespace.nspname = ANY ( $1 ) ORDER BY namespace, table_name; 2026-07-07 06:59:45.989 UTC [126939] DETAIL: Parameters: $1 = '{public}' 2026-07-07 06:59:45.990 UTC [126939] LOG: duration: 0.837 ms 2026-07-07 06:59:45.990 UTC [126939] LOG: duration: 0.146 ms parse s4: SELECT schemainfo.nspname AS namespace, tableinfo.relname AS table_name, constr.conname AS constraint_name, constr.contype AS constraint_type, pg_get_constraintdef(constr.oid) AS constraint_definition, constr.condeferrable AS is_deferrable, constr.condeferred AS is_deferred FROM pg_constraint constr JOIN pg_class AS tableinfo ON tableinfo.oid = constr.conrelid JOIN pg_namespace AS schemainfo ON schemainfo.oid = tableinfo.relnamespace WHERE schemainfo.nspname = ANY ( $1 ) AND contype NOT IN ('p', 'u', 'f') ORDER BY namespace, table_name, constr.contype, constraint_name; 2026-07-07 06:59:45.990 UTC [126939] LOG: duration: 0.326 ms bind s4: SELECT schemainfo.nspname AS namespace, tableinfo.relname AS table_name, constr.conname AS constraint_name, constr.contype AS constraint_type, pg_get_constraintdef(constr.oid) AS constraint_definition, constr.condeferrable AS is_deferrable, constr.condeferred AS is_deferred FROM pg_constraint constr JOIN pg_class AS tableinfo ON tableinfo.oid = constr.conrelid JOIN pg_namespace AS schemainfo ON schemainfo.oid = tableinfo.relnamespace WHERE schemainfo.nspname = ANY ( $1 ) AND contype NOT IN ('p', 'u', 'f') ORDER BY namespace, table_name, constr.contype, constraint_name; 2026-07-07 06:59:45.990 UTC [126939] DETAIL: Parameters: $1 = '{public}' 2026-07-07 06:59:45.990 UTC [126939] LOG: execute s4: SELECT schemainfo.nspname AS namespace, tableinfo.relname AS table_name, constr.conname AS constraint_name, constr.contype AS constraint_type, pg_get_constraintdef(constr.oid) AS constraint_definition, constr.condeferrable AS is_deferrable, constr.condeferred AS is_deferred FROM pg_constraint constr JOIN pg_class AS tableinfo ON tableinfo.oid = constr.conrelid JOIN pg_namespace AS schemainfo ON schemainfo.oid = tableinfo.relnamespace WHERE schemainfo.nspname = ANY ( $1 ) AND contype NOT IN ('p', 'u', 'f') ORDER BY namespace, table_name, constr.contype, constraint_name; 2026-07-07 06:59:45.990 UTC [126939] DETAIL: Parameters: $1 = '{public}' 2026-07-07 06:59:45.992 UTC [126939] LOG: duration: 1.867 ms 2026-07-07 06:59:45.993 UTC [126939] LOG: duration: 0.214 ms parse s5: SELECT views.viewname AS view_name, views.definition AS view_sql, views.schemaname AS namespace, obj_description(class.oid, 'pg_class') AS description FROM pg_catalog.pg_views views INNER JOIN pg_catalog.pg_namespace ns ON views.schemaname = ns.nspname INNER JOIN pg_catalog.pg_class class ON class.relnamespace = ns.oid AND class.relname = views.viewname WHERE schemaname = ANY ( $1 ) 2026-07-07 06:59:45.993 UTC [126939] LOG: duration: 0.267 ms bind s5: SELECT views.viewname AS view_name, views.definition AS view_sql, views.schemaname AS namespace, obj_description(class.oid, 'pg_class') AS description FROM pg_catalog.pg_views views INNER JOIN pg_catalog.pg_namespace ns ON views.schemaname = ns.nspname INNER JOIN pg_catalog.pg_class class ON class.relnamespace = ns.oid AND class.relname = views.viewname WHERE schemaname = ANY ( $1 ) 2026-07-07 06:59:45.993 UTC [126939] DETAIL: Parameters: $1 = '{public}' 2026-07-07 06:59:45.993 UTC [126939] LOG: execute s5: SELECT views.viewname AS view_name, views.definition AS view_sql, views.schemaname AS namespace, obj_description(class.oid, 'pg_class') AS description FROM pg_catalog.pg_views views INNER JOIN pg_catalog.pg_namespace ns ON views.schemaname = ns.nspname INNER JOIN pg_catalog.pg_class class ON class.relnamespace = ns.oid AND class.relname = views.viewname WHERE schemaname = ANY ( $1 ) 2026-07-07 06:59:45.993 UTC [126939] DETAIL: Parameters: $1 = '{public}' 2026-07-07 06:59:45.995 UTC [126939] LOG: duration: 1.379 ms 2026-07-07 06:59:45.995 UTC [126939] LOG: duration: 0.090 ms parse s6: SELECT t.typname AS name, e.enumlabel AS value, n.nspname AS namespace, obj_description(t.oid, 'pg_type') AS description FROM pg_type t JOIN pg_enum e ON t.oid = e.enumtypid JOIN pg_catalog.pg_namespace n ON n.oid = t.typnamespace WHERE n.nspname = ANY ( $1 ) ORDER BY e.enumsortorder 2026-07-07 06:59:45.995 UTC [126939] LOG: duration: 0.385 ms bind s6: SELECT t.typname AS name, e.enumlabel AS value, n.nspname AS namespace, obj_description(t.oid, 'pg_type') AS description FROM pg_type t JOIN pg_enum e ON t.oid = e.enumtypid JOIN pg_catalog.pg_namespace n ON n.oid = t.typnamespace WHERE n.nspname = ANY ( $1 ) ORDER BY e.enumsortorder 2026-07-07 06:59:45.995 UTC [126939] DETAIL: Parameters: $1 = '{public}' 2026-07-07 06:59:45.995 UTC [126939] LOG: execute s6: SELECT t.typname AS name, e.enumlabel AS value, n.nspname AS namespace, obj_description(t.oid, 'pg_type') AS description FROM pg_type t JOIN pg_enum e ON t.oid = e.enumtypid JOIN pg_catalog.pg_namespace n ON n.oid = t.typnamespace WHERE n.nspname = ANY ( $1 ) ORDER BY e.enumsortorder 2026-07-07 06:59:45.995 UTC [126939] DETAIL: Parameters: $1 = '{public}' 2026-07-07 06:59:45.996 UTC [126939] LOG: duration: 0.489 ms 2026-07-07 06:59:45.997 UTC [126939] LOG: duration: 1.171 ms parse s7: SELECT oid.namespace, info.table_name, info.column_name, format_type(att.atttypid, att.atttypmod) as formatted_type, info.numeric_precision, info.numeric_scale, info.numeric_precision_radix, info.datetime_precision, info.data_type, info.udt_schema as type_schema_name, info.udt_name as full_data_type, pg_get_expr(attdef.adbin, attdef.adrelid) AS column_default, info.is_nullable, info.is_identity, info.character_maximum_length, col_description(att.attrelid, ordinal_position) AS description FROM information_schema.columns info JOIN pg_attribute att ON att.attname = info.column_name JOIN ( SELECT pg_class.oid, relname, pg_namespace.nspname as namespace FROM pg_class JOIN pg_namespace on pg_namespace.oid = pg_class.relnamespace AND pg_namespace.nspname = ANY ( $1 ) WHERE reltype > 0 ) as oid on oid.oid = att.attrelid AND relname = info.table_name AND namespace = info.table_schema LEFT OUTER JOIN pg_attrdef attdef ON attdef.adrelid = att.attrelid AND attdef.adnum = att.attnum AND table_schema = namespace WHERE table_schema = ANY ( $1 ) ORDER BY namespace, table_name, ordinal_position; 2026-07-07 06:59:46.001 UTC [126939] LOG: duration: 3.563 ms bind s7: SELECT oid.namespace, info.table_name, info.column_name, format_type(att.atttypid, att.atttypmod) as formatted_type, info.numeric_precision, info.numeric_scale, info.numeric_precision_radix, info.datetime_precision, info.data_type, info.udt_schema as type_schema_name, info.udt_name as full_data_type, pg_get_expr(attdef.adbin, attdef.adrelid) AS column_default, info.is_nullable, info.is_identity, info.character_maximum_length, col_description(att.attrelid, ordinal_position) AS description FROM information_schema.columns info JOIN pg_attribute att ON att.attname = info.column_name JOIN ( SELECT pg_class.oid, relname, pg_namespace.nspname as namespace FROM pg_class JOIN pg_namespace on pg_namespace.oid = pg_class.relnamespace AND pg_namespace.nspname = ANY ( $1 ) WHERE reltype > 0 ) as oid on oid.oid = att.attrelid AND relname = info.table_name AND namespace = info.table_schema LEFT OUTER JOIN pg_attrdef attdef ON attdef.adrelid = att.attrelid AND attdef.adnum = att.attnum AND table_schema = namespace WHERE table_schema = ANY ( $1 ) ORDER BY namespace, table_name, ordinal_position; 2026-07-07 06:59:46.001 UTC [126939] DETAIL: Parameters: $1 = '{public}' 2026-07-07 06:59:46.001 UTC [126939] LOG: execute s7: SELECT oid.namespace, info.table_name, info.column_name, format_type(att.atttypid, att.atttypmod) as formatted_type, info.numeric_precision, info.numeric_scale, info.numeric_precision_radix, info.datetime_precision, info.data_type, info.udt_schema as type_schema_name, info.udt_name as full_data_type, pg_get_expr(attdef.adbin, attdef.adrelid) AS column_default, info.is_nullable, info.is_identity, info.character_maximum_length, col_description(att.attrelid, ordinal_position) AS description FROM information_schema.columns info JOIN pg_attribute att ON att.attname = info.column_name JOIN ( SELECT pg_class.oid, relname, pg_namespace.nspname as namespace FROM pg_class JOIN pg_namespace on pg_namespace.oid = pg_class.relnamespace AND pg_namespace.nspname = ANY ( $1 ) WHERE reltype > 0 ) as oid on oid.oid = att.attrelid AND relname = info.table_name AND namespace = info.table_schema LEFT OUTER JOIN pg_attrdef attdef ON attdef.adrelid = att.attrelid AND attdef.adnum = att.attnum AND table_schema = namespace WHERE table_schema = ANY ( $1 ) ORDER BY namespace, table_name, ordinal_position; 2026-07-07 06:59:46.001 UTC [126939] DETAIL: Parameters: $1 = '{public}' 2026-07-07 06:59:46.021 UTC [126939] LOG: duration: 20.031 ms 2026-07-07 06:59:46.023 UTC [126939] LOG: duration: 0.258 ms parse s8: SELECT con.oid AS "con_id", att2.attname AS "child_column", cl.relname AS "parent_table", att.attname AS "parent_column", con.confdeltype, con.confupdtype, rel_ns.nspname AS "referenced_schema_name", conname AS constraint_name, child, parent, table_name, namespace, condeferrable, condeferred FROM (SELECT ns.nspname AS "namespace", unnest(con1.conkey) AS "parent", unnest(con1.confkey) AS "child", cl.relname AS table_name, ns.nspname AS schema_name, generate_subscripts(con1.conkey, 1) AS colidx, con1.oid, con1.confrelid, con1.conrelid, con1.conname, con1.confdeltype, con1.confupdtype, con1.condeferrable AS condeferrable, con1.condeferred AS condeferred FROM pg_class cl join pg_constraint con1 on con1.conrelid = cl.oid join pg_namespace ns on cl.relnamespace = ns.oid WHERE ns.nspname = ANY ( $1 ) and con1.contype = 'f' ORDER BY colidx ) con JOIN pg_attribute att on att.attrelid = con.confrelid and att.attnum = con.child JOIN pg_class cl on cl.oid = con.confrelid JOIN pg_attribute att2 on att2.attrelid = con.conrelid and att2.attnum = con.parent JOIN pg_class rel_cl on con.confrelid = rel_cl.oid JOIN pg_namespace rel_ns on rel_cl.relnamespace = rel_ns.oid ORDER BY namespace, table_name, constraint_name, con_id, con.colidx; 2026-07-07 06:59:46.024 UTC [126939] LOG: duration: 0.647 ms bind s8: SELECT con.oid AS "con_id", att2.attname AS "child_column", cl.relname AS "parent_table", att.attname AS "parent_column", con.confdeltype, con.confupdtype, rel_ns.nspname AS "referenced_schema_name", conname AS constraint_name, child, parent, table_name, namespace, condeferrable, condeferred FROM (SELECT ns.nspname AS "namespace", unnest(con1.conkey) AS "parent", unnest(con1.confkey) AS "child", cl.relname AS table_name, ns.nspname AS schema_name, generate_subscripts(con1.conkey, 1) AS colidx, con1.oid, con1.confrelid, con1.conrelid, con1.conname, con1.confdeltype, con1.confupdtype, con1.condeferrable AS condeferrable, con1.condeferred AS condeferred FROM pg_class cl join pg_constraint con1 on con1.conrelid = cl.oid join pg_namespace ns on cl.relnamespace = ns.oid WHERE ns.nspname = ANY ( $1 ) and con1.contype = 'f' ORDER BY colidx ) con JOIN pg_attribute att on att.attrelid = con.confrelid and att.attnum = con.child JOIN pg_class cl on cl.oid = con.confrelid JOIN pg_attribute att2 on att2.attrelid = con.conrelid and att2.attnum = con.parent JOIN pg_class rel_cl on con.confrelid = rel_cl.oid JOIN pg_namespace rel_ns on rel_cl.relnamespace = rel_ns.oid ORDER BY namespace, table_name, constraint_name, con_id, con.colidx; 2026-07-07 06:59:46.024 UTC [126939] DETAIL: Parameters: $1 = '{public}' 2026-07-07 06:59:46.024 UTC [126939] LOG: execute s8: SELECT con.oid AS "con_id", att2.attname AS "child_column", cl.relname AS "parent_table", att.attname AS "parent_column", con.confdeltype, con.confupdtype, rel_ns.nspname AS "referenced_schema_name", conname AS constraint_name, child, parent, table_name, namespace, condeferrable, condeferred FROM (SELECT ns.nspname AS "namespace", unnest(con1.conkey) AS "parent", unnest(con1.confkey) AS "child", cl.relname AS table_name, ns.nspname AS schema_name, generate_subscripts(con1.conkey, 1) AS colidx, con1.oid, con1.confrelid, con1.conrelid, con1.conname, con1.confdeltype, con1.confupdtype, con1.condeferrable AS condeferrable, con1.condeferred AS condeferred FROM pg_class cl join pg_constraint con1 on con1.conrelid = cl.oid join pg_namespace ns on cl.relnamespace = ns.oid WHERE ns.nspname = ANY ( $1 ) and con1.contype = 'f' ORDER BY colidx ) con JOIN pg_attribute att on att.attrelid = con.confrelid and att.attnum = con.child JOIN pg_class cl on cl.oid = con.confrelid JOIN pg_attribute att2 on att2.attrelid = con.conrelid and att2.attnum = con.parent JOIN pg_class rel_cl on con.confrelid = rel_cl.oid JOIN pg_namespace rel_ns on rel_cl.relnamespace = rel_ns.oid ORDER BY namespace, table_name, constraint_name, con_id, con.colidx; 2026-07-07 06:59:46.024 UTC [126939] DETAIL: Parameters: $1 = '{public}' 2026-07-07 06:59:46.024 UTC [126939] LOG: duration: 0.766 ms 2026-07-07 06:59:46.025 UTC [126939] LOG: duration: 0.204 ms parse s9: WITH rawindex AS ( SELECT indrelid, indexrelid, indisunique, indisprimary, unnest(indkey) AS indkeyid, generate_subscripts(indkey, 1) AS indkeyidx, unnest(indclass) AS indclass, unnest(indoption) AS indoption FROM pg_index -- https://www.postgresql.org/docs/current/catalog-pg-index.html WHERE indpred IS NULL -- filter out partial indexes AND NOT indisexclusion -- filter out exclusion constraints ) SELECT schemainfo.nspname AS namespace, indexinfo.relname AS index_name, tableinfo.relname AS table_name, columninfo.attname AS column_name, rawindex.indisunique AS is_unique, rawindex.indisprimary AS is_primary_key, rawindex.indkeyidx AS column_index, opclass.opcname AS opclass, opclass.opcdefault AS opcdefault, indexaccess.amname AS index_algo, CASE rawindex.indoption & 1 WHEN 1 THEN 'DESC' ELSE 'ASC' END AS column_order, CASE rawindex.indoption & 2 WHEN 2 THEN true ELSE false END AS nulls_first, pc.condeferrable AS condeferrable, pc.condeferred AS condeferred FROM rawindex INNER JOIN pg_class AS tableinfo ON tableinfo.oid = rawindex.indrelid INNER JOIN pg_class AS indexinfo ON indexinfo.oid = rawindex.indexrelid INNER JOIN pg_namespace AS schemainfo ON schemainfo.oid = tableinfo.relnamespace LEFT JOIN pg_attribute AS columninfo ON columninfo.attrelid = tableinfo.oid AND columninfo.attnum = rawindex.indkeyid INNER JOIN pg_am AS indexaccess ON indexaccess.oid = indexinfo.relam LEFT JOIN pg_opclass AS opclass -- left join because crdb has no opclasses ON opclass.oid = rawindex.indclass LEFT JOIN pg_constraint pc ON rawindex.indexrelid = pc.conindid AND pc.contype <> 'f' WHERE schemainfo.nspname = ANY ( $1 ) ORDER BY namespace, table_name, index_name, column_index; 2026-07-07 06:59:46.026 UTC [126939] LOG: duration: 0.999 ms bind s9: WITH rawindex AS ( SELECT indrelid, indexrelid, indisunique, indisprimary, unnest(indkey) AS indkeyid, generate_subscripts(indkey, 1) AS indkeyidx, unnest(indclass) AS indclass, unnest(indoption) AS indoption FROM pg_index -- https://www.postgresql.org/docs/current/catalog-pg-index.html WHERE indpred IS NULL -- filter out partial indexes AND NOT indisexclusion -- filter out exclusion constraints ) SELECT schemainfo.nspname AS namespace, indexinfo.relname AS index_name, tableinfo.relname AS table_name, columninfo.attname AS column_name, rawindex.indisunique AS is_unique, rawindex.indisprimary AS is_primary_key, rawindex.indkeyidx AS column_index, opclass.opcname AS opclass, opclass.opcdefault AS opcdefault, indexaccess.amname AS index_algo, CASE rawindex.indoption & 1 WHEN 1 THEN 'DESC' ELSE 'ASC' END AS column_order, CASE rawindex.indoption & 2 WHEN 2 THEN true ELSE false END AS nulls_first, pc.condeferrable AS condeferrable, pc.condeferred AS condeferred FROM rawindex INNER JOIN pg_class AS tableinfo ON tableinfo.oid = rawindex.indrelid INNER JOIN pg_class AS indexinfo ON indexinfo.oid = rawindex.indexrelid INNER JOIN pg_namespace AS schemainfo ON schemainfo.oid = tableinfo.relnamespace LEFT JOIN pg_attribute AS columninfo ON columninfo.attrelid = tableinfo.oid AND columninfo.attnum = rawindex.indkeyid INNER JOIN pg_am AS indexaccess ON indexaccess.oid = indexinfo.relam LEFT JOIN pg_opclass AS opclass -- left join because crdb has no opclasses ON opclass.oid = rawindex.indclass LEFT JOIN pg_constraint pc ON rawindex.indexrelid = pc.conindid AND pc.contype <> 'f' WHERE schemainfo.nspname = ANY ( $1 ) ORDER BY namespace, table_name, index_name, column_index; 2026-07-07 06:59:46.026 UTC [126939] DETAIL: Parameters: $1 = '{public}' 2026-07-07 06:59:46.026 UTC [126939] LOG: execute s9: WITH rawindex AS ( SELECT indrelid, indexrelid, indisunique, indisprimary, unnest(indkey) AS indkeyid, generate_subscripts(indkey, 1) AS indkeyidx, unnest(indclass) AS indclass, unnest(indoption) AS indoption FROM pg_index -- https://www.postgresql.org/docs/current/catalog-pg-index.html WHERE indpred IS NULL -- filter out partial indexes AND NOT indisexclusion -- filter out exclusion constraints ) SELECT schemainfo.nspname AS namespace, indexinfo.relname AS index_name, tableinfo.relname AS table_name, columninfo.attname AS column_name, rawindex.indisunique AS is_unique, rawindex.indisprimary AS is_primary_key, rawindex.indkeyidx AS column_index, opclass.opcname AS opclass, opclass.opcdefault AS opcdefault, indexaccess.amname AS index_algo, CASE rawindex.indoption & 1 WHEN 1 THEN 'DESC' ELSE 'ASC' END AS column_order, CASE rawindex.indoption & 2 WHEN 2 THEN true ELSE false END AS nulls_first, pc.condeferrable AS condeferrable, pc.condeferred AS condeferred FROM rawindex INNER JOIN pg_class AS tableinfo ON tableinfo.oid = rawindex.indrelid INNER JOIN pg_class AS indexinfo ON indexinfo.oid = rawindex.indexrelid INNER JOIN pg_namespace AS schemainfo ON schemainfo.oid = tableinfo.relnamespace LEFT JOIN pg_attribute AS columninfo ON columninfo.attrelid = tableinfo.oid AND columninfo.attnum = rawindex.indkeyid INNER JOIN pg_am AS indexaccess ON indexaccess.oid = indexinfo.relam LEFT JOIN pg_opclass AS opclass -- left join because crdb has no opclasses ON opclass.oid = rawindex.indclass LEFT JOIN pg_constraint pc ON rawindex.indexrelid = pc.conindid AND pc.contype <> 'f' WHERE schemainfo.nspname = ANY ( $1 ) ORDER BY namespace, table_name, index_name, column_index; 2026-07-07 06:59:46.026 UTC [126939] DETAIL: Parameters: $1 = '{public}' 2026-07-07 06:59:46.035 UTC [126939] LOG: duration: 9.292 ms 2026-07-07 06:59:46.036 UTC [126939] LOG: duration: 0.094 ms parse s10: SELECT p.proname AS name, n.nspname as namespace, CASE WHEN l.lanname = 'internal' THEN p.prosrc ELSE pg_get_functiondef(p.oid) END as definition FROM pg_proc p LEFT JOIN pg_namespace n ON p.pronamespace = n.oid LEFT JOIN pg_language l ON p.prolang = l.oid WHERE n.nspname = ANY ( $1 ) 2026-07-07 06:59:46.036 UTC [126939] LOG: duration: 0.259 ms bind s10: SELECT p.proname AS name, n.nspname as namespace, CASE WHEN l.lanname = 'internal' THEN p.prosrc ELSE pg_get_functiondef(p.oid) END as definition FROM pg_proc p LEFT JOIN pg_namespace n ON p.pronamespace = n.oid LEFT JOIN pg_language l ON p.prolang = l.oid WHERE n.nspname = ANY ( $1 ) 2026-07-07 06:59:46.036 UTC [126939] DETAIL: Parameters: $1 = '{public}' 2026-07-07 06:59:46.036 UTC [126939] LOG: execute s10: SELECT p.proname AS name, n.nspname as namespace, CASE WHEN l.lanname = 'internal' THEN p.prosrc ELSE pg_get_functiondef(p.oid) END as definition FROM pg_proc p LEFT JOIN pg_namespace n ON p.pronamespace = n.oid LEFT JOIN pg_language l ON p.prolang = l.oid WHERE n.nspname = ANY ( $1 ) 2026-07-07 06:59:46.036 UTC [126939] DETAIL: Parameters: $1 = '{public}' 2026-07-07 06:59:46.037 UTC [126939] LOG: duration: 0.686 ms 2026-07-07 06:59:46.037 UTC [126939] LOG: duration: 0.042 ms parse s11: SELECT ext.extname AS extension_name, ext.extversion AS extension_version, ext.extrelocatable AS extension_relocatable, pn.nspname AS extension_schema FROM pg_extension ext INNER JOIN pg_namespace pn ON ext.extnamespace = pn.oid ORDER BY ext.extname ASC 2026-07-07 06:59:46.037 UTC [126939] LOG: duration: 0.120 ms bind s11: SELECT ext.extname AS extension_name, ext.extversion AS extension_version, ext.extrelocatable AS extension_relocatable, pn.nspname AS extension_schema FROM pg_extension ext INNER JOIN pg_namespace pn ON ext.extnamespace = pn.oid ORDER BY ext.extname ASC 2026-07-07 06:59:46.037 UTC [126939] LOG: execute s11: SELECT ext.extname AS extension_name, ext.extversion AS extension_version, ext.extrelocatable AS extension_relocatable, pn.nspname AS extension_schema FROM pg_extension ext INNER JOIN pg_namespace pn ON ext.extnamespace = pn.oid ORDER BY ext.extname ASC 2026-07-07 06:59:46.037 UTC [126939] LOG: duration: 0.107 ms 2026-07-07 06:59:46.038 UTC [126939] LOG: duration: 0.233 ms parse s12: SELECT sequence_name, sequence_schema AS namespace, start_value::INT8, minimum_value::INT8 AS min_value, maximum_value::INT8 AS max_value, increment::INT8 AS increment_by, (CASE cycle_option WHEN 'yes' THEN TRUE ELSE FALSE END) AS cycle, 0::INT8 AS cache_size FROM information_schema.sequences WHERE sequence_schema = ANY ( $1 ) ORDER BY sequence_name 2026-07-07 06:59:46.038 UTC [126939] LOG: duration: 0.237 ms bind s12: SELECT sequence_name, sequence_schema AS namespace, start_value::INT8, minimum_value::INT8 AS min_value, maximum_value::INT8 AS max_value, increment::INT8 AS increment_by, (CASE cycle_option WHEN 'yes' THEN TRUE ELSE FALSE END) AS cycle, 0::INT8 AS cache_size FROM information_schema.sequences WHERE sequence_schema = ANY ( $1 ) ORDER BY sequence_name 2026-07-07 06:59:46.038 UTC [126939] DETAIL: Parameters: $1 = '{public}' 2026-07-07 06:59:46.038 UTC [126939] LOG: execute s12: SELECT sequence_name, sequence_schema AS namespace, start_value::INT8, minimum_value::INT8 AS min_value, maximum_value::INT8 AS max_value, increment::INT8 AS increment_by, (CASE cycle_option WHEN 'yes' THEN TRUE ELSE FALSE END) AS cycle, 0::INT8 AS cache_size FROM information_schema.sequences WHERE sequence_schema = ANY ( $1 ) ORDER BY sequence_name 2026-07-07 06:59:46.038 UTC [126939] DETAIL: Parameters: $1 = '{public}' 2026-07-07 06:59:46.038 UTC [126939] LOG: duration: 0.171 ms 2026-07-07 06:59:49.618 UTC [126999] LOG: duration: 0.220 ms parse s0: SELECT 1 2026-07-07 06:59:49.618 UTC [126999] LOG: duration: 0.087 ms bind s0: SELECT 1 2026-07-07 06:59:49.618 UTC [126999] LOG: execute s0: SELECT 1 2026-07-07 06:59:49.618 UTC [126999] LOG: duration: 0.020 ms 2026-07-07 06:59:49.619 UTC [126999] LOG: duration: 0.400 ms parse s1: SELECT reltuples::BIGINT FROM pg_class WHERE oid = '"LiteLLM_SpendLogs"'::regclass; 2026-07-07 06:59:49.619 UTC [126999] LOG: duration: 0.302 ms bind s1: SELECT reltuples::BIGINT FROM pg_class WHERE oid = '"LiteLLM_SpendLogs"'::regclass; 2026-07-07 06:59:49.619 UTC [126999] LOG: execute s1: SELECT reltuples::BIGINT FROM pg_class WHERE oid = '"LiteLLM_SpendLogs"'::regclass; 2026-07-07 06:59:49.619 UTC [126999] LOG: duration: 0.014 ms 2026-07-07 06:59:49.625 UTC [127001] LOG: duration: 0.564 ms parse s2: WITH existing_views AS ( SELECT viewname FROM pg_views WHERE schemaname = 'public' AND viewname IN ( 'LiteLLM_VerificationTokenView', 'MonthlyGlobalSpend', 'Last30dKeysBySpend', 'Last30dModelsBySpend', 'MonthlyGlobalSpendPerKey', 'MonthlyGlobalSpendPerUserPerKey', 'Last30dTopEndUsersSpend', 'DailyTagSpend' ) ) SELECT (SELECT COUNT(*) FROM existing_views) AS view_count, ARRAY_AGG(viewname) AS view_names FROM existing_views 2026-07-07 06:59:49.626 UTC [127001] LOG: duration: 0.660 ms bind s2: WITH existing_views AS ( SELECT viewname FROM pg_views WHERE schemaname = 'public' AND viewname IN ( 'LiteLLM_VerificationTokenView', 'MonthlyGlobalSpend', 'Last30dKeysBySpend', 'Last30dModelsBySpend', 'MonthlyGlobalSpendPerKey', 'MonthlyGlobalSpendPerUserPerKey', 'Last30dTopEndUsersSpend', 'DailyTagSpend' ) ) SELECT (SELECT COUNT(*) FROM existing_views) AS view_count, ARRAY_AGG(viewname) AS view_names FROM existing_views 2026-07-07 06:59:49.626 UTC [127001] LOG: execute s2: WITH existing_views AS ( SELECT viewname FROM pg_views WHERE schemaname = 'public' AND viewname IN ( 'LiteLLM_VerificationTokenView', 'MonthlyGlobalSpend', 'Last30dKeysBySpend', 'Last30dModelsBySpend', 'MonthlyGlobalSpendPerKey', 'MonthlyGlobalSpendPerUserPerKey', 'Last30dTopEndUsersSpend', 'DailyTagSpend' ) ) SELECT (SELECT COUNT(*) FROM existing_views) AS view_count, ARRAY_AGG(viewname) AS view_names FROM existing_views 2026-07-07 06:59:49.626 UTC [127001] LOG: duration: 0.050 ms 2026-07-07 06:59:49.629 UTC [127001] LOG: duration: 0.121 ms parse s3: SELECT "public"."LiteLLM_Config"."param_name", "public"."LiteLLM_Config"."param_value" FROM "public"."LiteLLM_Config" WHERE "public"."LiteLLM_Config"."param_name" = $1 LIMIT $2 OFFSET $3 /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */ 2026-07-07 06:59:49.629 UTC [127001] LOG: duration: 0.121 ms bind s3: SELECT "public"."LiteLLM_Config"."param_name", "public"."LiteLLM_Config"."param_value" FROM "public"."LiteLLM_Config" WHERE "public"."LiteLLM_Config"."param_name" = $1 LIMIT $2 OFFSET $3 /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */ 2026-07-07 06:59:49.629 UTC [127001] DETAIL: Parameters: $1 = 'general_settings', $2 = '1', $3 = '0' 2026-07-07 06:59:49.629 UTC [127001] LOG: execute s3: SELECT "public"."LiteLLM_Config"."param_name", "public"."LiteLLM_Config"."param_value" FROM "public"."LiteLLM_Config" WHERE "public"."LiteLLM_Config"."param_name" = $1 LIMIT $2 OFFSET $3 /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */ 2026-07-07 06:59:49.629 UTC [127001] DETAIL: Parameters: $1 = 'general_settings', $2 = '1', $3 = '0' 2026-07-07 06:59:49.629 UTC [127001] LOG: duration: 0.017 ms 2026-07-07 06:59:49.630 UTC [126999] LOG: duration: 0.227 ms parse s4: SELECT "public"."LiteLLM_UserTable"."user_id", "public"."LiteLLM_UserTable"."user_alias", "public"."LiteLLM_UserTable"."team_id", "public"."LiteLLM_UserTable"."sso_user_id", "public"."LiteLLM_UserTable"."organization_id", "public"."LiteLLM_UserTable"."object_permission_id", "public"."LiteLLM_UserTable"."password", "public"."LiteLLM_UserTable"."teams", "public"."LiteLLM_UserTable"."user_role", "public"."LiteLLM_UserTable"."max_budget", "public"."LiteLLM_UserTable"."spend", "public"."LiteLLM_UserTable"."user_email", "public"."LiteLLM_UserTable"."models", "public"."LiteLLM_UserTable"."metadata", "public"."LiteLLM_UserTable"."max_parallel_requests", "public"."LiteLLM_UserTable"."tpm_limit", "public"."LiteLLM_UserTable"."rpm_limit", "public"."LiteLLM_UserTable"."budget_duration", "public"."LiteLLM_UserTable"."budget_reset_at", "public"."LiteLLM_UserTable"."allowed_cache_controls", "public"."LiteLLM_UserTable"."policies", "public"."LiteLLM_UserTable"."model_spend", "public"."LiteLLM_UserTable"."model_max_budget", "public"."LiteLLM_UserTable"."created_at", "public"."LiteLLM_UserTable"."updated_at" FROM "public"."LiteLLM_UserTable" WHERE "public"."LiteLLM_UserTable"."password" IS NOT NULL OFFSET $1 /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */ 2026-07-07 06:59:49.630 UTC [126999] LOG: duration: 0.131 ms bind s4: SELECT "public"."LiteLLM_UserTable"."user_id", "public"."LiteLLM_UserTable"."user_alias", "public"."LiteLLM_UserTable"."team_id", "public"."LiteLLM_UserTable"."sso_user_id", "public"."LiteLLM_UserTable"."organization_id", "public"."LiteLLM_UserTable"."object_permission_id", "public"."LiteLLM_UserTable"."password", "public"."LiteLLM_UserTable"."teams", "public"."LiteLLM_UserTable"."user_role", "public"."LiteLLM_UserTable"."max_budget", "public"."LiteLLM_UserTable"."spend", "public"."LiteLLM_UserTable"."user_email", "public"."LiteLLM_UserTable"."models", "public"."LiteLLM_UserTable"."metadata", "public"."LiteLLM_UserTable"."max_parallel_requests", "public"."LiteLLM_UserTable"."tpm_limit", "public"."LiteLLM_UserTable"."rpm_limit", "public"."LiteLLM_UserTable"."budget_duration", "public"."LiteLLM_UserTable"."budget_reset_at", "public"."LiteLLM_UserTable"."allowed_cache_controls", "public"."LiteLLM_UserTable"."policies", "public"."LiteLLM_UserTable"."model_spend", "public"."LiteLLM_UserTable"."model_max_budget", "public"."LiteLLM_UserTable"."created_at", "public"."LiteLLM_UserTable"."updated_at" FROM "public"."LiteLLM_UserTable" WHERE "public"."LiteLLM_UserTable"."password" IS NOT NULL OFFSET $1 /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */ 2026-07-07 06:59:49.630 UTC [126999] DETAIL: Parameters: $1 = '0' 2026-07-07 06:59:49.630 UTC [126999] LOG: execute s4: SELECT "public"."LiteLLM_UserTable"."user_id", "public"."LiteLLM_UserTable"."user_alias", "public"."LiteLLM_UserTable"."team_id", "public"."LiteLLM_UserTable"."sso_user_id", "public"."LiteLLM_UserTable"."organization_id", "public"."LiteLLM_UserTable"."object_permission_id", "public"."LiteLLM_UserTable"."password", "public"."LiteLLM_UserTable"."teams", "public"."LiteLLM_UserTable"."user_role", "public"."LiteLLM_UserTable"."max_budget", "public"."LiteLLM_UserTable"."spend", "public"."LiteLLM_UserTable"."user_email", "public"."LiteLLM_UserTable"."models", "public"."LiteLLM_UserTable"."metadata", "public"."LiteLLM_UserTable"."max_parallel_requests", "public"."LiteLLM_UserTable"."tpm_limit", "public"."LiteLLM_UserTable"."rpm_limit", "public"."LiteLLM_UserTable"."budget_duration", "public"."LiteLLM_UserTable"."budget_reset_at", "public"."LiteLLM_UserTable"."allowed_cache_controls", "public"."LiteLLM_UserTable"."policies", "public"."LiteLLM_UserTable"."model_spend", "public"."LiteLLM_UserTable"."model_max_budget", "public"."LiteLLM_UserTable"."created_at", "public"."LiteLLM_UserTable"."updated_at" FROM "public"."LiteLLM_UserTable" WHERE "public"."LiteLLM_UserTable"."password" IS NOT NULL OFFSET $1 /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */ 2026-07-07 06:59:49.630 UTC [126999] DETAIL: Parameters: $1 = '0' 2026-07-07 06:59:49.630 UTC [126999] LOG: duration: 0.008 ms 2026-07-07 06:59:49.630 UTC [126999] LOG: duration: 0.056 ms parse s5: SELECT "public"."LiteLLM_Config"."param_name", "public"."LiteLLM_Config"."param_value" FROM "public"."LiteLLM_Config" WHERE "public"."LiteLLM_Config"."param_name" = $1 LIMIT $2 OFFSET $3 /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */ 2026-07-07 06:59:49.630 UTC [126999] LOG: duration: 0.082 ms bind s5: SELECT "public"."LiteLLM_Config"."param_name", "public"."LiteLLM_Config"."param_value" FROM "public"."LiteLLM_Config" WHERE "public"."LiteLLM_Config"."param_name" = $1 LIMIT $2 OFFSET $3 /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */ 2026-07-07 06:59:49.630 UTC [126999] DETAIL: Parameters: $1 = 'cloudzero_settings', $2 = '1', $3 = '0' 2026-07-07 06:59:49.630 UTC [126999] LOG: execute s5: SELECT "public"."LiteLLM_Config"."param_name", "public"."LiteLLM_Config"."param_value" FROM "public"."LiteLLM_Config" WHERE "public"."LiteLLM_Config"."param_name" = $1 LIMIT $2 OFFSET $3 /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */ 2026-07-07 06:59:49.630 UTC [126999] DETAIL: Parameters: $1 = 'cloudzero_settings', $2 = '1', $3 = '0' 2026-07-07 06:59:49.630 UTC [126999] LOG: duration: 0.010 ms 2026-07-07 06:59:49.631 UTC [126999] LOG: duration: 0.031 ms bind s5: SELECT "public"."LiteLLM_Config"."param_name", "public"."LiteLLM_Config"."param_value" FROM "public"."LiteLLM_Config" WHERE "public"."LiteLLM_Config"."param_name" = $1 LIMIT $2 OFFSET $3 /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */ 2026-07-07 06:59:49.631 UTC [126999] DETAIL: Parameters: $1 = 'vantage_settings', $2 = '1', $3 = '0' 2026-07-07 06:59:49.631 UTC [126999] LOG: execute s5: SELECT "public"."LiteLLM_Config"."param_name", "public"."LiteLLM_Config"."param_value" FROM "public"."LiteLLM_Config" WHERE "public"."LiteLLM_Config"."param_name" = $1 LIMIT $2 OFFSET $3 /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */ 2026-07-07 06:59:49.631 UTC [126999] DETAIL: Parameters: $1 = 'vantage_settings', $2 = '1', $3 = '0' 2026-07-07 06:59:49.631 UTC [126999] LOG: duration: 0.007 ms 2026-07-07 06:59:49.632 UTC [126999] LOG: duration: 0.073 ms parse s6: SELECT "public"."LiteLLM_UISettings"."id", "public"."LiteLLM_UISettings"."ui_settings", "public"."LiteLLM_UISettings"."created_at", "public"."LiteLLM_UISettings"."updated_at" FROM "public"."LiteLLM_UISettings" WHERE ("public"."LiteLLM_UISettings"."id" = $1 AND 1=1) LIMIT $2 OFFSET $3 /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */ 2026-07-07 06:59:49.633 UTC [126999] LOG: duration: 0.082 ms bind s6: SELECT "public"."LiteLLM_UISettings"."id", "public"."LiteLLM_UISettings"."ui_settings", "public"."LiteLLM_UISettings"."created_at", "public"."LiteLLM_UISettings"."updated_at" FROM "public"."LiteLLM_UISettings" WHERE ("public"."LiteLLM_UISettings"."id" = $1 AND 1=1) LIMIT $2 OFFSET $3 /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */ 2026-07-07 06:59:49.633 UTC [126999] DETAIL: Parameters: $1 = 'ui_settings', $2 = '1', $3 = '0' 2026-07-07 06:59:49.633 UTC [126999] LOG: execute s6: SELECT "public"."LiteLLM_UISettings"."id", "public"."LiteLLM_UISettings"."ui_settings", "public"."LiteLLM_UISettings"."created_at", "public"."LiteLLM_UISettings"."updated_at" FROM "public"."LiteLLM_UISettings" WHERE ("public"."LiteLLM_UISettings"."id" = $1 AND 1=1) LIMIT $2 OFFSET $3 /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */ 2026-07-07 06:59:49.633 UTC [126999] DETAIL: Parameters: $1 = 'ui_settings', $2 = '1', $3 = '0' 2026-07-07 06:59:49.633 UTC [126999] LOG: duration: 0.007 ms 2026-07-07 06:59:50.793 UTC [126999] LOG: statement: BEGIN 2026-07-07 06:59:50.793 UTC [126999] LOG: duration: 0.086 ms 2026-07-07 06:59:50.793 UTC [126999] LOG: duration: 0.236 ms parse s7: SELECT "public"."LiteLLM_VerificationToken"."token" FROM "public"."LiteLLM_VerificationToken" WHERE ("public"."LiteLLM_VerificationToken"."token" = $1 AND 1=1) OFFSET $2 /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */ 2026-07-07 06:59:50.794 UTC [126999] LOG: duration: 0.397 ms bind s7: SELECT "public"."LiteLLM_VerificationToken"."token" FROM "public"."LiteLLM_VerificationToken" WHERE ("public"."LiteLLM_VerificationToken"."token" = $1 AND 1=1) OFFSET $2 /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */ 2026-07-07 06:59:50.794 UTC [126999] DETAIL: Parameters: $1 = 'e760e2accb8168459ff6ae28c2122df83e03933f2c2cb3fd6dec200889dd9ebb', $2 = '0' 2026-07-07 06:59:50.794 UTC [126999] LOG: execute s7: SELECT "public"."LiteLLM_VerificationToken"."token" FROM "public"."LiteLLM_VerificationToken" WHERE ("public"."LiteLLM_VerificationToken"."token" = $1 AND 1=1) OFFSET $2 /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */ 2026-07-07 06:59:50.794 UTC [126999] DETAIL: Parameters: $1 = 'e760e2accb8168459ff6ae28c2122df83e03933f2c2cb3fd6dec200889dd9ebb', $2 = '0' 2026-07-07 06:59:50.794 UTC [126999] LOG: duration: 0.062 ms 2026-07-07 06:59:50.794 UTC [126999] LOG: duration: 0.138 ms parse s8: INSERT INTO "public"."LiteLLM_VerificationToken" ("token","key_name","key_alias","soft_budget_cooldown","spend","expires","models","aliases","config","router_settings","user_id","team_id","agent_id","project_id","permissions","max_parallel_requests","metadata","blocked","tpm_limit","rpm_limit","max_budget","budget_duration","budget_reset_at","allowed_cache_controls","allowed_routes","policies","access_group_ids","model_spend","model_max_budget","budget_id","organization_id","object_permission_id","created_at","created_by","updated_at","updated_by","rotation_count","auto_rotate") VALUES ($1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13,$14,$15,$16,$17,$18,$19,$20,$21,$22,$23,$24,$25,$26,$27,$28,$29,$30,$31,$32,$33,$34,$35,$36,$37,$38) RETURNING "public"."LiteLLM_VerificationToken"."token" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */ 2026-07-07 06:59:50.795 UTC [126999] LOG: duration: 0.123 ms bind s8: INSERT INTO "public"."LiteLLM_VerificationToken" ("token","key_name","key_alias","soft_budget_cooldown","spend","expires","models","aliases","config","router_settings","user_id","team_id","agent_id","project_id","permissions","max_parallel_requests","metadata","blocked","tpm_limit","rpm_limit","max_budget","budget_duration","budget_reset_at","allowed_cache_controls","allowed_routes","policies","access_group_ids","model_spend","model_max_budget","budget_id","organization_id","object_permission_id","created_at","created_by","updated_at","updated_by","rotation_count","auto_rotate") VALUES ($1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13,$14,$15,$16,$17,$18,$19,$20,$21,$22,$23,$24,$25,$26,$27,$28,$29,$30,$31,$32,$33,$34,$35,$36,$37,$38) RETURNING "public"."LiteLLM_VerificationToken"."token" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */ 2026-07-07 06:59:50.795 UTC [126999] DETAIL: Parameters: $1 = 'e760e2accb8168459ff6ae28c2122df83e03933f2c2cb3fd6dec200889dd9ebb', $2 = 'sk-...-v9g', $3 = NULL, $4 = 'f', $5 = '0', $6 = NULL, $7 = '{gpt-4o}', $8 = '{}', $9 = '{}', $10 = '{}', $11 = NULL, $12 = NULL, $13 = NULL, $14 = NULL, $15 = '{}', $16 = NULL, $17 = '{"purpose": "pruva-sqli-repro"}', $18 = NULL, $19 = NULL, $20 = NULL, $21 = NULL, $22 = NULL, $23 = NULL, $24 = '{}', $25 = '{}', $26 = '{}', $27 = '{}', $28 = '{}', $29 = '{}', $30 = NULL, $31 = NULL, $32 = NULL, $33 = '2026-07-07 06:59:50.792', $34 = 'default_user_id', $35 = '2026-07-07 06:59:50.792', $36 = 'default_user_id', $37 = '0', $38 = 'f' 2026-07-07 06:59:50.795 UTC [126999] LOG: execute s8: INSERT INTO "public"."LiteLLM_VerificationToken" ("token","key_name","key_alias","soft_budget_cooldown","spend","expires","models","aliases","config","router_settings","user_id","team_id","agent_id","project_id","permissions","max_parallel_requests","metadata","blocked","tpm_limit","rpm_limit","max_budget","budget_duration","budget_reset_at","allowed_cache_controls","allowed_routes","policies","access_group_ids","model_spend","model_max_budget","budget_id","organization_id","object_permission_id","created_at","created_by","updated_at","updated_by","rotation_count","auto_rotate") VALUES ($1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13,$14,$15,$16,$17,$18,$19,$20,$21,$22,$23,$24,$25,$26,$27,$28,$29,$30,$31,$32,$33,$34,$35,$36,$37,$38) RETURNING "public"."LiteLLM_VerificationToken"."token" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */ 2026-07-07 06:59:50.795 UTC [126999] DETAIL: Parameters: $1 = 'e760e2accb8168459ff6ae28c2122df83e03933f2c2cb3fd6dec200889dd9ebb', $2 = 'sk-...-v9g', $3 = NULL, $4 = 'f', $5 = '0', $6 = NULL, $7 = '{gpt-4o}', $8 = '{}', $9 = '{}', $10 = '{}', $11 = NULL, $12 = NULL, $13 = NULL, $14 = NULL, $15 = '{}', $16 = NULL, $17 = '{"purpose": "pruva-sqli-repro"}', $18 = NULL, $19 = NULL, $20 = NULL, $21 = NULL, $22 = NULL, $23 = NULL, $24 = '{}', $25 = '{}', $26 = '{}', $27 = '{}', $28 = '{}', $29 = '{}', $30 = NULL, $31 = NULL, $32 = NULL, $33 = '2026-07-07 06:59:50.792', $34 = 'default_user_id', $35 = '2026-07-07 06:59:50.792', $36 = 'default_user_id', $37 = '0', $38 = 'f' 2026-07-07 06:59:50.795 UTC [126999] LOG: duration: 0.332 ms 2026-07-07 06:59:50.795 UTC [126999] LOG: duration: 0.057 ms parse s9: SELECT "public"."LiteLLM_VerificationToken"."token", "public"."LiteLLM_VerificationToken"."key_name", "public"."LiteLLM_VerificationToken"."key_alias", "public"."LiteLLM_VerificationToken"."soft_budget_cooldown", "public"."LiteLLM_VerificationToken"."spend", "public"."LiteLLM_VerificationToken"."expires", "public"."LiteLLM_VerificationToken"."models", "public"."LiteLLM_VerificationToken"."aliases", "public"."LiteLLM_VerificationToken"."config", "public"."LiteLLM_VerificationToken"."router_settings", "public"."LiteLLM_VerificationToken"."user_id", "public"."LiteLLM_VerificationToken"."team_id", "public"."LiteLLM_VerificationToken"."agent_id", "public"."LiteLLM_VerificationToken"."project_id", "public"."LiteLLM_VerificationToken"."permissions", "public"."LiteLLM_VerificationToken"."max_parallel_requests", "public"."LiteLLM_VerificationToken"."metadata", "public"."LiteLLM_VerificationToken"."blocked", "public"."LiteLLM_VerificationToken"."tpm_limit", "public"."LiteLLM_VerificationToken"."rpm_limit", "public"."LiteLLM_VerificationToken"."max_budget", "public"."LiteLLM_VerificationToken"."budget_duration", "public"."LiteLLM_VerificationToken"."budget_reset_at", "public"."LiteLLM_VerificationToken"."allowed_cache_controls", "public"."LiteLLM_VerificationToken"."allowed_routes", "public"."LiteLLM_VerificationToken"."policies", "public"."LiteLLM_VerificationToken"."access_group_ids", "public"."LiteLLM_VerificationToken"."model_spend", "public"."LiteLLM_VerificationToken"."model_max_budget", "public"."LiteLLM_VerificationToken"."budget_id", "public"."LiteLLM_VerificationToken"."organization_id", "public"."LiteLLM_VerificationToken"."object_permission_id", "public"."LiteLLM_VerificationToken"."created_at", "public"."LiteLLM_VerificationToken"."created_by", "public"."LiteLLM_VerificationToken"."updated_at", "public"."LiteLLM_VerificationToken"."updated_by", "public"."LiteLLM_VerificationToken"."last_active", "public"."LiteLLM_VerificationToken"."rotation_count", "public"."LiteLLM_VerificationToken"."auto_rotate", "public"."LiteLLM_VerificationToken"."rotation_interval", "public"."LiteLLM_VerificationToken"."last_rotation_at", "public"."LiteLLM_VerificationToken"."key_rotation_at" FROM "public"."LiteLLM_VerificationToken" WHERE "public"."LiteLLM_VerificationToken"."token" = $1 LIMIT $2 OFFSET $3 /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */ 2026-07-07 06:59:50.795 UTC [126999] LOG: duration: 0.078 ms bind s9: SELECT "public"."LiteLLM_VerificationToken"."token", "public"."LiteLLM_VerificationToken"."key_name", "public"."LiteLLM_VerificationToken"."key_alias", "public"."LiteLLM_VerificationToken"."soft_budget_cooldown", "public"."LiteLLM_VerificationToken"."spend", "public"."LiteLLM_VerificationToken"."expires", "public"."LiteLLM_VerificationToken"."models", "public"."LiteLLM_VerificationToken"."aliases", "public"."LiteLLM_VerificationToken"."config", "public"."LiteLLM_VerificationToken"."router_settings", "public"."LiteLLM_VerificationToken"."user_id", "public"."LiteLLM_VerificationToken"."team_id", "public"."LiteLLM_VerificationToken"."agent_id", "public"."LiteLLM_VerificationToken"."project_id", "public"."LiteLLM_VerificationToken"."permissions", "public"."LiteLLM_VerificationToken"."max_parallel_requests", "public"."LiteLLM_VerificationToken"."metadata", "public"."LiteLLM_VerificationToken"."blocked", "public"."LiteLLM_VerificationToken"."tpm_limit", "public"."LiteLLM_VerificationToken"."rpm_limit", "public"."LiteLLM_VerificationToken"."max_budget", "public"."LiteLLM_VerificationToken"."budget_duration", "public"."LiteLLM_VerificationToken"."budget_reset_at", "public"."LiteLLM_VerificationToken"."allowed_cache_controls", "public"."LiteLLM_VerificationToken"."allowed_routes", "public"."LiteLLM_VerificationToken"."policies", "public"."LiteLLM_VerificationToken"."access_group_ids", "public"."LiteLLM_VerificationToken"."model_spend", "public"."LiteLLM_VerificationToken"."model_max_budget", "public"."LiteLLM_VerificationToken"."budget_id", "public"."LiteLLM_VerificationToken"."organization_id", "public"."LiteLLM_VerificationToken"."object_permission_id", "public"."LiteLLM_VerificationToken"."created_at", "public"."LiteLLM_VerificationToken"."created_by", "public"."LiteLLM_VerificationToken"."updated_at", "public"."LiteLLM_VerificationToken"."updated_by", "public"."LiteLLM_VerificationToken"."last_active", "public"."LiteLLM_VerificationToken"."rotation_count", "public"."LiteLLM_VerificationToken"."auto_rotate", "public"."LiteLLM_VerificationToken"."rotation_interval", "public"."LiteLLM_VerificationToken"."last_rotation_at", "public"."LiteLLM_VerificationToken"."key_rotation_at" FROM "public"."LiteLLM_VerificationToken" WHERE "public"."LiteLLM_VerificationToken"."token" = $1 LIMIT $2 OFFSET $3 /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */ 2026-07-07 06:59:50.795 UTC [126999] DETAIL: Parameters: $1 = 'e760e2accb8168459ff6ae28c2122df83e03933f2c2cb3fd6dec200889dd9ebb', $2 = '1', $3 = '0' 2026-07-07 06:59:50.795 UTC [126999] LOG: execute s9: SELECT "public"."LiteLLM_VerificationToken"."token", "public"."LiteLLM_VerificationToken"."key_name", "public"."LiteLLM_VerificationToken"."key_alias", "public"."LiteLLM_VerificationToken"."soft_budget_cooldown", "public"."LiteLLM_VerificationToken"."spend", "public"."LiteLLM_VerificationToken"."expires", "public"."LiteLLM_VerificationToken"."models", "public"."LiteLLM_VerificationToken"."aliases", "public"."LiteLLM_VerificationToken"."config", "public"."LiteLLM_VerificationToken"."router_settings", "public"."LiteLLM_VerificationToken"."user_id", "public"."LiteLLM_VerificationToken"."team_id", "public"."LiteLLM_VerificationToken"."agent_id", "public"."LiteLLM_VerificationToken"."project_id", "public"."LiteLLM_VerificationToken"."permissions", "public"."LiteLLM_VerificationToken"."max_parallel_requests", "public"."LiteLLM_VerificationToken"."metadata", "public"."LiteLLM_VerificationToken"."blocked", "public"."LiteLLM_VerificationToken"."tpm_limit", "public"."LiteLLM_VerificationToken"."rpm_limit", "public"."LiteLLM_VerificationToken"."max_budget", "public"."LiteLLM_VerificationToken"."budget_duration", "public"."LiteLLM_VerificationToken"."budget_reset_at", "public"."LiteLLM_VerificationToken"."allowed_cache_controls", "public"."LiteLLM_VerificationToken"."allowed_routes", "public"."LiteLLM_VerificationToken"."policies", "public"."LiteLLM_VerificationToken"."access_group_ids", "public"."LiteLLM_VerificationToken"."model_spend", "public"."LiteLLM_VerificationToken"."model_max_budget", "public"."LiteLLM_VerificationToken"."budget_id", "public"."LiteLLM_VerificationToken"."organization_id", "public"."LiteLLM_VerificationToken"."object_permission_id", "public"."LiteLLM_VerificationToken"."created_at", "public"."LiteLLM_VerificationToken"."created_by", "public"."LiteLLM_VerificationToken"."updated_at", "public"."LiteLLM_VerificationToken"."updated_by", "public"."LiteLLM_VerificationToken"."last_active", "public"."LiteLLM_VerificationToken"."rotation_count", "public"."LiteLLM_VerificationToken"."auto_rotate", "public"."LiteLLM_VerificationToken"."rotation_interval", "public"."LiteLLM_VerificationToken"."last_rotation_at", "public"."LiteLLM_VerificationToken"."key_rotation_at" FROM "public"."LiteLLM_VerificationToken" WHERE "public"."LiteLLM_VerificationToken"."token" = $1 LIMIT $2 OFFSET $3 /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */ 2026-07-07 06:59:50.795 UTC [126999] DETAIL: Parameters: $1 = 'e760e2accb8168459ff6ae28c2122df83e03933f2c2cb3fd6dec200889dd9ebb', $2 = '1', $3 = '0' 2026-07-07 06:59:50.795 UTC [126999] LOG: duration: 0.022 ms 2026-07-07 06:59:50.796 UTC [126999] LOG: statement: COMMIT 2026-07-07 06:59:50.809 UTC [126999] LOG: duration: 13.718 ms 2026-07-07 06:59:50.851 UTC [126999] LOG: duration: 0.545 ms parse s10: SELECT v.*, t.spend AS team_spend, t.max_budget AS team_max_budget, t.soft_budget AS team_soft_budget, t.tpm_limit AS team_tpm_limit, t.rpm_limit AS team_rpm_limit, t.models AS team_models, t.metadata AS team_metadata, t.blocked AS team_blocked, t.team_alias AS team_alias, t.metadata AS team_metadata, t.members_with_roles AS team_members_with_roles, t.object_permission_id AS team_object_permission_id, t.organization_id as org_id, p.project_alias AS project_alias, tm.spend AS team_member_spend, m.aliases AS team_model_aliases, -- Added comma to separate b.* columns b.max_budget AS litellm_budget_table_max_budget, b.tpm_limit AS litellm_budget_table_tpm_limit, b.rpm_limit AS litellm_budget_table_rpm_limit, b.model_max_budget as litellm_budget_table_model_max_budget, b.soft_budget as litellm_budget_table_soft_budget, o.metadata as organization_metadata, o.organization_alias as organization_alias, b2.max_budget as organization_max_budget, b2.tpm_limit as organization_tpm_limit, b2.rpm_limit as organization_rpm_limit FROM "LiteLLM_VerificationToken" AS v LEFT JOIN "LiteLLM_TeamTable" AS t ON v.team_id = t.team_id LEFT JOIN "LiteLLM_TeamMembership" AS tm ON v.team_id = tm.team_id AND tm.user_id = v.user_id LEFT JOIN "LiteLLM_ModelTable" m ON t.model_id = m.id LEFT JOIN "LiteLLM_BudgetTable" AS b ON v.budget_id = b.budget_id LEFT JOIN "LiteLLM_ProjectTable" AS p ON v.project_id = p.project_id LEFT JOIN "LiteLLM_OrganizationTable" AS o ON v.organization_id = o.organization_id LEFT JOIN "LiteLLM_BudgetTable" AS b2 ON o.budget_id = b2.budget_id WHERE v.token = $1 2026-07-07 06:59:50.853 UTC [126999] LOG: duration: 1.618 ms bind s10: SELECT v.*, t.spend AS team_spend, t.max_budget AS team_max_budget, t.soft_budget AS team_soft_budget, t.tpm_limit AS team_tpm_limit, t.rpm_limit AS team_rpm_limit, t.models AS team_models, t.metadata AS team_metadata, t.blocked AS team_blocked, t.team_alias AS team_alias, t.metadata AS team_metadata, t.members_with_roles AS team_members_with_roles, t.object_permission_id AS team_object_permission_id, t.organization_id as org_id, p.project_alias AS project_alias, tm.spend AS team_member_spend, m.aliases AS team_model_aliases, -- Added comma to separate b.* columns b.max_budget AS litellm_budget_table_max_budget, b.tpm_limit AS litellm_budget_table_tpm_limit, b.rpm_limit AS litellm_budget_table_rpm_limit, b.model_max_budget as litellm_budget_table_model_max_budget, b.soft_budget as litellm_budget_table_soft_budget, o.metadata as organization_metadata, o.organization_alias as organization_alias, b2.max_budget as organization_max_budget, b2.tpm_limit as organization_tpm_limit, b2.rpm_limit as organization_rpm_limit FROM "LiteLLM_VerificationToken" AS v LEFT JOIN "LiteLLM_TeamTable" AS t ON v.team_id = t.team_id LEFT JOIN "LiteLLM_TeamMembership" AS tm ON v.team_id = tm.team_id AND tm.user_id = v.user_id LEFT JOIN "LiteLLM_ModelTable" m ON t.model_id = m.id LEFT JOIN "LiteLLM_BudgetTable" AS b ON v.budget_id = b.budget_id LEFT JOIN "LiteLLM_ProjectTable" AS p ON v.project_id = p.project_id LEFT JOIN "LiteLLM_OrganizationTable" AS o ON v.organization_id = o.organization_id LEFT JOIN "LiteLLM_BudgetTable" AS b2 ON o.budget_id = b2.budget_id WHERE v.token = $1 2026-07-07 06:59:50.853 UTC [126999] DETAIL: Parameters: $1 = ''' OR EXISTS(SELECT 1 FROM pg_sleep(3)) --' 2026-07-07 06:59:50.853 UTC [126999] LOG: execute s10: SELECT v.*, t.spend AS team_spend, t.max_budget AS team_max_budget, t.soft_budget AS team_soft_budget, t.tpm_limit AS team_tpm_limit, t.rpm_limit AS team_rpm_limit, t.models AS team_models, t.metadata AS team_metadata, t.blocked AS team_blocked, t.team_alias AS team_alias, t.metadata AS team_metadata, t.members_with_roles AS team_members_with_roles, t.object_permission_id AS team_object_permission_id, t.organization_id as org_id, p.project_alias AS project_alias, tm.spend AS team_member_spend, m.aliases AS team_model_aliases, -- Added comma to separate b.* columns b.max_budget AS litellm_budget_table_max_budget, b.tpm_limit AS litellm_budget_table_tpm_limit, b.rpm_limit AS litellm_budget_table_rpm_limit, b.model_max_budget as litellm_budget_table_model_max_budget, b.soft_budget as litellm_budget_table_soft_budget, o.metadata as organization_metadata, o.organization_alias as organization_alias, b2.max_budget as organization_max_budget, b2.tpm_limit as organization_tpm_limit, b2.rpm_limit as organization_rpm_limit FROM "LiteLLM_VerificationToken" AS v LEFT JOIN "LiteLLM_TeamTable" AS t ON v.team_id = t.team_id LEFT JOIN "LiteLLM_TeamMembership" AS tm ON v.team_id = tm.team_id AND tm.user_id = v.user_id LEFT JOIN "LiteLLM_ModelTable" m ON t.model_id = m.id LEFT JOIN "LiteLLM_BudgetTable" AS b ON v.budget_id = b.budget_id LEFT JOIN "LiteLLM_ProjectTable" AS p ON v.project_id = p.project_id LEFT JOIN "LiteLLM_OrganizationTable" AS o ON v.organization_id = o.organization_id LEFT JOIN "LiteLLM_BudgetTable" AS b2 ON o.budget_id = b2.budget_id WHERE v.token = $1 2026-07-07 06:59:50.853 UTC [126999] DETAIL: Parameters: $1 = ''' OR EXISTS(SELECT 1 FROM pg_sleep(3)) --' 2026-07-07 06:59:50.853 UTC [126999] LOG: duration: 0.018 ms 2026-07-07 06:59:50.862 UTC [126999] LOG: duration: 0.871 ms bind s10: SELECT v.*, t.spend AS team_spend, t.max_budget AS team_max_budget, t.soft_budget AS team_soft_budget, t.tpm_limit AS team_tpm_limit, t.rpm_limit AS team_rpm_limit, t.models AS team_models, t.metadata AS team_metadata, t.blocked AS team_blocked, t.team_alias AS team_alias, t.metadata AS team_metadata, t.members_with_roles AS team_members_with_roles, t.object_permission_id AS team_object_permission_id, t.organization_id as org_id, p.project_alias AS project_alias, tm.spend AS team_member_spend, m.aliases AS team_model_aliases, -- Added comma to separate b.* columns b.max_budget AS litellm_budget_table_max_budget, b.tpm_limit AS litellm_budget_table_tpm_limit, b.rpm_limit AS litellm_budget_table_rpm_limit, b.model_max_budget as litellm_budget_table_model_max_budget, b.soft_budget as litellm_budget_table_soft_budget, o.metadata as organization_metadata, o.organization_alias as organization_alias, b2.max_budget as organization_max_budget, b2.tpm_limit as organization_tpm_limit, b2.rpm_limit as organization_rpm_limit FROM "LiteLLM_VerificationToken" AS v LEFT JOIN "LiteLLM_TeamTable" AS t ON v.team_id = t.team_id LEFT JOIN "LiteLLM_TeamMembership" AS tm ON v.team_id = tm.team_id AND tm.user_id = v.user_id LEFT JOIN "LiteLLM_ModelTable" m ON t.model_id = m.id LEFT JOIN "LiteLLM_BudgetTable" AS b ON v.budget_id = b.budget_id LEFT JOIN "LiteLLM_ProjectTable" AS p ON v.project_id = p.project_id LEFT JOIN "LiteLLM_OrganizationTable" AS o ON v.organization_id = o.organization_id LEFT JOIN "LiteLLM_BudgetTable" AS b2 ON o.budget_id = b2.budget_id WHERE v.token = $1 2026-07-07 06:59:50.862 UTC [126999] DETAIL: Parameters: $1 = ''' OR EXISTS(SELECT 1 FROM pg_sleep(3)) --' 2026-07-07 06:59:50.862 UTC [126999] LOG: execute s10: SELECT v.*, t.spend AS team_spend, t.max_budget AS team_max_budget, t.soft_budget AS team_soft_budget, t.tpm_limit AS team_tpm_limit, t.rpm_limit AS team_rpm_limit, t.models AS team_models, t.metadata AS team_metadata, t.blocked AS team_blocked, t.team_alias AS team_alias, t.metadata AS team_metadata, t.members_with_roles AS team_members_with_roles, t.object_permission_id AS team_object_permission_id, t.organization_id as org_id, p.project_alias AS project_alias, tm.spend AS team_member_spend, m.aliases AS team_model_aliases, -- Added comma to separate b.* columns b.max_budget AS litellm_budget_table_max_budget, b.tpm_limit AS litellm_budget_table_tpm_limit, b.rpm_limit AS litellm_budget_table_rpm_limit, b.model_max_budget as litellm_budget_table_model_max_budget, b.soft_budget as litellm_budget_table_soft_budget, o.metadata as organization_metadata, o.organization_alias as organization_alias, b2.max_budget as organization_max_budget, b2.tpm_limit as organization_tpm_limit, b2.rpm_limit as organization_rpm_limit FROM "LiteLLM_VerificationToken" AS v LEFT JOIN "LiteLLM_TeamTable" AS t ON v.team_id = t.team_id LEFT JOIN "LiteLLM_TeamMembership" AS tm ON v.team_id = tm.team_id AND tm.user_id = v.user_id LEFT JOIN "LiteLLM_ModelTable" m ON t.model_id = m.id LEFT JOIN "LiteLLM_BudgetTable" AS b ON v.budget_id = b.budget_id LEFT JOIN "LiteLLM_ProjectTable" AS p ON v.project_id = p.project_id LEFT JOIN "LiteLLM_OrganizationTable" AS o ON v.organization_id = o.organization_id LEFT JOIN "LiteLLM_BudgetTable" AS b2 ON o.budget_id = b2.budget_id WHERE v.token = $1 2026-07-07 06:59:50.862 UTC [126999] DETAIL: Parameters: $1 = ''' OR EXISTS(SELECT 1 FROM pg_sleep(3)) --' 2026-07-07 06:59:50.862 UTC [126999] LOG: duration: 0.015 ms