2023/07/01 10:54:38 PG Recv: {"Type":"BindComplete"}
2023/07/01 10:54:38 PG Recv: {"Type":"NoData"}
2023/07/01 10:54:38 PG Recv: {"Type":"CommandComplete","CommandTag":"DROP EXTENSION"}
2023/07/01 10:54:38 PG Recv: {"Type":"ParseComplete"}
2023/07/01 10:54:38 PG Recv: {"Type":"BindComplete"}
2023/07/01 10:54:38 PG Recv: {"Type":"NoData"}
2023/07/01 10:54:38 PG Recv: {"Type":"CommandComplete","CommandTag":"CREATE EXTENSION"}
2023/07/01 10:54:38 PG Recv: {"Type":"ParseComplete"}
2023/07/01 10:54:38 PG Recv: {"Type":"BindComplete"}
2023/07/01 10:54:38 PG Recv: {"Type":"NoData"}
2023/07/01 10:54:38 PG Recv: {"Type":"CommandComplete","CommandTag":"RESET"}
2023/07/01 10:54:38 PG Recv: {"Type":"ReadyForQuery","TxStatus":"I"}
Applying migration 00000000000000_dbdev_temp_install.sql...
2023/07/01 10:54:38 PG Send: {"Type":"Parse","Name":"","Query":"/**\n This should be automatically installed, but handling here manually until it is\n https://database.dev/installer\n */\ncreate extension if not exists http with schema extensions","ParameterOIDs":null}
2023/07/01 10:54:38 PG Send: {"Type":"Bind","DestinationPortal":"","PreparedStatement":"","ParameterFormatCodes":null,"Parameters":[],"ResultFormatCodes":[]}
2023/07/01 10:54:38 PG Send: {"Type":"Describe","ObjectType":"P","Name":""}
2023/07/01 10:54:38 PG Send: {"Type":"Execute","Portal":"","MaxRows":0}
2023/07/01 10:54:38 PG Send: {"Type":"Parse","Name":"","Query":"create extension if not exists pg_tle","ParameterOIDs":null}
2023/07/01 10:54:38 PG Send: {"Type":"Bind","DestinationPortal":"","PreparedStatement":"","ParameterFormatCodes":null,"Parameters":[],"ResultFormatCodes":[]}
2023/07/01 10:54:38 PG Send: {"Type":"Describe","ObjectType":"P","Name":""}
2023/07/01 10:54:38 PG Send: {"Type":"Execute","Portal":"","MaxRows":0}
2023/07/01 10:54:38 PG Send: {"Type":"Parse","Name":"","Query":"select pgtle.uninstall_extension_if_exists('supabase-dbdev')","ParameterOIDs":null}
2023/07/01 10:54:38 PG Send: {"Type":"Bind","DestinationPortal":"","PreparedStatement":"","ParameterFormatCodes":null,"Parameters":[],"ResultFormatCodes":[]}
2023/07/01 10:54:38 PG Send: {"Type":"Describe","ObjectType":"P","Name":""}
2023/07/01 10:54:38 PG Send: {"Type":"Execute","Portal":"","MaxRows":0}
2023/07/01 10:54:38 PG Send: {"Type":"Parse","Name":"","Query":"drop extension if exists \"supabase-dbdev\"","ParameterOIDs":null}
2023/07/01 10:54:38 PG Send: {"Type":"Bind","DestinationPortal":"","PreparedStatement":"","ParameterFormatCodes":null,"Parameters":[],"ResultFormatCodes":[]}
2023/07/01 10:54:38 PG Send: {"Type":"Describe","ObjectType":"P","Name":""}
2023/07/01 10:54:38 PG Send: {"Type":"Execute","Portal":"","MaxRows":0}
2023/07/01 10:54:38 PG Send: {"Type":"Parse","Name":"","Query":"select pgtle.install_extension(\n 'supabase-dbdev',\n resp.contents -\u003e\u003e 'version',\n 'PostgreSQL package manager',\n resp.contents -\u003e\u003e 'sql'\n )\nfrom http(\n (\n 'GET',\n 'https://api.database.dev/rest/v1/'\n || 'package_versions?select=sql,version'\n || '\u0026package_name=eq.supabase-dbdev'\n || '\u0026order=version.desc'\n || '\u0026limit=1',\n array [\n ('apiKey',\n 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6InhtdXB0cHBsZnZpaWZyYndtbXR2Iiwicm9sZSI6ImFub24iLCJpYXQiOjE2ODAxMDczNzIsImV4cCI6MTk5NTY4MzM3Mn0.z2CN0mvO2No8wSi46Gw59DFGCTJrzM0AQKsu_5k134s')::http_header\n ],\n null,\n null\n )\n ) x,\n lateral (\n select ((row_to_json(x) -\u003e 'content') #\u003e\u003e '{}')::json -\u003e 0\n ) resp(contents)","ParameterOIDs":null}
2023/07/01 10:54:38 PG Send: {"Type":"Bind","DestinationPortal":"","PreparedStatement":"","ParameterFormatCodes":null,"Parameters":[],"ResultFormatCodes":[]}
2023/07/01 10:54:38 PG Send: {"Type":"Describe","ObjectType":"P","Name":""}
2023/07/01 10:54:38 PG Send: {"Type":"Execute","Portal":"","MaxRows":0}
2023/07/01 10:54:38 PG Send: {"Type":"Parse","Name":"","Query":"create extension \"supabase-dbdev\"","ParameterOIDs":null}
2023/07/01 10:54:38 PG Send: {"Type":"Bind","DestinationPortal":"","PreparedStatement":"","ParameterFormatCodes":null,"Parameters":[],"ResultFormatCodes":[]}
2023/07/01 10:54:38 PG Send: {"Type":"Describe","ObjectType":"P","Name":""}
2023/07/01 10:54:38 PG Send: {"Type":"Execute","Portal":"","MaxRows":0}
2023/07/01 10:54:38 PG Send: {"Type":"Parse","Name":"","Query":"select dbdev.install('supabase-dbdev')","ParameterOIDs":null}
2023/07/01 10:54:38 PG Send: {"Type":"Bind","DestinationPortal":"","PreparedStatement":"","ParameterFormatCodes":null,"Parameters":[],"ResultFormatCodes":[]}
2023/07/01 10:54:38 PG Send: {"Type":"Describe","ObjectType":"P","Name":""}
2023/07/01 10:54:38 PG Send: {"Type":"Execute","Portal":"","MaxRows":0}
2023/07/01 10:54:38 PG Send: {"Type":"Parse","Name":"","Query":"drop extension if exists \"supabase-dbdev\"","ParameterOIDs":null}
2023/07/01 10:54:38 PG Send: {"Type":"Bind","DestinationPortal":"","PreparedStatement":"","ParameterFormatCodes":null,"Parameters":[],"ResultFormatCodes":[]}
2023/07/01 10:54:38 PG Send: {"Type":"Describe","ObjectType":"P","Name":""}
2023/07/01 10:54:38 PG Send: {"Type":"Execute","Portal":"","MaxRows":0}
2023/07/01 10:54:38 PG Send: {"Type":"Parse","Name":"","Query":"create extension \"supabase-dbdev\"","ParameterOIDs":null}
2023/07/01 10:54:38 PG Send: {"Type":"Bind","DestinationPortal":"","PreparedStatement":"","ParameterFormatCodes":null,"Parameters":[],"ResultFormatCodes":[]}
2023/07/01 10:54:38 PG Send: {"Type":"Describe","ObjectType":"P","Name":""}
2023/07/01 10:54:38 PG Send: {"Type":"Execute","Portal":"","MaxRows":0}
2023/07/01 10:54:38 PG Send: {"Type":"Sync"}
2023/07/01 10:54:38 PG Recv: {"Type":"ParseComplete"}
2023/07/01 10:54:38 PG Recv: {"Type":"BindComplete"}
2023/07/01 10:54:38 PG Recv: {"Type":"NoData"}
2023/07/01 10:54:38 PG Recv: {"Type":"CommandComplete","CommandTag":"CREATE EXTENSION"}
2023/07/01 10:54:38 PG Recv: {"Type":"ParseComplete"}
2023/07/01 10:54:38 PG Recv: {"Type":"BindComplete"}
2023/07/01 10:54:38 PG Recv: {"Type":"NoData"}
2023/07/01 10:54:38 PG Recv: {"Type":"ErrorResponse","Severity":"ERROR","SeverityUnlocalized":"ERROR","Code":"0A000","Message":"extension \"pg_tle\" is not available","Detail":"Could not open extension control file \"/usr/share/postgresql/15/extension/pg_tle.control\": No such file or directory.","Hint":"The extension must first be installed on the system where PostgreSQL is running.","Position":0,"InternalPosition":0,"InternalQuery":"","Where":"","SchemaName":"","TableName":"","ColumnName":"","DataTypeName":"","ConstraintName":"","File":"extension.c","Line":539,"Routine":"parse_extension_control_file","UnknownFields":null}
2023/07/01 10:54:38 PG Recv: {"Type":"ReadyForQuery","TxStatus":"I"}
2023/07/01 10:54:38 PG Send: {"Type":"Terminate"}
Error: ERROR: extension "pg_tle" is not available (SQLSTATE 0A000)
At statement 1: create extension if not exists pg_tle