diff --git a/Cargo.lock b/Cargo.lock index 80f93074c..31cd36964 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1469,6 +1469,7 @@ dependencies = [ "sqlquack-core", "sqlquack-snowflake", "sqlquack-syntax", + "sqlquack-syntax-postgres", ] [[package]] diff --git a/crates/sqlquack-semantics/Cargo.toml b/crates/sqlquack-semantics/Cargo.toml index ccb580b66..f900c9183 100644 --- a/crates/sqlquack-semantics/Cargo.toml +++ b/crates/sqlquack-semantics/Cargo.toml @@ -16,5 +16,8 @@ sqlquack-syntax.workspace = true sqlquack-core.workspace = true sqlquack-snowflake.workspace = true +[dev-dependencies] +sqlquack-syntax-postgres.workspace = true + [lints] workspace = true diff --git a/crates/sqlquack-semantics/src/lineage/_helpers/findings/checks.rs b/crates/sqlquack-semantics/src/lineage/_helpers/findings/checks.rs index 07e9743e7..43cf1d32b 100644 --- a/crates/sqlquack-semantics/src/lineage/_helpers/findings/checks.rs +++ b/crates/sqlquack-semantics/src/lineage/_helpers/findings/checks.rs @@ -87,7 +87,12 @@ pub(crate) fn column_finding( ), )); } - if matches >= 1 || current.sources.iter().any(unjudged) { + if matches >= 1 + || current + .sources + .iter() + .any(|source| unjudged(source) || source.query.faulted) + { return None; } scope = current.outer; @@ -120,7 +125,10 @@ fn qualified_finding( let mut scope: Option<&LineageScope<'_>> = Some(level.scope); while let Some(current) = scope { if let Some(source) = source_named(current, &alias, context) { - return (!unjudged(source) && !offers(source, wanted, context)).then(|| { + return (!unjudged(source) + && !source.query.faulted + && !offers(source, wanted, context)) + .then(|| { ( UNKNOWN_COLUMN_CODE, format!( diff --git a/crates/sqlquack-semantics/src/lineage/_helpers/findings/levels.rs b/crates/sqlquack-semantics/src/lineage/_helpers/findings/levels.rs index b3f7f2aa2..c6299b387 100644 --- a/crates/sqlquack-semantics/src/lineage/_helpers/findings/levels.rs +++ b/crates/sqlquack-semantics/src/lineage/_helpers/findings/levels.rs @@ -61,26 +61,61 @@ pub(crate) fn query_findings( } } -/// The CTEs `with` adds to `ctes`, and each body's findings made with the CTEs before it. +/// The CTEs `with` adds to `ctes`, each body's findings, and under PostgreSQL each one faulted. fn visited_ctes<'a>( with: Option<&With>, (ctes, outer, aliases): (&'a [NamedQuery], Option<&LineageScope<'_>>, &[String]), context: LineageContext<'_>, ) -> (Cow<'a, [NamedQuery]>, Vec) { let mut found: Vec = Vec::new(); + let postgres: bool = Engine::of(context) == Engine::Postgres; let reach = with_ctes_visiting(with, (ctes, outer), context, &mut |cte, reach| { - found.extend(query_findings(&cte.this, (reach, outer, aliases), context)); + let body: Vec = query_findings(&cte.this, (reach, outer, aliases), context); + let faulted: bool = + postgres && (!body.is_empty() || reads_faulted(&cte.this, reach, context)); + found.extend(body); + faulted }); (reach, found) } +/// The key of a derived table in FROM, by its alias; none when `item` is not a derived table. +fn derived_key(item: &Expression, context: LineageContext<'_>) -> Option> { + match item { + Expression::Subquery(subquery) => { + Some(subquery.alias.as_ref().map(|alias| key(alias, context))) + } + Expression::Alias(alias) if matches!(alias.this, Expression::Subquery(_)) => { + Some(Some(key(&alias.alias, context))) + } + _ => None, + } +} + +/// Whether `query` names a faulted CTE among `reach`. +fn reads_faulted(query: &Expression, reach: &[NamedQuery], context: LineageContext<'_>) -> bool { + query.dfs().any(|node| match node { + Expression::Table(table) if table.schema.is_none() && table.catalog.is_none() => { + faulted_cte(&key(&table.name, context), reach, context) + } + _ => false, + }) +} + +/// Whether the CTE `name` resolves to among `reach` is faulted. +fn faulted_cte(name: &str, reach: &[NamedQuery], context: LineageContext<'_>) -> bool { + reach + .iter() + .any(|named| named.query.faulted && context.profile.same_identifier(&named.key, name)) +} + fn select_findings( (node, select): (&Expression, &Select), (ctes, outer, aliases): (&[NamedQuery], Option<&LineageScope<'_>>, &[String]), context: LineageContext<'_>, ) -> Vec { let (ctes, mut nested) = visited_ctes(select.with.as_ref(), (ctes, outer, aliases), context); - let scope: LineageScope<'_> = level_scope(select, &ctes, outer, context); + let mut scope: LineageScope<'_> = level_scope(select, &ctes, outer, context); let level = NodeLevel { scope: &scope, context, @@ -97,13 +132,22 @@ fn select_findings( } let mut own: Vec = alias_count_findings(select, &scope, context); own.extend(using_findings(select, &scope, context)); + let postgres: bool = Engine::of(context) == Engine::Postgres; for item in from_items(select) { let reads: Option<&LineageScope<'_>> = lateral(item).then_some(&scope); - nested.extend(query_findings( - unannotated(item), - (&ctes, reads, aliases), - context, - )); + let body: Vec = + query_findings(unannotated(item), (&ctes, reads, aliases), context); + if let Some(derived) = derived_key(unannotated(item), context) + && postgres + && (!body.is_empty() || reads_faulted(item, &ctes, context)) + { + scope + .sources + .iter_mut() + .filter(|source| source.query.derived && source.key == derived) + .for_each(|source| source.query.faulted = true); + } + nested.extend(body); own.extend(unpivot_findings(item, &ctes, context)); } let mut outputs: Vec = aliases.to_vec(); @@ -124,7 +168,6 @@ fn select_findings( ) }), }; - let postgres: bool = Engine::of(context) == Engine::Postgres; let unnamed: [String; 0] = []; for projection in &select.expressions { let own_name: String = output_key(unannotated(projection), context); diff --git a/crates/sqlquack-semantics/src/lineage/_helpers/tracing/queries.rs b/crates/sqlquack-semantics/src/lineage/_helpers/tracing/queries.rs index 6538e0c76..0282a0dc0 100644 --- a/crates/sqlquack-semantics/src/lineage/_helpers/tracing/queries.rs +++ b/crates/sqlquack-semantics/src/lineage/_helpers/tracing/queries.rs @@ -274,7 +274,7 @@ pub(crate) fn with_ctes<'a>( outer: Option<&LineageScope<'_>>, context: LineageContext<'_>, ) -> Cow<'a, [NamedQuery]> { - with_ctes_visiting(with, (ctes, outer), context, &mut |_, _| {}) + with_ctes_visiting(with, (ctes, outer), context, &mut |_, _| false) } /// `with_ctes`, showing `visit` each CTE with the CTEs its body can read. @@ -282,16 +282,16 @@ pub(crate) fn with_ctes_visiting<'a>( with: Option<&With>, (ctes, outer): (&'a [NamedQuery], Option<&LineageScope<'_>>), context: LineageContext<'_>, - visit: &mut dyn FnMut(&Cte, &[NamedQuery]), + visit: &mut dyn FnMut(&Cte, &[NamedQuery]) -> bool, ) -> Cow<'a, [NamedQuery]> { let Some(with) = with else { return Cow::Borrowed(ctes); }; let mut reach: Vec = ctes.to_vec(); for cte in &with.ctes { - visit(cte, &reach); + let faulted: bool = visit(cte, &reach); let name = key(&cte.alias, context); - let query: ResolvedQuery = match with.recursive || reads_itself(cte, &name, context) { + let mut query: ResolvedQuery = match with.recursive || reads_itself(cte, &name, context) { true => recursive_query(cte, (&name, &reach), outer, context), false => renamed( resolved_query(&cte.this, &reach, outer, context), @@ -299,6 +299,7 @@ pub(crate) fn with_ctes_visiting<'a>( context, ), }; + query.faulted = faulted; reach.retain(|named| named.key != name); reach.push(NamedQuery { key: name, query }); } @@ -709,6 +710,7 @@ pub(crate) fn expanded_star( rows: RowReads::default(), outer_nullable: only.is_some_and(|only| only.query.outer_nullable), derived: false, + faulted: false, } } diff --git a/crates/sqlquack-semantics/src/lineage/_helpers/typing/postgres_typing.rs b/crates/sqlquack-semantics/src/lineage/_helpers/typing/postgres_typing.rs index 59e82c5b2..95257fc8e 100644 --- a/crates/sqlquack-semantics/src/lineage/_helpers/typing/postgres_typing.rs +++ b/crates/sqlquack-semantics/src/lineage/_helpers/typing/postgres_typing.rs @@ -1,6 +1,7 @@ //! PostgreSQL's result types from its 18.6 catalogue: string literals, `||` and built-in calls. use std::collections::{HashMap, HashSet}; +use std::num::ParseIntError; use std::rc::Rc; use std::sync::OnceLock; @@ -75,6 +76,36 @@ const PROCEDURE_KIND: &str = "p"; const FLOAT4_BITS: u32 = 24; /// The pseudo-types an array argument matches. const ANY_ARRAY_TYPES: [&str; 2] = ["anyarray", "anycompatiblearray"]; +/// The concatenation operator, which joins strings, arrays and other values of one type. +const CONCATENATION: &str = "||"; +/// Polymorphic results that take the type of the arguments in their parameter group, unmodified. +const ELEMENT_GROUPS: [&[&str]; 2] = [ + &["anyelement", "anynonarray"], + &["anycompatible", "anycompatiblenonarray"], +]; +/// The categories of pseudo-types and `unknown`, whose casts a view column does not keep. +const UNRESOLVED_CATEGORIES: [char; 2] = [PSEUDO_CATEGORY, 'X']; +/// The category of range and multirange types. +const RANGE_CATEGORY: char = 'R'; +/// The functions that read one bound of a range or multirange as its element type. +const RANGE_BOUND_FUNCTIONS: [&str; 2] = ["lower", "upper"]; +/// Each built-in range and multirange type with its element type. +const RANGE_ELEMENTS: [(&str, &str); 12] = [ + ("int4range", "integer"), + ("int8range", "bigint"), + ("numrange", "numeric"), + ("tsrange", "timestamp without time zone"), + ("tstzrange", "timestamp with time zone"), + ("daterange", "date"), + ("int4multirange", "integer"), + ("int8multirange", "bigint"), + ("nummultirange", "numeric"), + ("tsmultirange", "timestamp without time zone"), + ("tstzmultirange", "timestamp with time zone"), + ("datemultirange", "date"), +]; +/// The radix prefixes of PostgreSQL's non-decimal integer literals. +const RADIX_PREFIXES: [(&str, u32); 3] = [("0x", 16), ("0o", 8), ("0b", 2)]; /// One overload: its kind (`f`, `a`, `w` or `p`), result, parameters, variadic element and defaults. struct Overload { @@ -241,6 +272,9 @@ fn viable(overload: &Overload, arguments: &[Option]) -> bool { /// SQLQuack's spelling of a `format_type` name. fn spelling(formatted: &str) -> String { + if let Some(element) = formatted.strip_suffix("[]") { + return format!("{}[]", spelling(element)); + } let spelled: &str = match formatted { "character varying" => "VARCHAR", "character" => "CHAR", @@ -638,8 +672,15 @@ pub(crate) fn postgres_cast_spelling(data_type: &DataType) -> Option { DataType::Json => "JSON".to_owned(), DataType::JsonB => "JSONB".to_owned(), DataType::Uuid => "UUID".to_owned(), - DataType::Array { element_type, .. } => { - format!("{}[]", postgres_cast_spelling(element_type)?) + DataType::Array { element_type, .. } => match element_type.as_ref() { + DataType::Array { .. } => postgres_cast_spelling(element_type)?, + element => format!("{}[]", postgres_cast_spelling(element)?), + }, + DataType::Custom { name } + if category(&catalogue_name(name)) + .is_some_and(|category| UNRESOLVED_CATEGORIES.contains(&category)) => + { + return None; } other => crate::lineage::_helpers::typing::rules::rendered_type(other)?, }) @@ -672,7 +713,7 @@ fn arithmetic(expression: &Expression) -> Option<(&'static str, &BinaryOp)> { pub(crate) fn postgres_literal_type(literal: &Literal) -> Option<&'static str> { match literal { Literal::String(_) | Literal::EscapeString(_) | Literal::DollarString(_) => Some(TEXT), - Literal::Number(digits) => Some(digits.parse::().map_or(NUMERIC, |value| { + Literal::Number(digits) => Some(integer_value(digits).map_or(NUMERIC, |value| { INTEGER_LITERAL_TYPES .iter() .find(|(bound, _)| value <= *bound) @@ -682,6 +723,18 @@ pub(crate) fn postgres_literal_type(literal: &Literal) -> Option<&'static str> { } } +/// An integer literal's value, decimal or `0x`/`0o`/`0b`, with `_` separators. +fn integer_value(digits: &str) -> Result { + let digits: String = digits.replace('_', "").to_ascii_lowercase(); + let radix: Option<(&str, u32)> = RADIX_PREFIXES + .iter() + .find_map(|(prefix, radix)| Some((digits.strip_prefix(prefix)?, *radix))); + match radix { + Some((rest, radix)) => i128::from_str_radix(rest, radix), + None => digits.parse::(), + } +} + /// The type PostgreSQL gives `expression`, when the catalogue decides it; none leaves it to rules. pub(crate) fn postgres_type( expression: &Expression, @@ -695,7 +748,10 @@ pub(crate) fn postgres_type( let textual: bool = sides.contains(&Some(Family::String)) || string_literal(&concat.left) || string_literal(&concat.right); - return (textual && !sides.contains(&Some(Family::Array))).then(|| Some(Rc::from(TEXT))); + if textual && !sides.contains(&Some(Family::Array)) { + return Some(Some(Rc::from(TEXT))); + } + return Some(concatenation_type(&concat.left, &concat.right, parts)); } if let Expression::Case(case) = expression { let mut values: Vec<&Expression> = case.else_.iter().collect(); @@ -722,7 +778,19 @@ pub(crate) fn postgres_type( } let (name, arguments) = called(expression)?; if let Some((_, result)) = VALUE_FUNCTIONS.iter().find(|(value, _)| *value == name) { - return Some(Some(Rc::from(*result))); + return Some(value_function_type(result, &arguments)); + } + if RANGE_BOUND_FUNCTIONS.contains(&name.as_str()) + && let [argument] = arguments.as_slice() + && let Some(range) = argument_type(argument, parts).map(catalogue_name) + && category(&range) == Some(RANGE_CATEGORY) + { + return Some( + RANGE_ELEMENTS + .iter() + .find(|(known, _)| *known == range) + .map(|(_, element)| Rc::from(spelling(element))), + ); } match name.as_str() { "coalesce" | "greatest" | "least" => return common_type(&arguments, parts), @@ -764,6 +832,83 @@ pub(crate) fn postgres_type( [result] if category(result) != Some(PSEUDO_CATEGORY) => { Some(Some(Rc::from(spelling(result)))) } + [result] => { + let group: &[&str] = ELEMENT_GROUPS.iter().find(|group| group.contains(result))?; + let chosen: Vec<&&Overload> = candidates + .iter() + .filter(|overload| fit(overload, &types) == best) + .collect(); + Some(polymorphic_type(group, &chosen, &types)) + } _ => None, } } + +/// A polymorphic result's type: its group's one argument type, unmodified; none if they differ. +fn polymorphic_type( + group: &[&str], + overloads: &[&&Overload], + types: &[Option], +) -> Option> { + let mut found: Option<&String> = None; + for overload in overloads { + for (index, argument) in types.iter().enumerate() { + let parameter: Option<&String> = match &overload.variadic { + Some(element) if index + 1 >= overload.parameters.len() => Some(element), + _ => overload.parameters.get(index), + }; + if !parameter.is_some_and(|parameter| group.contains(¶meter.as_str())) { + continue; + } + let argument: &String = argument.as_ref()?; + if category(argument).is_none_or(|category| category == PSEUDO_CATEGORY) { + return None; + } + match found { + Some(first) if first != argument => return None, + _ => found = Some(argument), + } + } + } + found.map(|found| Rc::from(spelling(found))) +} + +/// A SQL value function's type, with a literal precision argument; none for any other argument. +fn value_function_type(result: &str, arguments: &[&Expression]) -> Option> { + match arguments { + [] => Some(Rc::from(result)), + [Expression::Literal(literal)] => match literal.as_ref() { + Literal::Number(digits) => match digits.parse::() { + Ok(precision) => Some(Rc::from(format!("{result}({precision})"))), + Err(_) => None, + }, + _ => None, + }, + _ => None, + } +} + +/// The type of a non-string `left || right`: an array with its own type, else from `pg_operator`. +fn concatenation_type( + left: &Expression, + right: &Expression, + parts: &[(&Expression, Lineage)], +) -> Option> { + let operands: Vec = vec![operand(left, parts)?, operand(right, parts)?]; + let names: Vec<&String> = operands.iter().flatten().map(|(name, _)| name).collect(); + let [left_name, right_name] = names.as_slice() else { + return None; + }; + let element = |name: &str| name.strip_suffix("[]").map(str::to_owned); + let array: Option = match (element(left_name), element(right_name)) { + (Some(left), Some(right)) if left == right => Some(left), + (Some(left), None) if left == **right_name => Some(left), + (None, Some(right)) if right == **left_name => Some(right), + (Some(_), _) | (_, Some(_)) => return None, + (None, None) => None, + }; + match array { + Some(element) => Some(Rc::from(spelling(&format!("{element}[]")))), + None => operator_type(CONCATENATION, BINARY_KIND, &operands), + } +} diff --git a/crates/sqlquack-semantics/src/lineage/models.rs b/crates/sqlquack-semantics/src/lineage/models.rs index 932d01e8a..dcc8459a1 100644 --- a/crates/sqlquack-semantics/src/lineage/models.rs +++ b/crates/sqlquack-semantics/src/lineage/models.rs @@ -193,6 +193,8 @@ pub(crate) struct ResolvedQuery { pub(crate) outer_nullable: bool, /// Whether the FROM item is a derived table, which no qualifier names unless it is aliased. pub(crate) derived: bool, + /// Whether its definition or a CTE it reads has a finding, so names read from it are not. + pub(crate) faulted: bool, } /// The FROM items of a query level: their sources, merged join keys and row dependencies. diff --git a/crates/sqlquack-semantics/src/lineage/tests/fixtures/postgres_syntax_types.json b/crates/sqlquack-semantics/src/lineage/tests/fixtures/postgres_syntax_types.json new file mode 100644 index 000000000..81e50646f --- /dev/null +++ b/crates/sqlquack-semantics/src/lineage/tests/fixtures/postgres_syntax_types.json @@ -0,0 +1,2039 @@ +{ + "engine": "postgres", + "engine_version": "18.6 (Debian 18.6-1.pgdg13+2)", + "engine_image_sha256": "bd5dfa494a5a259704365813dbfa5fa6b3e69be7348d43b547f540c730478583", + "method": "format_type of a temporary view's first column for each accepted query-shaped case of coverage/syntax-postgres/cases, over the empty table t, recorded by scripts/record_postgres_types.py --syntax-cases", + "schema": { + "tables": [ + { + "name": "t", + "columns": [ + { + "name": "c_smallint", + "type": "smallint" + }, + { + "name": "c_integer", + "type": "integer" + }, + { + "name": "c_bigint", + "type": "bigint" + }, + { + "name": "c_num10_2", + "type": "numeric(10,2)" + }, + { + "name": "c_num20_5", + "type": "numeric(20,5)" + }, + { + "name": "c_numeric", + "type": "numeric" + }, + { + "name": "c_real", + "type": "real" + }, + { + "name": "c_double", + "type": "double precision" + }, + { + "name": "c_text", + "type": "text" + }, + { + "name": "c_varchar", + "type": "varchar(20)" + }, + { + "name": "c_char", + "type": "char(3)" + }, + { + "name": "c_boolean", + "type": "boolean" + }, + { + "name": "c_date", + "type": "date" + }, + { + "name": "c_timestamp", + "type": "timestamp" + }, + { + "name": "c_timestamptz", + "type": "timestamptz" + }, + { + "name": "c_time", + "type": "time" + }, + { + "name": "c_interval", + "type": "interval" + }, + { + "name": "c_json", + "type": "json" + }, + { + "name": "c_jsonb", + "type": "jsonb" + }, + { + "name": "c_uuid", + "type": "uuid" + }, + { + "name": "c_bytea", + "type": "bytea" + }, + { + "name": "c_int_array", + "type": "integer[]" + }, + { + "name": "c_text_array", + "type": "text[]" + } + ] + } + ] + }, + "cases": [ + {"id": "pg.dml.delete.k13ef5e63f333", "category": "dml:semantic", "sql": "WITH w1 AS ( SELECT 1 ) DELETE FROM ONLY t1", "error": "syntax error at or near \"DELETE\" at character 48"}, + {"id": "pg.dml.delete.k22d149f16993", "category": "dml:semantic", "sql": "WITH w1 AS ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT 1 ) ) ) ) ) ) ) ) DELETE FROM ONLY t1", "error": "syntax error at or near \"DELETE\" at character 174"}, + {"id": "pg.dml.delete.k4d6e8bd3688e", "category": "dml:semantic", "sql": "WITH RECURSIVE w1 AS ( SELECT 1 ) , w1 AS ( SELECT 1 ) DELETE FROM ONLY t1 AS a1 USING t1 , t1 WHERE TRUE RETURNING WITH ( OLD AS o1 , NEW AS o1 ) 1 AS a1 , 1", "error": "syntax error at or near \"DELETE\" at character 79"}, + {"id": "pg.dml.delete.k64a78b568f64", "category": "dml:semantic", "sql": "WITH \"w1 Q\" AS ( SELECT 1 ) DELETE FROM ONLY t1", "error": "syntax error at or near \"DELETE\" at character 52"}, + {"id": "pg.dml.delete.k777b412b6965", "category": "dml:semantic", "sql": "WITH \"SELECT\" AS ( SELECT 1 ) DELETE FROM ONLY t1", "error": "syntax error at or near \"DELETE\" at character 54"}, + {"id": "pg.dml.delete.k81e601e2efe7", "category": "dml:semantic", "sql": "WITH RECURSIVE w1 AS ( SELECT 1 ) , w1 AS ( SELECT 1 ) DELETE FROM ONLY t1 AS a1 USING t1 , t1 WHERE TRUE RETURNING WITH ( OLD AS o1 , NEW AS o1 ) * , 1", "error": "syntax error at or near \"DELETE\" at character 79"}, + {"id": "pg.dml.delete.k965024ebb8f5", "category": "dml:semantic", "sql": "WITH w1 AS ( SELECT * FROM ( SELECT 1 ) ) DELETE FROM ONLY t1", "error": "syntax error at or near \"DELETE\" at character 66"}, + {"id": "pg.dml.delete.kec29a8eedd7c", "category": "dml:semantic", "sql": "WITH RECURSIVE w1 AS ( SELECT 1 ) , w1 AS ( SELECT 1 ) DELETE FROM t1 * AS a1 USING t1 , t1 WHERE TRUE RETURNING WITH ( OLD AS o1 , NEW AS o1 ) * , 1", "error": "syntax error at or near \"DELETE\" at character 79"}, + {"id": "pg.dml.delete.kf08c0dc54b09", "category": "dml:semantic", "sql": "WITH RECURSIVE w1 AS ( SELECT 1 ) , w1 AS ( SELECT 1 ) DELETE FROM ONLY t1 AS a1 USING t1 , t1 WHERE CURRENT OF k1 RETURNING WITH ( OLD AS o1 , NEW AS o1 ) * , 1", "error": "syntax error at or near \"DELETE\" at character 79"}, + {"id": "pg.dml.insert.k089b33f77d64", "category": "dml:semantic", "sql": "WITH RECURSIVE w1 AS ( SELECT 1 ) , w1 AS ( SELECT 1 ) INSERT INTO t1 AS a1 DEFAULT VALUES ON CONFLICT ( c1 ) DO NOTHING RETURNING WITH ( OLD AS o1 , NEW AS o1 ) 1 AS a1 , 1", "error": "syntax error at or near \"INSERT\" at character 79"}, + {"id": "pg.dml.insert.k0c1b486b8e44", "category": "dml:semantic", "sql": "WITH \"SELECT\" AS ( SELECT 1 ) INSERT INTO t1 DEFAULT VALUES", "error": "syntax error at or near \"INSERT\" at character 55"}, + {"id": "pg.dml.insert.k3086d12aaa69", "category": "dml:semantic", "sql": "WITH RECURSIVE w1 AS ( SELECT 1 ) , w1 AS ( SELECT 1 ) INSERT INTO t1 AS a1 DEFAULT VALUES ON CONFLICT ( c1 ) DO NOTHING RETURNING WITH ( OLD AS o1 , NEW AS o1 ) * , 1", "error": "syntax error at or near \"INSERT\" at character 80"}, + {"id": "pg.dml.insert.k528240e7f79b", "category": "dml:semantic", "sql": "WITH \"w1 Q\" AS ( SELECT 1 ) INSERT INTO t1 DEFAULT VALUES", "error": "syntax error at or near \"INSERT\" at character 53"}, + {"id": "pg.dml.insert.k54c03c03bb64", "category": "dml:semantic", "sql": "WITH w1 AS ( SELECT * FROM ( SELECT 1 ) ) INSERT INTO t1 DEFAULT VALUES", "error": "syntax error at or near \"INSERT\" at character 67"}, + {"id": "pg.dml.insert.k753ad87d928b", "category": "dml:semantic", "sql": "WITH RECURSIVE w1 AS ( SELECT 1 ) , w1 AS ( SELECT 1 ) INSERT INTO t1 AS a1 ( c1 , c1 ) OVERRIDING SYSTEM VALUE VALUES ( 1 , 1 ) , ( 1 ) ON CONFLICT ( c1 ) DO NOTHING RETURNING WITH ( OLD AS o1 , NEW AS o1 ) * , 1", "error": "syntax error at or near \"INSERT\" at character 80"}, + {"id": "pg.dml.insert.kc8e71bbf2982", "category": "dml:semantic", "sql": "WITH w1 AS ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT 1 ) ) ) ) ) ) ) ) INSERT INTO t1 DEFAULT VALUES", "error": "syntax error at or near \"INSERT\" at character 175"}, + {"id": "pg.dml.insert.kccb7ff7f6dcd", "category": "dml:semantic", "sql": "WITH w1 AS ( SELECT 1 ) INSERT INTO t1 DEFAULT VALUES", "error": "syntax error at or near \"INSERT\" at character 49"}, + {"id": "pg.dml.merge.k02a5d4b9551f", "category": "dml:semantic", "sql": "WITH w1 AS ( SELECT * FROM ( SELECT 1 ) ) MERGE INTO ONLY t1 USING t2 ON TRUE WHEN MATCHED THEN DELETE", "error": "syntax error at or near \"MERGE\" at character 67"}, + {"id": "pg.dml.merge.k26fc178262bf", "category": "dml:semantic", "sql": "WITH \"SELECT\" AS ( SELECT 1 ) MERGE INTO ONLY t1 USING t2 ON TRUE WHEN MATCHED THEN DELETE", "error": "syntax error at or near \"MERGE\" at character 55"}, + {"id": "pg.dml.merge.k5a7979d3e4f4", "category": "dml:semantic", "sql": "WITH w1 AS ( SELECT 1 ) , w1 AS ( SELECT 1 ) MERGE INTO ONLY t1 AS a1 USING t2 ON TRUE WHEN MATCHED THEN DELETE RETURNING WITH ( OLD AS o1 , NEW AS o1 ) * , 1", "error": "syntax error at or near \"MERGE\" at character 70"}, + {"id": "pg.dml.merge.k66469fa9a8c8", "category": "dml:semantic", "sql": "WITH w1 AS ( SELECT 1 ) , w1 AS ( SELECT 1 ) MERGE INTO ONLY t1 AS a1 USING t2 ON TRUE WHEN MATCHED THEN DELETE RETURNING WITH ( OLD AS o1 , NEW AS o1 ) 1 AS a1 , 1", "error": "syntax error at or near \"MERGE\" at character 70"}, + {"id": "pg.dml.merge.kb221b6ac5464", "category": "dml:semantic", "sql": "WITH \"w1 Q\" AS ( SELECT 1 ) MERGE INTO ONLY t1 USING t2 ON TRUE WHEN MATCHED THEN DELETE", "error": "syntax error at or near \"MERGE\" at character 53"}, + {"id": "pg.dml.merge.kc08690b8e3eb", "category": "dml:semantic", "sql": "WITH w1 AS ( SELECT 1 ) , w1 AS ( SELECT 1 ) MERGE INTO t1 * AS a1 USING t2 ON TRUE WHEN MATCHED THEN DELETE RETURNING WITH ( OLD AS o1 , NEW AS o1 ) * , 1", "error": "syntax error at or near \"MERGE\" at character 70"}, + {"id": "pg.dml.merge.kd732051553ce", "category": "dml:semantic", "sql": "WITH w1 AS ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT 1 ) ) ) ) ) ) ) ) MERGE INTO ONLY t1 USING t2 ON TRUE WHEN MATCHED THEN DELETE", "error": "syntax error at or near \"MERGE\" at character 175"}, + {"id": "pg.dml.merge.ke08fda67086e", "category": "dml:semantic", "sql": "WITH w1 AS ( SELECT 1 ) MERGE INTO ONLY t1 USING t2 ON TRUE WHEN MATCHED THEN DELETE", "error": "syntax error at or near \"MERGE\" at character 49"}, + {"id": "pg.dml.update.k04f38dcf192c", "category": "dml:semantic", "sql": "WITH RECURSIVE w1 AS ( SELECT 1 ) , w1 AS ( SELECT 1 ) UPDATE ONLY t1 AS a1 SET c1 = 1 , c1 = 1 FROM t1 , t1 WHERE CURRENT OF k1 RETURNING WITH ( OLD AS o1 , NEW AS o1 ) * , 1", "error": "syntax error at or near \"UPDATE\" at character 80"}, + {"id": "pg.dml.update.k2c3e0161c98d", "category": "dml:semantic", "sql": "WITH \"SELECT\" AS ( SELECT 1 ) UPDATE ONLY t1 SET c1 = 1", "error": "syntax error at or near \"UPDATE\" at character 55"}, + {"id": "pg.dml.update.k52fa7f753f81", "category": "dml:semantic", "sql": "WITH RECURSIVE w1 AS ( SELECT 1 ) , w1 AS ( SELECT 1 ) UPDATE t1 * AS a1 SET c1 = 1 , c1 = 1 FROM t1 , t1 WHERE TRUE RETURNING WITH ( OLD AS o1 , NEW AS o1 ) * , 1", "error": "syntax error at or near \"UPDATE\" at character 80"}, + {"id": "pg.dml.update.k728a336acca0", "category": "dml:semantic", "sql": "WITH RECURSIVE w1 AS ( SELECT 1 ) , w1 AS ( SELECT 1 ) UPDATE ONLY t1 AS a1 SET c1 = 1 , c1 = 1 FROM t1 , t1 WHERE TRUE RETURNING WITH ( OLD AS o1 , NEW AS o1 ) 1 AS a1 , 1", "error": "syntax error at or near \"UPDATE\" at character 80"}, + {"id": "pg.dml.update.k779f406dd076", "category": "dml:semantic", "sql": "WITH w1 AS ( SELECT * FROM ( SELECT 1 ) ) UPDATE ONLY t1 SET c1 = 1", "error": "syntax error at or near \"UPDATE\" at character 67"}, + {"id": "pg.dml.update.k80c34cd95902", "category": "dml:semantic", "sql": "WITH w1 AS ( SELECT 1 ) UPDATE ONLY t1 SET c1 = 1", "error": "syntax error at or near \"UPDATE\" at character 49"}, + {"id": "pg.dml.update.ka287649428e5", "category": "dml:semantic", "sql": "WITH RECURSIVE w1 AS ( SELECT 1 ) , w1 AS ( SELECT 1 ) UPDATE ONLY t1 AS a1 SET ( c1 , c1 ) = ROW ( 1 , 1 ) , c1 = 1 FROM t1 , t1 WHERE TRUE RETURNING WITH ( OLD AS o1 , NEW AS o1 ) * , 1", "error": "syntax error at or near \"UPDATE\" at character 80"}, + {"id": "pg.dml.update.kbe0196bb4f14", "category": "dml:semantic", "sql": "WITH RECURSIVE w1 AS ( SELECT 1 ) , w1 AS ( SELECT 1 ) UPDATE ONLY t1 AS a1 SET ( c1 , c1 ) = ( v1 ) , c1 = 1 FROM t1 , t1 WHERE TRUE RETURNING WITH ( OLD AS o1 , NEW AS o1 ) * , 1", "error": "syntax error at or near \"UPDATE\" at character 80"}, + {"id": "pg.dml.update.kc5cb4cb14c0c", "category": "dml:semantic", "sql": "WITH w1 AS ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT 1 ) ) ) ) ) ) ) ) UPDATE ONLY t1 SET c1 = 1", "error": "syntax error at or near \"UPDATE\" at character 175"}, + {"id": "pg.dml.update.ke73c8771d71b", "category": "dml:semantic", "sql": "WITH RECURSIVE w1 AS ( SELECT 1 ) , w1 AS ( SELECT 1 ) UPDATE ONLY t1 AS a1 SET c1 = 1 , c1 = 1 FROM t1 , t1 WHERE TRUE RETURNING WITH ( OLD AS o1 , NEW AS o1 ) * , 1", "error": "syntax error at or near \"UPDATE\" at character 80"}, + {"id": "pg.dml.update.kec1cff57bd9c", "category": "dml:semantic", "sql": "WITH \"w1 Q\" AS ( SELECT 1 ) UPDATE ONLY t1 SET c1 = 1", "error": "syntax error at or near \"UPDATE\" at character 53"}, + {"id": "pg.expressions.array.op-amp-amp.k714535bc024b", "category": "expressions:executed", "sql": "SELECT ( ARRAY [ 1 ] && ARRAY [ 1 ] )", "type": "boolean"}, + {"id": "pg.expressions.array.op-at-gt.kfe71a8035234", "category": "expressions:executed", "sql": "SELECT ( ARRAY [ 1 ] @> ARRAY [ 1 ] )", "type": "boolean"}, + {"id": "pg.expressions.array.op-bar-bar.k613eaea89a35", "category": "expressions:executed", "sql": "SELECT ( ARRAY [ 1 ] || ARRAY [ 1 ] )", "type": "integer[]"}, + {"id": "pg.expressions.array.op-bar-bar.kd1c362aa88fc", "category": "expressions:executed", "sql": "SELECT ( ARRAY [ 1 ] || 1 )", "type": "integer[]"}, + {"id": "pg.expressions.array.op-bar-bar.kdc789fa0fc52", "category": "expressions:executed", "sql": "SELECT ( 1 || ARRAY [ 1 ] )", "type": "integer[]"}, + {"id": "pg.expressions.array.op-lt-at.k33532fb2218c", "category": "expressions:executed", "sql": "SELECT ( ARRAY [ 1 ] <@ ARRAY [ 1 ] )", "type": "boolean"}, + {"id": "pg.expressions.arrays.array-type.k25d03912d862", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS INT [ ] )", "type": "integer[]"}, + {"id": "pg.expressions.arrays.array-type.k3b457845908d", "category": "expressions:semantic", "sql": "SELECT CAST ( NULL AS \"SELECT\" [ ] )", "error": "type \"SELECT[]\" does not exist at character 47"}, + {"id": "pg.expressions.arrays.array-type.k60675f669ef8", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS INT ARRAY )", "type": "integer[]"}, + {"id": "pg.expressions.arrays.array-type.ka7191c46fdca", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS INT ARRAY [ 3 ] )", "type": "integer[]"}, + {"id": "pg.expressions.arrays.array-type.ka7da43d59d00", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS INT [ 3 ] [ 3 ] )", "type": "integer[]"}, + {"id": "pg.expressions.arrays.array-type.ka84d5fdec10f", "category": "expressions:semantic", "sql": "SELECT CAST ( NULL AS \"INT Q\" [ ] )", "error": "type \"INT Q[]\" does not exist at character 47"}, + {"id": "pg.expressions.arrays.array-type.ke2999981f7a7", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS INT [ ] [ ] )", "type": "integer[]"}, + {"id": "pg.expressions.binarystring.op-bar-bar.k9c9e660bd4ba", "category": "expressions:executed", "sql": "SELECT ( BYTEA 'ab' || BYTEA 'ab' )", "type": "bytea"}, + {"id": "pg.expressions.bitstring.op-amp.k3ec1cfa55d7f", "category": "expressions:executed", "sql": "SELECT ( B'101' & B'101' )", "type": "\"bit\""}, + {"id": "pg.expressions.bitstring.op-bar-bar.k1206e8353586", "category": "expressions:executed", "sql": "SELECT ( B'101' || B'101' )", "type": "bit varying"}, + {"id": "pg.expressions.bitstring.op-bar.k31f1def91f2a", "category": "expressions:executed", "sql": "SELECT ( B'101' | B'101' )", "type": "\"bit\""}, + {"id": "pg.expressions.bitstring.op-bar.kd28d6025fb0e", "category": "expressions:semantic", "sql": "SELECT | B'101'", "error": "operator does not exist: | bit at character 32"}, + {"id": "pg.expressions.bitstring.op-gt-gt.k0d28cdbcf05e", "category": "expressions:executed", "sql": "SELECT ( B'101' >> 1 )", "type": "\"bit\""}, + {"id": "pg.expressions.bitstring.op-hash.k187d4e02696e", "category": "expressions:executed", "sql": "SELECT ( B'101' # B'101' )", "type": "\"bit\""}, + {"id": "pg.expressions.bitstring.op-lt-lt.kd54e14b3175d", "category": "expressions:executed", "sql": "SELECT ( B'101' << 1 )", "type": "\"bit\""}, + {"id": "pg.expressions.bitstring.op-tilde.k65ea48715173", "category": "expressions:executed", "sql": "SELECT ( ~ B'101' )", "type": "\"bit\""}, + {"id": "pg.expressions.comparison.between-and.k1cafde1625e6", "category": "expressions:executed", "sql": "SELECT ( 1 BETWEEN 1 AND 1 )", "type": "boolean"}, + {"id": "pg.expressions.comparison.between-symmetric-and.ke3d2e86c6c3e", "category": "expressions:executed", "sql": "SELECT ( 1 BETWEEN SYMMETRIC 1 AND 1 )", "type": "boolean"}, + {"id": "pg.expressions.comparison.is-distinct-from.k47a5feb31ddb", "category": "expressions:executed", "sql": "SELECT ( 1 IS DISTINCT FROM 1 )", "type": "boolean"}, + {"id": "pg.expressions.comparison.is-false.k0c65a5d75319", "category": "expressions:executed", "sql": "SELECT ( TRUE IS FALSE )", "type": "boolean"}, + {"id": "pg.expressions.comparison.is-not-distinct-from.k81c9239522b6", "category": "expressions:executed", "sql": "SELECT ( 1 IS NOT DISTINCT FROM 1 )", "type": "boolean"}, + {"id": "pg.expressions.comparison.is-not-false.k77ceea037e79", "category": "expressions:executed", "sql": "SELECT ( TRUE IS NOT FALSE )", "type": "boolean"}, + {"id": "pg.expressions.comparison.is-not-null.k639b5f347053", "category": "expressions:executed", "sql": "SELECT ( 1 IS NOT NULL )", "type": "boolean"}, + {"id": "pg.expressions.comparison.is-not-true.kcb90fa8cadf1", "category": "expressions:executed", "sql": "SELECT ( TRUE IS NOT TRUE )", "type": "boolean"}, + {"id": "pg.expressions.comparison.is-not-unknown.k9a73ca06039f", "category": "expressions:executed", "sql": "SELECT ( TRUE IS NOT UNKNOWN )", "type": "boolean"}, + {"id": "pg.expressions.comparison.is-null.k091320efa9cf", "category": "expressions:executed", "sql": "SELECT ( 1 IS NULL )", "type": "boolean"}, + {"id": "pg.expressions.comparison.is-true.k7767f6dfd49b", "category": "expressions:executed", "sql": "SELECT ( TRUE IS TRUE )", "type": "boolean"}, + {"id": "pg.expressions.comparison.is-unknown.k26db18aabe57", "category": "expressions:executed", "sql": "SELECT ( TRUE IS UNKNOWN )", "type": "boolean"}, + {"id": "pg.expressions.comparison.isnull.kf0bcc7a4b7dc", "category": "expressions:executed", "sql": "SELECT ( 1 ISNULL )", "type": "boolean"}, + {"id": "pg.expressions.comparison.not-between-and.kfbbe8c8cb702", "category": "expressions:executed", "sql": "SELECT ( 1 NOT BETWEEN 1 AND 1 )", "type": "boolean"}, + {"id": "pg.expressions.comparison.not-between-symmetric-and.ka21165dec00f", "category": "expressions:executed", "sql": "SELECT ( 1 NOT BETWEEN SYMMETRIC 1 AND 1 )", "type": "boolean"}, + {"id": "pg.expressions.comparison.notnull.k1818e26eb580", "category": "expressions:executed", "sql": "SELECT ( 1 NOTNULL )", "type": "boolean"}, + {"id": "pg.expressions.comparison.op-bang-eq.k80db7cbab951", "category": "expressions:executed", "sql": "SELECT ( 1 != 1 )", "type": "boolean"}, + {"id": "pg.expressions.comparison.op-eq.k4e76e16c904e", "category": "expressions:executed", "sql": "SELECT ( 1 = 1 )", "type": "boolean"}, + {"id": "pg.expressions.comparison.op-gt-eq.kd0de042d7d43", "category": "expressions:executed", "sql": "SELECT ( 1 >= 1 )", "type": "boolean"}, + {"id": "pg.expressions.comparison.op-gt.kc9a04bff30f9", "category": "expressions:executed", "sql": "SELECT ( 1 > 1 )", "type": "boolean"}, + {"id": "pg.expressions.comparison.op-lt-eq.kecc4de6a0762", "category": "expressions:executed", "sql": "SELECT ( 1 <= 1 )", "type": "boolean"}, + {"id": "pg.expressions.comparison.op-lt-gt.kd26a0ae94781", "category": "expressions:executed", "sql": "SELECT ( 1 <> 1 )", "type": "boolean"}, + {"id": "pg.expressions.comparison.op-lt.k172d7708e0d6", "category": "expressions:executed", "sql": "SELECT ( 1 < 1 )", "type": "boolean"}, + {"id": "pg.expressions.comparisons.all-array.k194dd8ac0e85", "category": "expressions:semantic", "sql": "SELECT ( 1 < ALL ( 1 ) )", "error": "op ANY/ALL (array) requires array on right side at character 36"}, + {"id": "pg.expressions.comparisons.any-array.k22d39de5083e", "category": "expressions:semantic", "sql": "SELECT ( 1 < ANY ( 1 ) )", "error": "op ANY/ALL (array) requires array on right side at character 36"}, + {"id": "pg.expressions.comparisons.in-list.k6d0dcbda92b2", "category": "expressions:executed", "sql": "SELECT ( 1 IN ( 1 ) )", "type": "boolean"}, + {"id": "pg.expressions.comparisons.in-list.kd573b4dd623e", "category": "expressions:executed", "sql": "SELECT ( 1 IN ( 1 , 1 ) )", "type": "boolean"}, + {"id": "pg.expressions.comparisons.not-in-list.k52063013fdb9", "category": "expressions:executed", "sql": "SELECT ( 1 NOT IN ( 1 , 1 ) )", "type": "boolean"}, + {"id": "pg.expressions.comparisons.not-in-list.k7493aba2da64", "category": "expressions:executed", "sql": "SELECT ( 1 NOT IN ( 1 ) )", "type": "boolean"}, + {"id": "pg.expressions.comparisons.record-comparison.k6185479a480e", "category": "expressions:executed", "sql": "SELECT ( ROW ( 1 , 2 ) < ROW ( 1 , 2 ) )", "type": "boolean"}, + {"id": "pg.expressions.comparisons.row-is-distinct-from.k40ef9ffa9bd9", "category": "expressions:executed", "sql": "SELECT ( ROW ( 1 , 2 ) IS DISTINCT FROM ROW ( 1 , 2 ) )", "type": "boolean"}, + {"id": "pg.expressions.comparisons.row-is-not-distinct-from.k3e2b906b1d60", "category": "expressions:executed", "sql": "SELECT ( ROW ( 1 , 2 ) IS NOT DISTINCT FROM ROW ( 1 , 2 ) )", "type": "boolean"}, + {"id": "pg.expressions.comparisons.some-array.k37807548474b", "category": "expressions:semantic", "sql": "SELECT ( 1 < SOME ( 1 ) )", "error": "op ANY/ALL (array) requires array on right side at character 36"}, + {"id": "pg.expressions.conditional.case-searched.k639371d5188a", "category": "expressions:executed", "sql": "SELECT ( CASE WHEN TRUE THEN 1 WHEN FALSE THEN 2 ELSE 1 END )", "type": "integer"}, + {"id": "pg.expressions.conditional.case-searched.k9f5743cff0e4", "category": "expressions:executed", "sql": "SELECT ( CASE WHEN TRUE THEN 1 END )", "type": "integer"}, + {"id": "pg.expressions.conditional.case-simple.ka08c4b7a2898", "category": "expressions:executed", "sql": "SELECT ( CASE 1 WHEN 1 THEN 1 WHEN 2 THEN 2 ELSE 1 END )", "type": "integer"}, + {"id": "pg.expressions.conditional.case-simple.kf2aeb230cf6e", "category": "expressions:executed", "sql": "SELECT ( CASE 1 WHEN 1 THEN 1 END )", "type": "integer"}, + {"id": "pg.expressions.datatype-boolean.boolean-literal.k7cf1b5e0a292", "category": "expressions:executed", "sql": "SELECT ( TRUE )", "type": "boolean"}, + {"id": "pg.expressions.datatype-boolean.boolean-literal.kc0e376ed5f98", "category": "expressions:executed", "sql": "SELECT ( FALSE )", "type": "boolean"}, + {"id": "pg.expressions.datatype-character.char.k91400be5ef44", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS \"char\" )", "type": "\"char\""}, + {"id": "pg.expressions.datatype-character.name.kbd5cc82f32b5", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS NAME )", "type": "name"}, + {"id": "pg.expressions.datatype-datetime.interval-fields.k006a7d8fa90d", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS INTERVAL MONTH )", "type": "interval month"}, + {"id": "pg.expressions.datatype-datetime.interval-fields.k1bb63fcdbe82", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS INTERVAL HOUR )", "type": "interval hour"}, + {"id": "pg.expressions.datatype-datetime.interval-fields.k1ec854c1ec31", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS INTERVAL SECOND )", "type": "interval second"}, + {"id": "pg.expressions.datatype-datetime.interval-fields.k2a28718e24f7", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS INTERVAL HOUR TO MINUTE )", "type": "interval hour to minute"}, + {"id": "pg.expressions.datatype-datetime.interval-fields.k31f82bd6d6b7", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS INTERVAL DAY TO SECOND )", "type": "interval day to second"}, + {"id": "pg.expressions.datatype-datetime.interval-fields.k3701884ca637", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS INTERVAL MINUTE TO SECOND ( 3 ) )", "type": "interval minute to second(3)"}, + {"id": "pg.expressions.datatype-datetime.interval-fields.k48f86d3cb95d", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS INTERVAL SECOND ( 3 ) )", "type": "interval second(3)"}, + {"id": "pg.expressions.datatype-datetime.interval-fields.k59861b494a8c", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS INTERVAL MINUTE TO SECOND )", "type": "interval minute to second"}, + {"id": "pg.expressions.datatype-datetime.interval-fields.k8533f40ec4dc", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS INTERVAL YEAR TO MONTH )", "type": "interval year to month"}, + {"id": "pg.expressions.datatype-datetime.interval-fields.k8662fd8ff790", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS INTERVAL DAY )", "type": "interval day"}, + {"id": "pg.expressions.datatype-datetime.interval-fields.k88079f1e9120", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS INTERVAL MINUTE )", "type": "interval minute"}, + {"id": "pg.expressions.datatype-datetime.interval-fields.k9c3d566efd4e", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS INTERVAL DAY TO MINUTE )", "type": "interval day to minute"}, + {"id": "pg.expressions.datatype-datetime.interval-fields.kb5da05ed7822", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS INTERVAL HOUR TO SECOND )", "type": "interval hour to second"}, + {"id": "pg.expressions.datatype-datetime.interval-fields.kd14543b4599a", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS INTERVAL DAY TO SECOND ( 3 ) )", "type": "interval day to second(3)"}, + {"id": "pg.expressions.datatype-datetime.interval-fields.kea3306a2aa4d", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS INTERVAL DAY TO HOUR )", "type": "interval day to hour"}, + {"id": "pg.expressions.datatype-datetime.interval-fields.kec4eec910eaf", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS INTERVAL HOUR TO SECOND ( 3 ) )", "type": "interval hour to second(3)"}, + {"id": "pg.expressions.datatype-datetime.interval-fields.kfae29231edd4", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS INTERVAL YEAR )", "type": "interval year"}, + {"id": "pg.expressions.datatype-datetime.interval-literal-fields.k3b3300d0eb0a", "category": "expressions:runtime", "sql": "SELECT ( INTERVAL 'm' SECOND )", "error": "invalid input syntax for type interval: \"m\" at character 44"}, + {"id": "pg.expressions.datatype-datetime.interval-literal-fields.k3e697bea21af", "category": "expressions:runtime", "sql": "SELECT ( INTERVAL 'm' DAY )", "error": "invalid input syntax for type interval: \"m\" at character 44"}, + {"id": "pg.expressions.datatype-datetime.interval-literal-fields.k40d04049ca35", "category": "expressions:runtime", "sql": "SELECT ( INTERVAL 'm' HOUR TO SECOND ( 3 ) )", "error": "invalid input syntax for type interval: \"m\" at character 44"}, + {"id": "pg.expressions.datatype-datetime.interval-literal-fields.k50af873cda8c", "category": "expressions:runtime", "sql": "SELECT ( INTERVAL 'm' YEAR TO MONTH )", "error": "invalid input syntax for type interval: \"m\" at character 44"}, + {"id": "pg.expressions.datatype-datetime.interval-literal-fields.k667ba5981670", "category": "expressions:runtime", "sql": "SELECT ( INTERVAL 'm' DAY TO SECOND )", "error": "invalid input syntax for type interval: \"m\" at character 44"}, + {"id": "pg.expressions.datatype-datetime.interval-literal-fields.k806cf8df23a8", "category": "expressions:runtime", "sql": "SELECT ( INTERVAL 'm' )", "error": "invalid input syntax for type interval: \"m\" at character 44"}, + {"id": "pg.expressions.datatype-datetime.interval-literal-fields.k8cada8096c5b", "category": "expressions:runtime", "sql": "SELECT ( INTERVAL 'm' MINUTE )", "error": "invalid input syntax for type interval: \"m\" at character 44"}, + {"id": "pg.expressions.datatype-datetime.interval-literal-fields.k925befcbee2a", "category": "expressions:runtime", "sql": "SELECT ( INTERVAL ( 3 ) 'm' )", "error": "invalid input syntax for type interval: \"m\" at character 50"}, + {"id": "pg.expressions.datatype-datetime.interval-literal-fields.ka76f31c4c49c", "category": "expressions:runtime", "sql": "SELECT ( INTERVAL 'm' MONTH )", "error": "invalid input syntax for type interval: \"m\" at character 44"}, + {"id": "pg.expressions.datatype-datetime.interval-literal-fields.kaa592084ed13", "category": "expressions:runtime", "sql": "SELECT ( INTERVAL 'm' DAY TO SECOND ( 3 ) )", "error": "invalid input syntax for type interval: \"m\" at character 44"}, + {"id": "pg.expressions.datatype-datetime.interval-literal-fields.kac48e358288e", "category": "expressions:runtime", "sql": "SELECT ( INTERVAL 'm' HOUR TO MINUTE )", "error": "invalid input syntax for type interval: \"m\" at character 44"}, + {"id": "pg.expressions.datatype-datetime.interval-literal-fields.kae6a51710cd1", "category": "expressions:runtime", "sql": "SELECT ( INTERVAL 'm' HOUR TO SECOND )", "error": "invalid input syntax for type interval: \"m\" at character 44"}, + {"id": "pg.expressions.datatype-datetime.interval-literal-fields.kc057c1e0aa57", "category": "expressions:runtime", "sql": "SELECT ( INTERVAL 'm' DAY TO MINUTE )", "error": "invalid input syntax for type interval: \"m\" at character 44"}, + {"id": "pg.expressions.datatype-datetime.interval-literal-fields.kc15717777b66", "category": "expressions:runtime", "sql": "SELECT ( INTERVAL 'm' MINUTE TO SECOND )", "error": "invalid input syntax for type interval: \"m\" at character 44"}, + {"id": "pg.expressions.datatype-datetime.interval-literal-fields.kc699955a0c97", "category": "expressions:runtime", "sql": "SELECT ( INTERVAL 'm' DAY TO HOUR )", "error": "invalid input syntax for type interval: \"m\" at character 44"}, + {"id": "pg.expressions.datatype-datetime.interval-literal-fields.kdd85041a03f3", "category": "expressions:runtime", "sql": "SELECT ( INTERVAL 'm' YEAR )", "error": "invalid input syntax for type interval: \"m\" at character 44"}, + {"id": "pg.expressions.datatype-datetime.interval-literal-fields.ke0711fb8c961", "category": "expressions:runtime", "sql": "SELECT ( INTERVAL 'm' MINUTE TO SECOND ( 3 ) )", "error": "invalid input syntax for type interval: \"m\" at character 44"}, + {"id": "pg.expressions.datatype-datetime.interval-literal-fields.kea4cff455585", "category": "expressions:runtime", "sql": "SELECT ( INTERVAL 'm' HOUR )", "error": "invalid input syntax for type interval: \"m\" at character 44"}, + {"id": "pg.expressions.datatype-datetime.interval-literal-fields.kf6a8435cbab8", "category": "expressions:runtime", "sql": "SELECT ( INTERVAL 'm' SECOND ( 3 ) )", "error": "invalid input syntax for type interval: \"m\" at character 44"}, + {"id": "pg.expressions.datatype-datetime.typed-datetime-literal.k372b7b5d6c28", "category": "expressions:executed", "sql": "SELECT ( TIMESTAMP ( 3 ) '2026-01-01 00:00:00' )", "type": "timestamp(3) without time zone"}, + {"id": "pg.expressions.datatype-datetime.typed-datetime-literal.k8cd56e402024", "category": "expressions:executed", "sql": "SELECT ( TIMESTAMP '2026-01-01 00:00:00' )", "type": "timestamp without time zone"}, + {"id": "pg.expressions.datatype-json.jsonpath-type.k4ff0ab987472", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS JSONPATH )", "type": "jsonpath"}, + {"id": "pg.expressions.datatype-numeric.float-precision.k4cc49f8faa1e", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS FLOAT )", "type": "double precision"}, + {"id": "pg.expressions.datatype-numeric.float-precision.k59fdf7fea426", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS FLOAT ( 3 ) )", "type": "real"}, + {"id": "pg.expressions.datatype-oid.oid.kf09aa2e3231e", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS OID )", "type": "oid"}, + {"id": "pg.expressions.datatype-oid.regclass.k359c7e9c8589", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS REGCLASS )", "type": "regclass"}, + {"id": "pg.expressions.datatype-oid.regcollation.k88c82cecf28e", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS REGCOLLATION )", "type": "regcollation"}, + {"id": "pg.expressions.datatype-oid.regconfig.kb6f04ee16603", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS REGCONFIG )", "type": "regconfig"}, + {"id": "pg.expressions.datatype-oid.regdictionary.ka35d559baa84", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS REGDICTIONARY )", "type": "regdictionary"}, + {"id": "pg.expressions.datatype-oid.regnamespace.k04229662ad55", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS REGNAMESPACE )", "type": "regnamespace"}, + {"id": "pg.expressions.datatype-oid.regoper.k4ebe8c4af3bd", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS REGOPER )", "type": "regoper"}, + {"id": "pg.expressions.datatype-oid.regoperator.k152761dddac1", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS REGOPERATOR )", "type": "regoperator"}, + {"id": "pg.expressions.datatype-oid.regproc.k2eea70ae7d71", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS REGPROC )", "type": "regproc"}, + {"id": "pg.expressions.datatype-oid.regprocedure.k7ff418161a19", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS REGPROCEDURE )", "type": "regprocedure"}, + {"id": "pg.expressions.datatype-oid.regrole.kf9623715cbcd", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS REGROLE )", "type": "regrole"}, + {"id": "pg.expressions.datatype-oid.regtype.kdd6bdea818b3", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS REGTYPE )", "type": "regtype"}, + {"id": "pg.expressions.datatype-pseudo.any.k37c51a5f0d86", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS \"any\" )", "type": "text"}, + {"id": "pg.expressions.datatype-pseudo.anyarray.kedc1bb5883df", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS ANYARRAY )", "error": "column \"anyarray\" has pseudo-type anyarray"}, + {"id": "pg.expressions.datatype-pseudo.anycompatible.kcd9d88cb18cd", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS ANYCOMPATIBLE )", "type": "text"}, + {"id": "pg.expressions.datatype-pseudo.anycompatiblearray.ka0ae67966279", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS ANYCOMPATIBLEARRAY )", "error": "column \"anycompatiblearray\" has pseudo-type anycompatiblearray"}, + {"id": "pg.expressions.datatype-pseudo.anycompatiblemultirange.k8171a85bfa78", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS ANYCOMPATIBLEMULTIRANGE )", "error": "column \"anycompatiblemultirange\" has pseudo-type anycompatiblemultirange"}, + {"id": "pg.expressions.datatype-pseudo.anycompatiblenonarray.k4f6174a67204", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS ANYCOMPATIBLENONARRAY )", "type": "text"}, + {"id": "pg.expressions.datatype-pseudo.anycompatiblerange.k309471630cbb", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS ANYCOMPATIBLERANGE )", "error": "column \"anycompatiblerange\" has pseudo-type anycompatiblerange"}, + {"id": "pg.expressions.datatype-pseudo.anyelement.k2255adfc1e7e", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS ANYELEMENT )", "type": "text"}, + {"id": "pg.expressions.datatype-pseudo.anyenum.k5582ab9a6feb", "category": "expressions:semantic", "sql": "SELECT CAST ( NULL AS ANYENUM )", "error": "cannot cast type unknown to anyenum at character 33"}, + {"id": "pg.expressions.datatype-pseudo.anymultirange.k1b0f934c3192", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS ANYMULTIRANGE )", "error": "column \"anymultirange\" has pseudo-type anymultirange"}, + {"id": "pg.expressions.datatype-pseudo.anynonarray.k83ea41204cf4", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS ANYNONARRAY )", "type": "text"}, + {"id": "pg.expressions.datatype-pseudo.anyrange.k4e725d991cb5", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS ANYRANGE )", "error": "column \"anyrange\" has pseudo-type anyrange"}, + {"id": "pg.expressions.datatype-pseudo.cstring.k810a9538add4", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS CSTRING )", "error": "column \"cstring\" has pseudo-type cstring"}, + {"id": "pg.expressions.datatype-pseudo.event-trigger.k71d50a5bf852", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS EVENT_TRIGGER )", "error": "cannot accept a value of type event_trigger at character 40"}, + {"id": "pg.expressions.datatype-pseudo.fdw-handler.kf80870148c11", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS FDW_HANDLER )", "error": "cannot accept a value of type fdw_handler at character 40"}, + {"id": "pg.expressions.datatype-pseudo.index-am-handler.k91f6bec67de3", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS INDEX_AM_HANDLER )", "error": "cannot accept a value of type index_am_handler at character 40"}, + {"id": "pg.expressions.datatype-pseudo.internal.kdba5288b5b52", "category": "expressions:semantic", "sql": "SELECT CAST ( NULL AS INTERNAL )", "error": "cannot cast type unknown to internal at character 33"}, + {"id": "pg.expressions.datatype-pseudo.language-handler.k2e0bdb401bd5", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS LANGUAGE_HANDLER )", "error": "cannot accept a value of type language_handler at character 40"}, + {"id": "pg.expressions.datatype-pseudo.pg-ddl-command.kb89670ccf5e1", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS PG_DDL_COMMAND )", "error": "column \"pg_ddl_command\" has pseudo-type pg_ddl_command"}, + {"id": "pg.expressions.datatype-pseudo.record.k1227cd885fd7", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS RECORD )", "error": "column \"record\" has pseudo-type record"}, + {"id": "pg.expressions.datatype-pseudo.table-am-handler.k5f2db4ee1213", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS TABLE_AM_HANDLER )", "error": "cannot accept a value of type table_am_handler at character 40"}, + {"id": "pg.expressions.datatype-pseudo.trigger.k6edeb63b1da4", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS TRIGGER )", "error": "cannot accept a value of type trigger at character 40"}, + {"id": "pg.expressions.datatype-pseudo.tsm-handler.kbee0aa191cf3", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS TSM_HANDLER )", "error": "cannot accept a value of type tsm_handler at character 40"}, + {"id": "pg.expressions.datatype-pseudo.unknown.k685ef60f4060", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS UNKNOWN )", "type": "text"}, + {"id": "pg.expressions.datatype-pseudo.void.kb2d1f6af58f8", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS VOID )", "error": "column \"void\" has pseudo-type void"}, + {"id": "pg.expressions.datatype.bigint.kb4e1d9d24f36", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS INT8 )", "type": "bigint"}, + {"id": "pg.expressions.datatype.bigint.kd32efe0480f3", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS BIGINT )", "type": "bigint"}, + {"id": "pg.expressions.datatype.bigserial.k683c8d87a553", "category": "expressions:semantic", "sql": "SELECT CAST ( NULL AS BIGSERIAL )", "error": "type \"bigserial\" does not exist at character 48"}, + {"id": "pg.expressions.datatype.bigserial.ke5963de12545", "category": "expressions:semantic", "sql": "SELECT CAST ( NULL AS SERIAL8 )", "error": "type \"serial8\" does not exist at character 48"}, + {"id": "pg.expressions.datatype.bit-varying.k08f8c34a80e4", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS BIT VARYING ( 10 ) )", "type": "bit varying(10)"}, + {"id": "pg.expressions.datatype.bit-varying.k2471f9c28a08", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS VARBIT ( 10 ) )", "type": "bit varying(10)"}, + {"id": "pg.expressions.datatype.bit-varying.k6fd4eb864a22", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS VARBIT )", "type": "bit varying"}, + {"id": "pg.expressions.datatype.bit-varying.kd6f8d6e4090c", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS BIT VARYING )", "type": "bit varying"}, + {"id": "pg.expressions.datatype.bit.k35a3e561ff37", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS BIT ( 10 ) )", "type": "bit(10)"}, + {"id": "pg.expressions.datatype.bit.ka6974e37b79f", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS BIT )", "type": "bit(1)"}, + {"id": "pg.expressions.datatype.boolean.kacdda98d0122", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS BOOLEAN )", "type": "boolean"}, + {"id": "pg.expressions.datatype.boolean.keb40c5ae471f", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS BOOL )", "type": "boolean"}, + {"id": "pg.expressions.datatype.box.k64afbb7cf534", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS BOX )", "type": "box"}, + {"id": "pg.expressions.datatype.bytea.k783f4b3dd9a0", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS BYTEA )", "type": "bytea"}, + {"id": "pg.expressions.datatype.character-varying.k32c29696ee14", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS VARCHAR )", "type": "character varying"}, + {"id": "pg.expressions.datatype.character-varying.k36676cae714a", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS CHARACTER VARYING )", "type": "character varying"}, + {"id": "pg.expressions.datatype.character-varying.k88dc5dd6122f", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS VARCHAR ( 10 ) )", "type": "character varying(10)"}, + {"id": "pg.expressions.datatype.character-varying.kf66362f9f5d1", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS CHARACTER VARYING ( 10 ) )", "type": "character varying(10)"}, + {"id": "pg.expressions.datatype.character.k0b37e06583be", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS CHARACTER ( 10 ) )", "type": "character(10)"}, + {"id": "pg.expressions.datatype.character.k4bb6c89c7b6c", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS CHAR )", "type": "character(1)"}, + {"id": "pg.expressions.datatype.character.k6f5cdb1af80b", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS CHARACTER )", "type": "character(1)"}, + {"id": "pg.expressions.datatype.character.kb8a727789a11", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS CHAR ( 10 ) )", "type": "character(10)"}, + {"id": "pg.expressions.datatype.cidr.k6c81b7cf663b", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS CIDR )", "type": "cidr"}, + {"id": "pg.expressions.datatype.circle.ka102b36b7604", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS CIRCLE )", "type": "circle"}, + {"id": "pg.expressions.datatype.date.k0ad7e0783d64", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS DATE )", "type": "date"}, + {"id": "pg.expressions.datatype.double-precision.kc514dded51fb", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS FLOAT8 )", "type": "double precision"}, + {"id": "pg.expressions.datatype.double-precision.kcecd344a0a8d", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS DOUBLE PRECISION )", "type": "double precision"}, + {"id": "pg.expressions.datatype.inet.k0040e48870d0", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS INET )", "type": "inet"}, + {"id": "pg.expressions.datatype.integer.k31e8b2c42f19", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS INTEGER )", "type": "integer"}, + {"id": "pg.expressions.datatype.integer.k547dc52aa027", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS INT )", "type": "integer"}, + {"id": "pg.expressions.datatype.integer.kad9b508ea65e", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS INT4 )", "type": "integer"}, + {"id": "pg.expressions.datatype.interval.kc346e1ee5e3a", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS INTERVAL )", "type": "interval"}, + {"id": "pg.expressions.datatype.json.k4c3033620d84", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS JSON )", "type": "json"}, + {"id": "pg.expressions.datatype.jsonb.kf4b0c49446bb", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS JSONB )", "type": "jsonb"}, + {"id": "pg.expressions.datatype.line.k21a5b102fbc4", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS LINE )", "type": "line"}, + {"id": "pg.expressions.datatype.lseg.k4f65b556ee18", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS LSEG )", "type": "lseg"}, + {"id": "pg.expressions.datatype.macaddr.k61e7ac8dfba9", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS MACADDR )", "type": "macaddr"}, + {"id": "pg.expressions.datatype.macaddr8.k85c7ebf68ef7", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS MACADDR8 )", "type": "macaddr8"}, + {"id": "pg.expressions.datatype.money.ke934c824939b", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS MONEY )", "type": "money"}, + {"id": "pg.expressions.datatype.numeric.k07e29eb266c9", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS NUMERIC )", "type": "numeric"}, + {"id": "pg.expressions.datatype.numeric.k08ef3f2adba1", "category": "expressions:runtime", "sql": "SELECT CAST ( NULL AS NUMERIC ( 3 , v1 ) )", "error": "invalid input syntax for type integer: \"v1\" at character 48"}, + {"id": "pg.expressions.datatype.numeric.kaa2098805d53", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS DECIMAL )", "type": "numeric"}, + {"id": "pg.expressions.datatype.numeric.kadc97bfdc3ab", "category": "expressions:runtime", "sql": "SELECT CAST ( NULL AS DECIMAL ( 3 , v1 ) )", "error": "invalid input syntax for type integer: \"v1\" at character 48"}, + {"id": "pg.expressions.datatype.numeric.kf037ec3116a0", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS NUMERIC ( 3 ) )", "type": "numeric(3,0)"}, + {"id": "pg.expressions.datatype.numeric.kfc4919b7f856", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS DECIMAL ( 3 ) )", "type": "numeric(3,0)"}, + {"id": "pg.expressions.datatype.path.k79f18056ff91", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS PATH )", "type": "path"}, + {"id": "pg.expressions.datatype.pg-lsn.kdadf36973095", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS PG_LSN )", "type": "pg_lsn"}, + {"id": "pg.expressions.datatype.pg-snapshot.kf26e672d8a58", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS PG_SNAPSHOT )", "type": "pg_snapshot"}, + {"id": "pg.expressions.datatype.point.k8b8e9b8d7a5e", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS POINT )", "type": "point"}, + {"id": "pg.expressions.datatype.polygon.kb029cbe0a728", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS POLYGON )", "type": "polygon"}, + {"id": "pg.expressions.datatype.real.k55b856239ba7", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS FLOAT4 )", "type": "real"}, + {"id": "pg.expressions.datatype.real.kf52ccab709b3", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS REAL )", "type": "real"}, + {"id": "pg.expressions.datatype.serial.kc8221618052c", "category": "expressions:semantic", "sql": "SELECT CAST ( NULL AS SERIAL4 )", "error": "type \"serial4\" does not exist at character 48"}, + {"id": "pg.expressions.datatype.serial.keaf873a7ef32", "category": "expressions:semantic", "sql": "SELECT CAST ( NULL AS SERIAL )", "error": "type \"serial\" does not exist at character 48"}, + {"id": "pg.expressions.datatype.smallint.k848c4bbbec3e", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS SMALLINT )", "type": "smallint"}, + {"id": "pg.expressions.datatype.smallint.kf73b1c02571a", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS INT2 )", "type": "smallint"}, + {"id": "pg.expressions.datatype.smallserial.k384777de21d7", "category": "expressions:semantic", "sql": "SELECT CAST ( NULL AS SMALLSERIAL )", "error": "type \"smallserial\" does not exist at character 48"}, + {"id": "pg.expressions.datatype.smallserial.k6fee9701d471", "category": "expressions:semantic", "sql": "SELECT CAST ( NULL AS SERIAL2 )", "error": "type \"serial2\" does not exist at character 48"}, + {"id": "pg.expressions.datatype.text.kc746a51aca7f", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS TEXT )", "type": "text"}, + {"id": "pg.expressions.datatype.time-with-time-zone.k11535ddb90e4", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS TIME ( 3 ) WITH TIME ZONE )", "type": "time(3) with time zone"}, + {"id": "pg.expressions.datatype.time-with-time-zone.k6283a2e23251", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS TIME WITH TIME ZONE )", "type": "time with time zone"}, + {"id": "pg.expressions.datatype.time-with-time-zone.kb0ae47ad3950", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS TIMETZ )", "type": "time with time zone"}, + {"id": "pg.expressions.datatype.time.k572fde3c0e1e", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS TIME ( 3 ) WITHOUT TIME ZONE )", "type": "time(3) without time zone"}, + {"id": "pg.expressions.datatype.time.kfc4dbf748b11", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS TIME )", "type": "time without time zone"}, + {"id": "pg.expressions.datatype.timestamp-with-time-zone.k6a154ca6b810", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS TIMESTAMP ( 3 ) WITH TIME ZONE )", "type": "timestamp(3) with time zone"}, + {"id": "pg.expressions.datatype.timestamp-with-time-zone.k985a203d7c4a", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS TIMESTAMP WITH TIME ZONE )", "type": "timestamp with time zone"}, + {"id": "pg.expressions.datatype.timestamp-with-time-zone.kd7f4d35262c5", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS TIMESTAMPTZ )", "type": "timestamp with time zone"}, + {"id": "pg.expressions.datatype.timestamp.k6775cc9a6d74", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS TIMESTAMP )", "type": "timestamp without time zone"}, + {"id": "pg.expressions.datatype.timestamp.k6a325fe769da", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS TIMESTAMP ( 3 ) WITHOUT TIME ZONE )", "type": "timestamp(3) without time zone"}, + {"id": "pg.expressions.datatype.tsquery.ke9f823553ddb", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS TSQUERY )", "type": "tsquery"}, + {"id": "pg.expressions.datatype.tsvector.k22d03f5f0d89", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS TSVECTOR )", "type": "tsvector"}, + {"id": "pg.expressions.datatype.txid-snapshot.kd45407605c9c", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS TXID_SNAPSHOT )", "type": "txid_snapshot"}, + {"id": "pg.expressions.datatype.uuid.k67706d3fb64a", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS UUID )", "type": "uuid"}, + {"id": "pg.expressions.datatype.xml.ka635114a1ef2", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS XML )", "type": "xml"}, + {"id": "pg.expressions.datetime.at-local.k100971829b60", "category": "expressions:executed", "sql": "SELECT ( TIMETZ '01:00' AT LOCAL )", "type": "time with time zone"}, + {"id": "pg.expressions.datetime.at-local.k5d2d0bc62c98", "category": "expressions:executed", "sql": "SELECT ( TIMESTAMP '2026-01-01' AT LOCAL )", "type": "timestamp with time zone"}, + {"id": "pg.expressions.datetime.at-local.k673d696eb027", "category": "expressions:executed", "sql": "SELECT ( TIMESTAMPTZ '2026-01-01' AT LOCAL )", "type": "timestamp without time zone"}, + {"id": "pg.expressions.datetime.at-time-zone.k480db638efb3", "category": "expressions:semantic", "sql": "SELECT ( TIMESTAMP '2026-01-01' AT TIME ZONE v1 )", "error": "column \"v1\" does not exist at character 71"}, + {"id": "pg.expressions.datetime.at-time-zone.ked22958e07cf", "category": "expressions:semantic", "sql": "SELECT ( TIMESTAMPTZ '2026-01-01' AT TIME ZONE v1 )", "error": "column \"v1\" does not exist at character 73"}, + {"id": "pg.expressions.datetime.at-time-zone.kfc1b7d95e595", "category": "expressions:semantic", "sql": "SELECT ( TIMETZ '01:00' AT TIME ZONE v1 )", "error": "column \"v1\" does not exist at character 63"}, + {"id": "pg.expressions.datetime.op-minus.k106c0b1087f1", "category": "expressions:executed", "sql": "SELECT ( INTERVAL '1 day' - INTERVAL '1 day' )", "type": "interval"}, + {"id": "pg.expressions.datetime.op-minus.k32702486c058", "category": "expressions:executed", "sql": "SELECT ( DATE '2026-01-01' - DATE '2026-01-01' )", "type": "integer"}, + {"id": "pg.expressions.datetime.op-minus.k3786c108ec16", "category": "expressions:executed", "sql": "SELECT ( TIME '01:00' - INTERVAL '1 day' )", "type": "time without time zone"}, + {"id": "pg.expressions.datetime.op-minus.k843964d3cff7", "category": "expressions:executed", "sql": "SELECT ( TIMESTAMP '2026-01-01' - TIMESTAMP '2026-01-01' )", "type": "interval"}, + {"id": "pg.expressions.datetime.op-minus.k960bc042d93e", "category": "expressions:executed", "sql": "SELECT ( TIME '01:00' - TIME '01:00' )", "type": "interval"}, + {"id": "pg.expressions.datetime.op-minus.kbe07ccafcf5b", "category": "expressions:executed", "sql": "SELECT ( TIMESTAMP '2026-01-01' - INTERVAL '1 day' )", "type": "timestamp without time zone"}, + {"id": "pg.expressions.datetime.op-minus.kc840c91a17cd", "category": "expressions:executed", "sql": "SELECT ( - INTERVAL '1 day' )", "type": "interval"}, + {"id": "pg.expressions.datetime.op-minus.kd529d5500632", "category": "expressions:executed", "sql": "SELECT ( DATE '2026-01-01' - 1 )", "type": "date"}, + {"id": "pg.expressions.datetime.op-minus.kdcf6ecf55a3b", "category": "expressions:executed", "sql": "SELECT ( DATE '2026-01-01' - INTERVAL '1 day' )", "type": "timestamp without time zone"}, + {"id": "pg.expressions.datetime.op-plus.k12ed90f4e290", "category": "expressions:executed", "sql": "SELECT ( DATE '2026-01-01' + INTERVAL '1 day' )", "type": "timestamp without time zone"}, + {"id": "pg.expressions.datetime.op-plus.k15bf02c2e066", "category": "expressions:executed", "sql": "SELECT ( TIMESTAMP '2026-01-01' + INTERVAL '1 day' )", "type": "timestamp without time zone"}, + {"id": "pg.expressions.datetime.op-plus.k6b35c28a7b36", "category": "expressions:executed", "sql": "SELECT ( DATE '2026-01-01' + 1 )", "type": "date"}, + {"id": "pg.expressions.datetime.op-plus.ka168227d6a3f", "category": "expressions:executed", "sql": "SELECT ( INTERVAL '1 day' + INTERVAL '1 day' )", "type": "interval"}, + {"id": "pg.expressions.datetime.op-plus.kdb28e405e4fb", "category": "expressions:executed", "sql": "SELECT ( DATE '2026-01-01' + TIME '01:00' )", "type": "timestamp without time zone"}, + {"id": "pg.expressions.datetime.op-plus.kf05a437c5a56", "category": "expressions:executed", "sql": "SELECT ( TIME '01:00' + INTERVAL '1 day' )", "type": "time without time zone"}, + {"id": "pg.expressions.datetime.op-slash.kcd073f2dc546", "category": "expressions:executed", "sql": "SELECT ( INTERVAL '1 day' / 1.5 )", "type": "interval"}, + {"id": "pg.expressions.datetime.op-star.kccf8b1ff5bf7", "category": "expressions:executed", "sql": "SELECT ( INTERVAL '1 day' * 1.5 )", "type": "interval"}, + {"id": "pg.expressions.datetime.overlaps-length.k3d06a46d7875", "category": "expressions:semantic", "sql": "SELECT ( ( 1 , v1 ) OVERLAPS ( 1 , v1 ) )", "error": "column \"v1\" does not exist at character 41"}, + {"id": "pg.expressions.datetime.overlaps.kb059fc82391c", "category": "expressions:semantic", "sql": "SELECT ( ( 1 , 1 ) OVERLAPS ( 1 , 1 ) )", "error": "function pg_catalog.overlaps(integer, integer, integer, integer) does not exist at character 45"}, + {"id": "pg.expressions.ddl-schemas.database-qualified-name.k42d0ad74a051", "category": "expressions:semantic", "sql": "SELECT ( v1 . v1 . v1 )", "error": "missing FROM-clause entry for table \"v1\" at character 35"}, + {"id": "pg.expressions.ddl-schemas.schema-qualified-name.k5c806a9ab184", "category": "expressions:semantic", "sql": "SELECT ( v1 . v1 )", "error": "missing FROM-clause entry for table \"v1\" at character 35"}, + {"id": "pg.expressions.geometry.op-amp-amp.k5c0c59d870d1", "category": "expressions:executed", "sql": "SELECT ( BOX '((0,0),(1,1))' && BOX '((0,0),(1,1))' )", "type": "boolean"}, + {"id": "pg.expressions.geometry.op-amp-gt.keea1a9ba0657", "category": "expressions:executed", "sql": "SELECT ( BOX '((0,0),(1,1))' &> BOX '((0,0),(1,1))' )", "type": "boolean"}, + {"id": "pg.expressions.geometry.op-amp-lt-bar.kbb9935281804", "category": "expressions:executed", "sql": "SELECT ( BOX '((0,0),(1,1))' &<| BOX '((0,0),(1,1))' )", "type": "boolean"}, + {"id": "pg.expressions.geometry.op-amp-lt.k5ef69182bb6e", "category": "expressions:executed", "sql": "SELECT ( BOX '((0,0),(1,1))' &< BOX '((0,0),(1,1))' )", "type": "boolean"}, + {"id": "pg.expressions.geometry.op-at-at.k799bd5d50301", "category": "expressions:executed", "sql": "SELECT ( @@ BOX '((0,0),(1,1))' )", "type": "point"}, + {"id": "pg.expressions.geometry.op-at-gt.k7d2096cd5547", "category": "expressions:executed", "sql": "SELECT ( BOX '((0,0),(1,1))' @> BOX '((0,0),(1,1))' )", "type": "boolean"}, + {"id": "pg.expressions.geometry.op-at-minus-at.kb47109cbcd52", "category": "expressions:semantic", "sql": "SELECT ( @-@ BOX '((0,0),(1,1))' )", "error": "operator does not exist: @-@ box at character 35"}, + {"id": "pg.expressions.geometry.op-bar-amp-gt.k54af441b2e9c", "category": "expressions:executed", "sql": "SELECT ( BOX '((0,0),(1,1))' |&> BOX '((0,0),(1,1))' )", "type": "boolean"}, + {"id": "pg.expressions.geometry.op-bar-gt-gt.k4594513d52bf", "category": "expressions:executed", "sql": "SELECT ( BOX '((0,0),(1,1))' |>> BOX '((0,0),(1,1))' )", "type": "boolean"}, + {"id": "pg.expressions.geometry.op-gt-caret.k009d3609c142", "category": "expressions:executed", "sql": "SELECT ( BOX '((0,0),(1,1))' >^ BOX '((0,0),(1,1))' )", "type": "boolean"}, + {"id": "pg.expressions.geometry.op-gt-gt.k48ff9c0f930a", "category": "expressions:executed", "sql": "SELECT ( BOX '((0,0),(1,1))' >> BOX '((0,0),(1,1))' )", "type": "boolean"}, + {"id": "pg.expressions.geometry.op-hash-hash.k796763e6e3a3", "category": "expressions:semantic", "sql": "SELECT ( BOX '((0,0),(1,1))' ## BOX '((0,0),(1,1))' )", "error": "operator does not exist: box ## box at character 55"}, + {"id": "pg.expressions.geometry.op-hash.k672ad5a7129f", "category": "expressions:executed", "sql": "SELECT ( BOX '((0,0),(1,1))' # BOX '((0,0),(1,1))' )", "type": "box"}, + {"id": "pg.expressions.geometry.op-hash.kddb1a2126d68", "category": "expressions:semantic", "sql": "SELECT ( # BOX '((0,0),(1,1))' )", "error": "operator does not exist: # box at character 35"}, + {"id": "pg.expressions.geometry.op-lt-at.kaca1640f2450", "category": "expressions:executed", "sql": "SELECT ( BOX '((0,0),(1,1))' <@ BOX '((0,0),(1,1))' )", "type": "boolean"}, + {"id": "pg.expressions.geometry.op-lt-caret.kaf9ab12984ab", "category": "expressions:executed", "sql": "SELECT ( BOX '((0,0),(1,1))' <^ BOX '((0,0),(1,1))' )", "type": "boolean"}, + {"id": "pg.expressions.geometry.op-lt-lt-bar.k117750070c29", "category": "expressions:executed", "sql": "SELECT ( BOX '((0,0),(1,1))' <<| BOX '((0,0),(1,1))' )", "type": "boolean"}, + {"id": "pg.expressions.geometry.op-lt-lt.kc45cbca41435", "category": "expressions:executed", "sql": "SELECT ( BOX '((0,0),(1,1))' << BOX '((0,0),(1,1))' )", "type": "boolean"}, + {"id": "pg.expressions.geometry.op-lt-minus-gt.k9f6a5c10f58b", "category": "expressions:executed", "sql": "SELECT ( BOX '((0,0),(1,1))' <-> BOX '((0,0),(1,1))' )", "type": "double precision"}, + {"id": "pg.expressions.geometry.op-minus.k71a9b7a1638d", "category": "expressions:executed", "sql": "SELECT ( BOX '((0,0),(1,1))' - POINT '(0,0)' )", "type": "box"}, + {"id": "pg.expressions.geometry.op-plus.k14c1ebedf00d", "category": "expressions:executed", "sql": "SELECT ( PATH '[(0,0),(1,1)]' + PATH '[(0,0),(1,1)]' )", "type": "path"}, + {"id": "pg.expressions.geometry.op-plus.k24994f621ded", "category": "expressions:executed", "sql": "SELECT ( BOX '((0,0),(1,1))' + POINT '(0,0)' )", "type": "box"}, + {"id": "pg.expressions.geometry.op-qmark-bar-bar.kbc0f0ec02e23", "category": "expressions:executed", "sql": "SELECT ( LSEG '[(0,0),(1,1)]' ?|| LSEG '[(0,0),(1,1)]' )", "type": "boolean"}, + {"id": "pg.expressions.geometry.op-qmark-bar-bar.keaf2462715b3", "category": "expressions:executed", "sql": "SELECT ( LINE '{1,-1,0}' ?|| LINE '{1,-1,0}' )", "type": "boolean"}, + {"id": "pg.expressions.geometry.op-qmark-bar.k86124a98e924", "category": "expressions:executed", "sql": "SELECT ( POINT '(0,0)' ?| POINT '(0,0)' )", "type": "boolean"}, + {"id": "pg.expressions.geometry.op-qmark-bar.k995fdae9ebe2", "category": "expressions:executed", "sql": "SELECT ( ?| LSEG '[(0,0),(1,1)]' )", "type": "boolean"}, + {"id": "pg.expressions.geometry.op-qmark-bar.ke4cfa5c38dc2", "category": "expressions:executed", "sql": "SELECT ( ?| LINE '{1,-1,0}' )", "type": "boolean"}, + {"id": "pg.expressions.geometry.op-qmark-hash.k17157a39a7de", "category": "expressions:executed", "sql": "SELECT ( BOX '((0,0),(1,1))' ?# BOX '((0,0),(1,1))' )", "type": "boolean"}, + {"id": "pg.expressions.geometry.op-qmark-minus-bar.k0bf7b17ba253", "category": "expressions:executed", "sql": "SELECT ( LINE '{1,-1,0}' ?-| LINE '{1,-1,0}' )", "type": "boolean"}, + {"id": "pg.expressions.geometry.op-qmark-minus-bar.kbc7529e6736f", "category": "expressions:executed", "sql": "SELECT ( LSEG '[(0,0),(1,1)]' ?-| LSEG '[(0,0),(1,1)]' )", "type": "boolean"}, + {"id": "pg.expressions.geometry.op-qmark-minus.k1d28c4b971e2", "category": "expressions:executed", "sql": "SELECT ( ?- LSEG '[(0,0),(1,1)]' )", "type": "boolean"}, + {"id": "pg.expressions.geometry.op-qmark-minus.k1e9eb96227d3", "category": "expressions:executed", "sql": "SELECT ( POINT '(0,0)' ?- POINT '(0,0)' )", "type": "boolean"}, + {"id": "pg.expressions.geometry.op-qmark-minus.k2213f1b6f263", "category": "expressions:executed", "sql": "SELECT ( ?- LINE '{1,-1,0}' )", "type": "boolean"}, + {"id": "pg.expressions.geometry.op-slash.k6bc699c811ea", "category": "expressions:runtime", "sql": "SELECT ( BOX '((0,0),(1,1))' / POINT '(0,0)' )", "type": "box"}, + {"id": "pg.expressions.geometry.op-star.k3aa688e76dde", "category": "expressions:executed", "sql": "SELECT ( BOX '((0,0),(1,1))' * POINT '(0,0)' )", "type": "box"}, + {"id": "pg.expressions.geometry.op-tilde-eq.ka15fe45397e6", "category": "expressions:executed", "sql": "SELECT ( BOX '((0,0),(1,1))' ~= BOX '((0,0),(1,1))' )", "type": "boolean"}, + {"id": "pg.expressions.info.op-at-gt.kfacf91cf8e9c", "category": "expressions:runtime", "sql": "SELECT ( CAST ( '{}' AS ACLITEM [ ] ) @> ACLITEM 'postgres=r/postgres' )", "type": "boolean"}, + {"id": "pg.expressions.info.op-eq.k66a00338676f", "category": "expressions:executed", "sql": "SELECT ( ACLITEM 'postgres=r/postgres' = ACLITEM 'postgres=r/postgres' )", "type": "boolean"}, + {"id": "pg.expressions.json.is-not-json-value-scalar-array.k22970cccf239", "category": "expressions:semantic", "sql": "SELECT ( 1 IS JSON VALUE )", "error": "cannot use type integer in IS JSON predicate"}, + {"id": "pg.expressions.json.is-not-json-value-scalar-array.k40846f085b81", "category": "expressions:semantic", "sql": "SELECT ( 1 IS JSON OBJECT )", "error": "cannot use type integer in IS JSON predicate"}, + {"id": "pg.expressions.json.is-not-json-value-scalar-array.k5a612ab7521d", "category": "expressions:semantic", "sql": "SELECT ( 1 IS NOT JSON VALUE WITH UNIQUE KEYS )", "error": "cannot use type integer in IS JSON predicate"}, + {"id": "pg.expressions.json.is-not-json-value-scalar-array.k5dcb836a6474", "category": "expressions:semantic", "sql": "SELECT ( 1 IS JSON WITH UNIQUE )", "error": "cannot use type integer in IS JSON predicate"}, + {"id": "pg.expressions.json.is-not-json-value-scalar-array.k7715e6623026", "category": "expressions:semantic", "sql": "SELECT ( 1 IS JSON ARRAY )", "error": "cannot use type integer in IS JSON predicate"}, + {"id": "pg.expressions.json.is-not-json-value-scalar-array.kb4fe74553cc2", "category": "expressions:semantic", "sql": "SELECT ( 1 IS JSON WITHOUT UNIQUE )", "error": "cannot use type integer in IS JSON predicate"}, + {"id": "pg.expressions.json.is-not-json-value-scalar-array.kc143b2f79690", "category": "expressions:semantic", "sql": "SELECT ( 1 IS JSON )", "error": "cannot use type integer in IS JSON predicate"}, + {"id": "pg.expressions.json.is-not-json-value-scalar-array.kf5af91337d16", "category": "expressions:semantic", "sql": "SELECT ( 1 IS JSON SCALAR )", "error": "cannot use type integer in IS JSON predicate"}, + {"id": "pg.expressions.json.op-at-at.kc194806460a9", "category": "expressions:executed", "sql": "SELECT ( JSONB '{}' @@ JSONPATH '$' )", "type": "boolean"}, + {"id": "pg.expressions.json.op-at-gt.k0586000c7639", "category": "expressions:executed", "sql": "SELECT ( JSONB '{}' @> JSONB '{}' )", "type": "boolean"}, + {"id": "pg.expressions.json.op-at-qmark.kf8bb25d34f33", "category": "expressions:executed", "sql": "SELECT ( JSONB '{}' @? JSONPATH '$' )", "type": "boolean"}, + {"id": "pg.expressions.json.op-bar-bar.k86b24920bbe5", "category": "expressions:executed", "sql": "SELECT ( JSONB '{}' || JSONB '{}' )", "type": "jsonb"}, + {"id": "pg.expressions.json.op-hash-gt-gt.k7f0d6da2beb6", "category": "expressions:executed", "sql": "SELECT ( JSON '{}' #>> ARRAY [ 'day' ] )", "type": "text"}, + {"id": "pg.expressions.json.op-hash-gt-gt.kc332f5fd3525", "category": "expressions:executed", "sql": "SELECT ( JSONB '{}' #>> ARRAY [ 'day' ] )", "type": "text"}, + {"id": "pg.expressions.json.op-hash-gt.k5698a27c1f41", "category": "expressions:executed", "sql": "SELECT ( JSON '{}' #> ARRAY [ 'day' ] )", "type": "json"}, + {"id": "pg.expressions.json.op-hash-gt.k834cf9e2d36a", "category": "expressions:executed", "sql": "SELECT ( JSONB '{}' #> ARRAY [ 'day' ] )", "type": "jsonb"}, + {"id": "pg.expressions.json.op-hash-minus.k08f2e89abaa0", "category": "expressions:executed", "sql": "SELECT ( JSONB '{}' #- ARRAY [ 'day' ] )", "type": "jsonb"}, + {"id": "pg.expressions.json.op-lt-at.kf7641f8f9056", "category": "expressions:executed", "sql": "SELECT ( JSONB '{}' <@ JSONB '{}' )", "type": "boolean"}, + {"id": "pg.expressions.json.op-minus-gt-gt.k2f36e5f8d80d", "category": "expressions:executed", "sql": "SELECT ( JSONB '{}' ->> 1 )", "type": "text"}, + {"id": "pg.expressions.json.op-minus-gt-gt.kabba345491eb", "category": "expressions:executed", "sql": "SELECT ( JSONB '{}' ->> 'day' )", "type": "text"}, + {"id": "pg.expressions.json.op-minus-gt-gt.kd42008a6c700", "category": "expressions:executed", "sql": "SELECT ( JSON '{}' ->> 1 )", "type": "text"}, + {"id": "pg.expressions.json.op-minus-gt-gt.kf1b5be0da7cc", "category": "expressions:executed", "sql": "SELECT ( JSON '{}' ->> 'day' )", "type": "text"}, + {"id": "pg.expressions.json.op-minus-gt.k0eda33f8a170", "category": "expressions:executed", "sql": "SELECT ( JSON '{}' -> 'day' )", "type": "json"}, + {"id": "pg.expressions.json.op-minus-gt.k7e8e634b6b20", "category": "expressions:executed", "sql": "SELECT ( JSONB '{}' -> 1 )", "type": "jsonb"}, + {"id": "pg.expressions.json.op-minus-gt.ke1c9b444491b", "category": "expressions:executed", "sql": "SELECT ( JSONB '{}' -> 'day' )", "type": "jsonb"}, + {"id": "pg.expressions.json.op-minus-gt.kf720d0379da7", "category": "expressions:executed", "sql": "SELECT ( JSON '{}' -> 1 )", "type": "json"}, + {"id": "pg.expressions.json.op-minus.k87bc35023f3e", "category": "expressions:executed", "sql": "SELECT ( JSONB '{}' - 'day' )", "type": "jsonb"}, + {"id": "pg.expressions.json.op-minus.k940b7551ae3f", "category": "expressions:runtime", "sql": "SELECT ( JSONB '{}' - 1 )", "type": "jsonb"}, + {"id": "pg.expressions.json.op-minus.kc5f66b48d906", "category": "expressions:executed", "sql": "SELECT ( JSONB '{}' - ARRAY [ 'day' ] )", "type": "jsonb"}, + {"id": "pg.expressions.json.op-qmark-amp.k07e36e911b24", "category": "expressions:executed", "sql": "SELECT ( JSONB '{}' ?& ARRAY [ 'day' ] )", "type": "boolean"}, + {"id": "pg.expressions.json.op-qmark-bar.k67737f12721e", "category": "expressions:executed", "sql": "SELECT ( JSONB '{}' ?| ARRAY [ 'day' ] )", "type": "boolean"}, + {"id": "pg.expressions.json.op-qmark.k1580d46b45d4", "category": "expressions:executed", "sql": "SELECT ( JSONB '{}' ? 'day' )", "type": "boolean"}, + {"id": "pg.expressions.logical.and.kfa2a19ce5f35", "category": "expressions:executed", "sql": "SELECT ( TRUE AND TRUE )", "type": "boolean"}, + {"id": "pg.expressions.logical.not.kc240b602b0f7", "category": "expressions:executed", "sql": "SELECT ( NOT TRUE )", "type": "boolean"}, + {"id": "pg.expressions.logical.or.kbfdce3300106", "category": "expressions:executed", "sql": "SELECT ( TRUE OR TRUE )", "type": "boolean"}, + {"id": "pg.expressions.matching.ilike.k253dd47f1e10", "category": "expressions:semantic", "sql": "SELECT ( 'm' ILIKE m1 )", "error": "column \"m1\" does not exist at character 45"}, + {"id": "pg.expressions.matching.ilike.k3c02440549d4", "category": "expressions:executed", "sql": "SELECT ( 'm' ILIKE 'm' )", "type": "boolean"}, + {"id": "pg.expressions.matching.ilike.kd7bc2af725f1", "category": "expressions:semantic", "sql": "SELECT ( 'm' ILIKE 'm' ESCAPE v1 )", "error": "column \"v1\" does not exist at character 56"}, + {"id": "pg.expressions.matching.ilike.kdf1a29faa75d", "category": "expressions:semantic", "sql": "SELECT ( m1 ILIKE 'm' )", "error": "column \"m1\" does not exist at character 35"}, + {"id": "pg.expressions.matching.like.k4fdad5d74e14", "category": "expressions:executed", "sql": "SELECT ( 'm' LIKE 'm' )", "type": "boolean"}, + {"id": "pg.expressions.matching.like.k717532c38842", "category": "expressions:semantic", "sql": "SELECT ( m1 LIKE 'm' )", "error": "column \"m1\" does not exist at character 35"}, + {"id": "pg.expressions.matching.like.kb87b7815881d", "category": "expressions:semantic", "sql": "SELECT ( 'm' LIKE 'm' ESCAPE v1 )", "error": "column \"v1\" does not exist at character 55"}, + {"id": "pg.expressions.matching.like.keddd9c3312e2", "category": "expressions:semantic", "sql": "SELECT ( 'm' LIKE m1 )", "error": "column \"m1\" does not exist at character 44"}, + {"id": "pg.expressions.matching.not-ilike.k4037db400fff", "category": "expressions:semantic", "sql": "SELECT ( m1 NOT ILIKE 'm' )", "error": "column \"m1\" does not exist at character 35"}, + {"id": "pg.expressions.matching.not-ilike.kd4de01b18000", "category": "expressions:semantic", "sql": "SELECT ( 'm' NOT ILIKE m1 )", "error": "column \"m1\" does not exist at character 49"}, + {"id": "pg.expressions.matching.not-ilike.ke44b8cec6077", "category": "expressions:executed", "sql": "SELECT ( 'm' NOT ILIKE 'm' )", "type": "boolean"}, + {"id": "pg.expressions.matching.not-ilike.kea2684b7b574", "category": "expressions:semantic", "sql": "SELECT ( 'm' NOT ILIKE 'm' ESCAPE v1 )", "error": "column \"v1\" does not exist at character 60"}, + {"id": "pg.expressions.matching.not-like.k1a3e916cc0fe", "category": "expressions:semantic", "sql": "SELECT ( 'm' NOT LIKE 'm' ESCAPE v1 )", "error": "column \"v1\" does not exist at character 59"}, + {"id": "pg.expressions.matching.not-like.k950a16fde671", "category": "expressions:semantic", "sql": "SELECT ( m1 NOT LIKE 'm' )", "error": "column \"m1\" does not exist at character 35"}, + {"id": "pg.expressions.matching.not-like.k9eac7254a846", "category": "expressions:semantic", "sql": "SELECT ( 'm' NOT LIKE m1 )", "error": "column \"m1\" does not exist at character 48"}, + {"id": "pg.expressions.matching.not-like.kd2709523c0d3", "category": "expressions:executed", "sql": "SELECT ( 'm' NOT LIKE 'm' )", "type": "boolean"}, + {"id": "pg.expressions.matching.not-similar-to.k194c859f6f17", "category": "expressions:semantic", "sql": "SELECT ( m1 NOT SIMILAR TO 'm' )", "error": "column \"m1\" does not exist at character 35"}, + {"id": "pg.expressions.matching.not-similar-to.k7cb64c0cca40", "category": "expressions:executed", "sql": "SELECT ( 'm' NOT SIMILAR TO 'm' )", "type": "boolean"}, + {"id": "pg.expressions.matching.not-similar-to.k83bf999916c6", "category": "expressions:semantic", "sql": "SELECT ( 'm' NOT SIMILAR TO m1 )", "error": "column \"m1\" does not exist at character 54"}, + {"id": "pg.expressions.matching.not-similar-to.kd3d2c601dcf8", "category": "expressions:semantic", "sql": "SELECT ( 'm' NOT SIMILAR TO 'm' ESCAPE v1 )", "error": "column \"v1\" does not exist at character 65"}, + {"id": "pg.expressions.matching.op-bang-tilde-star.k6cb6c54b3755", "category": "expressions:executed", "sql": "SELECT ( 'day' !~* 'day' )", "type": "boolean"}, + {"id": "pg.expressions.matching.op-bang-tilde.kae9be5c23827", "category": "expressions:executed", "sql": "SELECT ( 'day' !~ 'day' )", "type": "boolean"}, + {"id": "pg.expressions.matching.op-tilde-star.k27e646f2cbfe", "category": "expressions:executed", "sql": "SELECT ( 'day' ~* 'day' )", "type": "boolean"}, + {"id": "pg.expressions.matching.op-tilde.k6c34a44b2fea", "category": "expressions:executed", "sql": "SELECT ( 'day' ~ 'day' )", "type": "boolean"}, + {"id": "pg.expressions.matching.similar-to.k2aac1517a922", "category": "expressions:semantic", "sql": "SELECT ( m1 SIMILAR TO 'm' )", "error": "column \"m1\" does not exist at character 35"}, + {"id": "pg.expressions.matching.similar-to.k7274146ed32d", "category": "expressions:semantic", "sql": "SELECT ( 'm' SIMILAR TO 'm' ESCAPE v1 )", "error": "column \"v1\" does not exist at character 61"}, + {"id": "pg.expressions.matching.similar-to.k8fb540574172", "category": "expressions:semantic", "sql": "SELECT ( 'm' SIMILAR TO m1 )", "error": "column \"m1\" does not exist at character 50"}, + {"id": "pg.expressions.matching.similar-to.kcd97cbf8f857", "category": "expressions:executed", "sql": "SELECT ( 'm' SIMILAR TO 'm' )", "type": "boolean"}, + {"id": "pg.expressions.math.op-amp.k06b5f2e38c34", "category": "expressions:executed", "sql": "SELECT ( 1 & 1 )", "type": "integer"}, + {"id": "pg.expressions.math.op-at.k3ca194e27514", "category": "expressions:executed", "sql": "SELECT ( @1 )", "type": "integer"}, + {"id": "pg.expressions.math.op-bar-bar-slash.kdabf7652c946", "category": "expressions:executed", "sql": "SELECT ( ||/ 1.5 )", "type": "double precision"}, + {"id": "pg.expressions.math.op-bar-slash.k929cf3fb79a5", "category": "expressions:executed", "sql": "SELECT ( |/ 1.5 )", "type": "double precision"}, + {"id": "pg.expressions.math.op-bar.kcc50e27a91fc", "category": "expressions:executed", "sql": "SELECT ( 1 | 1 )", "type": "integer"}, + {"id": "pg.expressions.math.op-caret.k287054add973", "category": "expressions:executed", "sql": "SELECT ( 1.5 ^ 1.5 )", "type": "numeric"}, + {"id": "pg.expressions.math.op-gt-gt.k91d6773d8012", "category": "expressions:executed", "sql": "SELECT ( 1 >> 1 )", "type": "integer"}, + {"id": "pg.expressions.math.op-hash.k21421dd65cb5", "category": "expressions:executed", "sql": "SELECT ( 1 # 1 )", "type": "integer"}, + {"id": "pg.expressions.math.op-lt-lt.k4244d6e26c10", "category": "expressions:executed", "sql": "SELECT ( 1 << 1 )", "type": "integer"}, + {"id": "pg.expressions.math.op-minus.k04fa3db0f78a", "category": "expressions:executed", "sql": "SELECT ( - 1 )", "type": "integer"}, + {"id": "pg.expressions.math.op-minus.k0ed12d704392", "category": "expressions:executed", "sql": "SELECT ( 1 - 1 )", "type": "integer"}, + {"id": "pg.expressions.math.op-percent.k86a0c92a5f6e", "category": "expressions:executed", "sql": "SELECT ( 1 % 1 )", "type": "integer"}, + {"id": "pg.expressions.math.op-plus.k88abb52b59da", "category": "expressions:executed", "sql": "SELECT ( + 1 )", "type": "integer"}, + {"id": "pg.expressions.math.op-plus.ka8c2142034a0", "category": "expressions:executed", "sql": "SELECT ( 1 + 1 )", "type": "integer"}, + {"id": "pg.expressions.math.op-slash.kaa13edd96c5c", "category": "expressions:executed", "sql": "SELECT ( 1 / 1 )", "type": "integer"}, + {"id": "pg.expressions.math.op-star.k3c0cdb8be193", "category": "expressions:executed", "sql": "SELECT ( 1 * 1 )", "type": "integer"}, + {"id": "pg.expressions.math.op-tilde.k2d8614c30f9c", "category": "expressions:executed", "sql": "SELECT ( ~ 1 )", "type": "integer"}, + {"id": "pg.expressions.net.op-amp-amp.k13848be7ce8d", "category": "expressions:executed", "sql": "SELECT ( INET '10.0.0.1' && INET '10.0.0.1' )", "type": "boolean"}, + {"id": "pg.expressions.net.op-amp.k3ee206219323", "category": "expressions:executed", "sql": "SELECT ( INET '10.0.0.1' & INET '10.0.0.1' )", "type": "inet"}, + {"id": "pg.expressions.net.op-bar.k61bdb1953c46", "category": "expressions:executed", "sql": "SELECT ( INET '10.0.0.1' | INET '10.0.0.1' )", "type": "inet"}, + {"id": "pg.expressions.net.op-gt-gt-eq.k463ef0078719", "category": "expressions:executed", "sql": "SELECT ( INET '10.0.0.1' >>= INET '10.0.0.1' )", "type": "boolean"}, + {"id": "pg.expressions.net.op-gt-gt.k7783bad978a1", "category": "expressions:executed", "sql": "SELECT ( INET '10.0.0.1' >> INET '10.0.0.1' )", "type": "boolean"}, + {"id": "pg.expressions.net.op-lt-lt-eq.kd98e1ec598c7", "category": "expressions:executed", "sql": "SELECT ( INET '10.0.0.1' <<= INET '10.0.0.1' )", "type": "boolean"}, + {"id": "pg.expressions.net.op-lt-lt.kbbde7edac33b", "category": "expressions:executed", "sql": "SELECT ( INET '10.0.0.1' << INET '10.0.0.1' )", "type": "boolean"}, + {"id": "pg.expressions.net.op-minus.k301c09145c62", "category": "expressions:executed", "sql": "SELECT ( INET '10.0.0.1' - 1 )", "type": "inet"}, + {"id": "pg.expressions.net.op-minus.kb3b5c00c478b", "category": "expressions:executed", "sql": "SELECT ( INET '10.0.0.1' - INET '10.0.0.1' )", "type": "bigint"}, + {"id": "pg.expressions.net.op-plus.kf116cf363f58", "category": "expressions:executed", "sql": "SELECT ( INET '10.0.0.1' + 1 )", "type": "inet"}, + {"id": "pg.expressions.net.op-plus.kf1f0676f37d1", "category": "expressions:executed", "sql": "SELECT ( 1 + INET '10.0.0.1' )", "type": "inet"}, + {"id": "pg.expressions.net.op-tilde.k1def86785034", "category": "expressions:executed", "sql": "SELECT ( ~ INET '10.0.0.1' )", "type": "inet"}, + {"id": "pg.expressions.range.op-amp-amp.k08f4dccf59e2", "category": "expressions:executed", "sql": "SELECT ( INT4MULTIRANGE ( INT4RANGE ( 1 , 2 ) ) && INT4MULTIRANGE ( INT4RANGE ( 1 , 2 ) ) )", "type": "boolean"}, + {"id": "pg.expressions.range.op-amp-amp.k103bf7de5bb0", "category": "expressions:executed", "sql": "SELECT ( INT4RANGE ( 1 , 2 ) && INT4RANGE ( 1 , 2 ) )", "type": "boolean"}, + {"id": "pg.expressions.range.op-amp-amp.k5303dae01dd7", "category": "expressions:executed", "sql": "SELECT ( INT4RANGE ( 1 , 2 ) && INT4MULTIRANGE ( INT4RANGE ( 1 , 2 ) ) )", "type": "boolean"}, + {"id": "pg.expressions.range.op-amp-amp.k7091cdef2b67", "category": "expressions:executed", "sql": "SELECT ( INT4MULTIRANGE ( INT4RANGE ( 1 , 2 ) ) && INT4RANGE ( 1 , 2 ) )", "type": "boolean"}, + {"id": "pg.expressions.range.op-amp-gt.k35eeda3e176e", "category": "expressions:executed", "sql": "SELECT ( INT4MULTIRANGE ( INT4RANGE ( 1 , 2 ) ) &> INT4RANGE ( 1 , 2 ) )", "type": "boolean"}, + {"id": "pg.expressions.range.op-amp-gt.k69b4a03176ca", "category": "expressions:executed", "sql": "SELECT ( INT4RANGE ( 1 , 2 ) &> INT4RANGE ( 1 , 2 ) )", "type": "boolean"}, + {"id": "pg.expressions.range.op-amp-gt.kbb4c8b52e098", "category": "expressions:executed", "sql": "SELECT ( INT4MULTIRANGE ( INT4RANGE ( 1 , 2 ) ) &> INT4MULTIRANGE ( INT4RANGE ( 1 , 2 ) ) )", "type": "boolean"}, + {"id": "pg.expressions.range.op-amp-gt.kbd9978d453e8", "category": "expressions:executed", "sql": "SELECT ( INT4RANGE ( 1 , 2 ) &> INT4MULTIRANGE ( INT4RANGE ( 1 , 2 ) ) )", "type": "boolean"}, + {"id": "pg.expressions.range.op-amp-lt.k1f30173ba84a", "category": "expressions:executed", "sql": "SELECT ( INT4RANGE ( 1 , 2 ) &< INT4MULTIRANGE ( INT4RANGE ( 1 , 2 ) ) )", "type": "boolean"}, + {"id": "pg.expressions.range.op-amp-lt.k4d56c9233e22", "category": "expressions:executed", "sql": "SELECT ( INT4MULTIRANGE ( INT4RANGE ( 1 , 2 ) ) &< INT4RANGE ( 1 , 2 ) )", "type": "boolean"}, + {"id": "pg.expressions.range.op-amp-lt.kbb378781acc9", "category": "expressions:executed", "sql": "SELECT ( INT4MULTIRANGE ( INT4RANGE ( 1 , 2 ) ) &< INT4MULTIRANGE ( INT4RANGE ( 1 , 2 ) ) )", "type": "boolean"}, + {"id": "pg.expressions.range.op-amp-lt.ke1a266c9bef6", "category": "expressions:executed", "sql": "SELECT ( INT4RANGE ( 1 , 2 ) &< INT4RANGE ( 1 , 2 ) )", "type": "boolean"}, + {"id": "pg.expressions.range.op-at-gt.k5057f50c1173", "category": "expressions:executed", "sql": "SELECT ( INT4MULTIRANGE ( INT4RANGE ( 1 , 2 ) ) @> INT4MULTIRANGE ( INT4RANGE ( 1 , 2 ) ) )", "type": "boolean"}, + {"id": "pg.expressions.range.op-at-gt.k707bf8e0ff1d", "category": "expressions:executed", "sql": "SELECT ( INT4MULTIRANGE ( INT4RANGE ( 1 , 2 ) ) @> INT4RANGE ( 1 , 2 ) )", "type": "boolean"}, + {"id": "pg.expressions.range.op-at-gt.ka274bb14a735", "category": "expressions:executed", "sql": "SELECT ( INT4RANGE ( 1 , 2 ) @> INT4MULTIRANGE ( INT4RANGE ( 1 , 2 ) ) )", "type": "boolean"}, + {"id": "pg.expressions.range.op-at-gt.ka5dcba8274d2", "category": "expressions:executed", "sql": "SELECT ( INT4MULTIRANGE ( INT4RANGE ( 1 , 2 ) ) @> 1 )", "type": "boolean"}, + {"id": "pg.expressions.range.op-at-gt.ke9d4d4e0e7de", "category": "expressions:executed", "sql": "SELECT ( INT4RANGE ( 1 , 2 ) @> INT4RANGE ( 1 , 2 ) )", "type": "boolean"}, + {"id": "pg.expressions.range.op-at-gt.kf59cf26dd7f0", "category": "expressions:executed", "sql": "SELECT ( INT4RANGE ( 1 , 2 ) @> 1 )", "type": "boolean"}, + {"id": "pg.expressions.range.op-gt-gt.k22d24608ea3b", "category": "expressions:executed", "sql": "SELECT ( INT4RANGE ( 1 , 2 ) >> INT4MULTIRANGE ( INT4RANGE ( 1 , 2 ) ) )", "type": "boolean"}, + {"id": "pg.expressions.range.op-gt-gt.k8cc8ead9e9f5", "category": "expressions:executed", "sql": "SELECT ( INT4MULTIRANGE ( INT4RANGE ( 1 , 2 ) ) >> INT4RANGE ( 1 , 2 ) )", "type": "boolean"}, + {"id": "pg.expressions.range.op-gt-gt.ke0b02bdd084a", "category": "expressions:executed", "sql": "SELECT ( INT4RANGE ( 1 , 2 ) >> INT4RANGE ( 1 , 2 ) )", "type": "boolean"}, + {"id": "pg.expressions.range.op-gt-gt.ke8f87f54844b", "category": "expressions:executed", "sql": "SELECT ( INT4MULTIRANGE ( INT4RANGE ( 1 , 2 ) ) >> INT4MULTIRANGE ( INT4RANGE ( 1 , 2 ) ) )", "type": "boolean"}, + {"id": "pg.expressions.range.op-lt-at.k095ba1962a16", "category": "expressions:executed", "sql": "SELECT ( 1 <@ INT4MULTIRANGE ( INT4RANGE ( 1 , 2 ) ) )", "type": "boolean"}, + {"id": "pg.expressions.range.op-lt-at.k7ef9015a551f", "category": "expressions:executed", "sql": "SELECT ( INT4MULTIRANGE ( INT4RANGE ( 1 , 2 ) ) <@ INT4MULTIRANGE ( INT4RANGE ( 1 , 2 ) ) )", "type": "boolean"}, + {"id": "pg.expressions.range.op-lt-at.ka6d8599d1755", "category": "expressions:executed", "sql": "SELECT ( INT4RANGE ( 1 , 2 ) <@ INT4MULTIRANGE ( INT4RANGE ( 1 , 2 ) ) )", "type": "boolean"}, + {"id": "pg.expressions.range.op-lt-at.kafcb4c4710ca", "category": "expressions:executed", "sql": "SELECT ( INT4MULTIRANGE ( INT4RANGE ( 1 , 2 ) ) <@ INT4RANGE ( 1 , 2 ) )", "type": "boolean"}, + {"id": "pg.expressions.range.op-lt-at.kb1ce705a615b", "category": "expressions:executed", "sql": "SELECT ( 1 <@ INT4RANGE ( 1 , 2 ) )", "type": "boolean"}, + {"id": "pg.expressions.range.op-lt-at.kb27ab114ea64", "category": "expressions:executed", "sql": "SELECT ( INT4RANGE ( 1 , 2 ) <@ INT4RANGE ( 1 , 2 ) )", "type": "boolean"}, + {"id": "pg.expressions.range.op-lt-lt.k4aa45c7e6fb8", "category": "expressions:executed", "sql": "SELECT ( INT4MULTIRANGE ( INT4RANGE ( 1 , 2 ) ) << INT4MULTIRANGE ( INT4RANGE ( 1 , 2 ) ) )", "type": "boolean"}, + {"id": "pg.expressions.range.op-lt-lt.k66f925e8045c", "category": "expressions:executed", "sql": "SELECT ( INT4MULTIRANGE ( INT4RANGE ( 1 , 2 ) ) << INT4RANGE ( 1 , 2 ) )", "type": "boolean"}, + {"id": "pg.expressions.range.op-lt-lt.k765fb6c43e8f", "category": "expressions:executed", "sql": "SELECT ( INT4RANGE ( 1 , 2 ) << INT4RANGE ( 1 , 2 ) )", "type": "boolean"}, + {"id": "pg.expressions.range.op-lt-lt.ka2e9393a9c70", "category": "expressions:executed", "sql": "SELECT ( INT4RANGE ( 1 , 2 ) << INT4MULTIRANGE ( INT4RANGE ( 1 , 2 ) ) )", "type": "boolean"}, + {"id": "pg.expressions.range.op-minus-bar-minus.k42e89a586a54", "category": "expressions:executed", "sql": "SELECT ( INT4RANGE ( 1 , 2 ) -|- INT4RANGE ( 1 , 2 ) )", "type": "boolean"}, + {"id": "pg.expressions.range.op-minus-bar-minus.k4a1c88de8432", "category": "expressions:executed", "sql": "SELECT ( INT4MULTIRANGE ( INT4RANGE ( 1 , 2 ) ) -|- INT4RANGE ( 1 , 2 ) )", "type": "boolean"}, + {"id": "pg.expressions.range.op-minus-bar-minus.kdf832c782fb6", "category": "expressions:executed", "sql": "SELECT ( INT4MULTIRANGE ( INT4RANGE ( 1 , 2 ) ) -|- INT4MULTIRANGE ( INT4RANGE ( 1 , 2 ) ) )", "type": "boolean"}, + {"id": "pg.expressions.range.op-minus-bar-minus.ke337232d226d", "category": "expressions:executed", "sql": "SELECT ( INT4RANGE ( 1 , 2 ) -|- INT4MULTIRANGE ( INT4RANGE ( 1 , 2 ) ) )", "type": "boolean"}, + {"id": "pg.expressions.range.op-minus.k34bd43dabc46", "category": "expressions:executed", "sql": "SELECT ( INT4MULTIRANGE ( INT4RANGE ( 1 , 2 ) ) - INT4MULTIRANGE ( INT4RANGE ( 1 , 2 ) ) )", "type": "int4multirange"}, + {"id": "pg.expressions.range.op-minus.k9a8dd889bd30", "category": "expressions:executed", "sql": "SELECT ( INT4RANGE ( 1 , 2 ) - INT4RANGE ( 1 , 2 ) )", "type": "int4range"}, + {"id": "pg.expressions.range.op-plus.k1daf6ff00cd6", "category": "expressions:executed", "sql": "SELECT ( INT4RANGE ( 1 , 2 ) + INT4RANGE ( 1 , 2 ) )", "type": "int4range"}, + {"id": "pg.expressions.range.op-plus.k42b061c88ded", "category": "expressions:executed", "sql": "SELECT ( INT4MULTIRANGE ( INT4RANGE ( 1 , 2 ) ) + INT4MULTIRANGE ( INT4RANGE ( 1 , 2 ) ) )", "type": "int4multirange"}, + {"id": "pg.expressions.range.op-star.k24df8db83763", "category": "expressions:executed", "sql": "SELECT ( INT4MULTIRANGE ( INT4RANGE ( 1 , 2 ) ) * INT4MULTIRANGE ( INT4RANGE ( 1 , 2 ) ) )", "type": "int4multirange"}, + {"id": "pg.expressions.range.op-star.k6b07343e1cd4", "category": "expressions:executed", "sql": "SELECT ( INT4RANGE ( 1 , 2 ) * INT4RANGE ( 1 , 2 ) )", "type": "int4range"}, + {"id": "pg.expressions.rangetypes.builtin-multirange-types.k3076295e6f15", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS INT4MULTIRANGE )", "type": "int4multirange"}, + {"id": "pg.expressions.rangetypes.builtin-multirange-types.k38f8af2b25fb", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS DATEMULTIRANGE )", "type": "datemultirange"}, + {"id": "pg.expressions.rangetypes.builtin-multirange-types.k87ac0ed19c5b", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS TSTZMULTIRANGE )", "type": "tstzmultirange"}, + {"id": "pg.expressions.rangetypes.builtin-multirange-types.kcaec03b6c656", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS TSMULTIRANGE )", "type": "tsmultirange"}, + {"id": "pg.expressions.rangetypes.builtin-multirange-types.kec41d54251c1", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS NUMMULTIRANGE )", "type": "nummultirange"}, + {"id": "pg.expressions.rangetypes.builtin-multirange-types.kf733891691b0", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS INT8MULTIRANGE )", "type": "int8multirange"}, + {"id": "pg.expressions.rangetypes.builtin-range-types.k24fb0c8954e5", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS INT4RANGE )", "type": "int4range"}, + {"id": "pg.expressions.rangetypes.builtin-range-types.k53aa1e4dbaec", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS NUMRANGE )", "type": "numrange"}, + {"id": "pg.expressions.rangetypes.builtin-range-types.kda6a62481e8e", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS DATERANGE )", "type": "daterange"}, + {"id": "pg.expressions.rangetypes.builtin-range-types.kdbbc865d3622", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS TSTZRANGE )", "type": "tstzrange"}, + {"id": "pg.expressions.rangetypes.builtin-range-types.kef11f6ed6413", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS INT8RANGE )", "type": "int8range"}, + {"id": "pg.expressions.rangetypes.builtin-range-types.kfe4a9476e48b", "category": "expressions:executed", "sql": "SELECT CAST ( NULL AS TSRANGE )", "type": "tsrange"}, + {"id": "pg.expressions.rangetypes.multirange-constructor.k5770e80838d9", "category": "expressions:executed", "sql": "SELECT ( INT4MULTIRANGE ( INT4RANGE ( 1 , 2 ) ) )", "type": "int4multirange"}, + {"id": "pg.expressions.rangetypes.multirange-constructor.k667d01a74904", "category": "expressions:executed", "sql": "SELECT ( INT4MULTIRANGE ( ) )", "type": "int4multirange"}, + {"id": "pg.expressions.rangetypes.multirange-constructor.kfa7e6ad98da7", "category": "expressions:executed", "sql": "SELECT ( INT4MULTIRANGE ( INT4RANGE ( 1 , 2 ) , INT4RANGE ( 1 , 2 ) ) )", "type": "int4multirange"}, + {"id": "pg.expressions.rangetypes.range-constructor.k0c56b7536f40", "category": "expressions:semantic", "sql": "SELECT ( INT4RANGE ( 1 , 2 , m1 ) )", "error": "column \"m1\" does not exist at character 55"}, + {"id": "pg.expressions.rangetypes.range-constructor.k4b806598e754", "category": "expressions:executed", "sql": "SELECT ( INT4RANGE ( 1 , 2 ) )", "type": "int4range"}, + {"id": "pg.expressions.rangetypes.range-constructor.k90b1abf181d5", "category": "expressions:semantic", "sql": "SELECT ( INT4RANGE ( 1 , 2 , 'm' ) )", "type": "int4range"}, + {"id": "pg.expressions.sql-expressions.aggregate-all.k3b23145eba09", "category": "expressions:semantic", "sql": "SELECT ( \"SELECT\" ( ALL 1 ) )", "error": "function SELECT(integer) does not exist at character 35"}, + {"id": "pg.expressions.sql-expressions.aggregate-all.k781b24f07084", "category": "expressions:semantic", "sql": "SELECT ( \"f1 Q\" ( ALL 1 ) )", "error": "function f1 Q(integer) does not exist at character 35"}, + {"id": "pg.expressions.sql-expressions.aggregate-all.kdd804cb71e44", "category": "expressions:semantic", "sql": "SELECT ( f1 ( ALL 1 ) )", "error": "function f1(integer) does not exist at character 35"}, + {"id": "pg.expressions.sql-expressions.aggregate-all.kfdd46250b6f8", "category": "expressions:semantic", "sql": "SELECT ( f1 ( ALL 1 , 1 ORDER BY 1 ) FILTER ( WHERE TRUE ) )", "error": "function f1(integer, integer) does not exist at character 35"}, + {"id": "pg.expressions.sql-expressions.aggregate-distinct.k33fd4236a839", "category": "expressions:semantic", "sql": "SELECT ( \"SELECT\" ( DISTINCT 1 ) )", "error": "function SELECT(integer) does not exist at character 35"}, + {"id": "pg.expressions.sql-expressions.aggregate-distinct.k465f826e189e", "category": "expressions:semantic", "sql": "SELECT ( f1 ( DISTINCT 1 , 1 ORDER BY 1 ) FILTER ( WHERE TRUE ) )", "error": "function f1(integer, integer) does not exist at character 35"}, + {"id": "pg.expressions.sql-expressions.aggregate-distinct.k7dcd4723edb4", "category": "expressions:semantic", "sql": "SELECT ( \"f1 Q\" ( DISTINCT 1 ) )", "error": "function f1 Q(integer) does not exist at character 35"}, + {"id": "pg.expressions.sql-expressions.aggregate-distinct.kd8e247305a3f", "category": "expressions:semantic", "sql": "SELECT ( f1 ( DISTINCT 1 ) )", "error": "function f1(integer) does not exist at character 35"}, + {"id": "pg.expressions.sql-expressions.aggregate-star.k01555e94d2c3", "category": "expressions:semantic", "sql": "SELECT ( f1 ( * ) FILTER ( WHERE TRUE ) )", "error": "function f1() does not exist at character 35"}, + {"id": "pg.expressions.sql-expressions.aggregate-star.k8023c12be4ac", "category": "expressions:semantic", "sql": "SELECT ( \"SELECT\" ( * ) )", "error": "function SELECT() does not exist at character 35"}, + {"id": "pg.expressions.sql-expressions.aggregate-star.k91bb745e1985", "category": "expressions:semantic", "sql": "SELECT ( f1 ( * ) )", "error": "function f1() does not exist at character 35"}, + {"id": "pg.expressions.sql-expressions.aggregate-star.kce93d5ddac9a", "category": "expressions:semantic", "sql": "SELECT ( \"f1 Q\" ( * ) )", "error": "function f1 Q() does not exist at character 35"}, + {"id": "pg.expressions.sql-expressions.aggregate-within-group.k68534556b5fb", "category": "expressions:semantic", "sql": "SELECT ( f1 ( ) WITHIN GROUP ( ORDER BY 1 ) )", "error": "function f1(integer) does not exist at character 35"}, + {"id": "pg.expressions.sql-expressions.aggregate-within-group.k71a1fc2bf759", "category": "expressions:semantic", "sql": "SELECT ( \"f1 Q\" ( ) WITHIN GROUP ( ORDER BY 1 ) )", "error": "function f1 Q(integer) does not exist at character 35"}, + {"id": "pg.expressions.sql-expressions.aggregate-within-group.k84b827cfa05d", "category": "expressions:semantic", "sql": "SELECT ( f1 ( 1 , 1 ) WITHIN GROUP ( ORDER BY 1 ) FILTER ( WHERE TRUE ) )", "error": "function f1(integer, integer, integer) does not exist at character 35"}, + {"id": "pg.expressions.sql-expressions.aggregate-within-group.kadf131f68e4a", "category": "expressions:semantic", "sql": "SELECT ( f1 ( 1 ) WITHIN GROUP ( ORDER BY 1 ) )", "error": "function f1(integer, integer) does not exist at character 35"}, + {"id": "pg.expressions.sql-expressions.aggregate-within-group.ke26d68c47204", "category": "expressions:semantic", "sql": "SELECT ( \"SELECT\" ( ) WITHIN GROUP ( ORDER BY 1 ) )", "error": "function SELECT(integer) does not exist at character 35"}, + {"id": "pg.expressions.sql-expressions.aggregate.k3aa3bce4f546", "category": "expressions:semantic", "sql": "SELECT ( f1 ( 1 ) )", "error": "function f1(integer) does not exist at character 35"}, + {"id": "pg.expressions.sql-expressions.aggregate.k544134d3ad93", "category": "expressions:semantic", "sql": "SELECT ( f1 ( 1 , 1 ORDER BY 1 ) FILTER ( WHERE TRUE ) )", "error": "function f1(integer, integer) does not exist at character 35"}, + {"id": "pg.expressions.sql-expressions.array-constructor.k2474ac989d5b", "category": "expressions:executed", "sql": "SELECT ( ARRAY [ [ 1 ] ] )", "type": "integer[]"}, + {"id": "pg.expressions.sql-expressions.array-constructor.k5081b70a1dfb", "category": "expressions:executed", "sql": "SELECT ( ARRAY [ [ 1 ] , [ 1 ] ] )", "type": "integer[]"}, + {"id": "pg.expressions.sql-expressions.array-constructor.k56e673d4e81d", "category": "expressions:executed", "sql": "SELECT ( ARRAY [ [ 1 , 1 ] , [ 1 , 1 ] ] )", "type": "integer[]"}, + {"id": "pg.expressions.sql-expressions.array-constructor.k5b2ea1930c60", "category": "expressions:executed", "sql": "SELECT ( ARRAY [ ARRAY [ 1 ] , ARRAY [ 1 ] ] )", "type": "integer[]"}, + {"id": "pg.expressions.sql-expressions.array-constructor.k6aa968beb3a5", "category": "expressions:executed", "sql": "SELECT ( ARRAY [ ARRAY [ 1 ] ] )", "type": "integer[]"}, + {"id": "pg.expressions.sql-expressions.array-constructor.kc87374a088f1", "category": "expressions:executed", "sql": "SELECT ( ARRAY [ 1 ] )", "type": "integer[]"}, + {"id": "pg.expressions.sql-expressions.array-constructor.kcda43007a95b", "category": "expressions:semantic", "sql": "SELECT ( ARRAY [ ] )", "error": "cannot determine type of empty array at character 35"}, + {"id": "pg.expressions.sql-expressions.array-constructor.keb2a1a7f089a", "category": "expressions:executed", "sql": "SELECT ARRAY[ARRAY[]::INT[], ARRAY[]::INT[]]", "type": "integer[]"}, + {"id": "pg.expressions.sql-expressions.array-constructor.kfaa78cf155ed", "category": "expressions:executed", "sql": "SELECT ( ARRAY [ ARRAY [ 1 , 1 ] , ARRAY [ 1 , 1 ] ] )", "type": "integer[]"}, + {"id": "pg.expressions.sql-expressions.array-constructor.kfd3ec35401e7", "category": "expressions:executed", "sql": "SELECT ARRAY[[]]::INT[]", "type": "integer[]"}, + {"id": "pg.expressions.sql-expressions.array-constructor.kfe5a6eb8644b", "category": "expressions:executed", "sql": "SELECT ( ARRAY [ 1 , 1 ] )", "type": "integer[]"}, + {"id": "pg.expressions.sql-expressions.array-subquery.k8e583098ea09", "category": "expressions:executed", "sql": "SELECT ( ARRAY ( SELECT 1 ) )", "type": "integer[]"}, + {"id": "pg.expressions.sql-expressions.array-subquery.ked32a8229d04", "category": "expressions:executed", "sql": "SELECT ( ARRAY ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT 1 ) ) ) ) ) ) ) ) )", "type": "integer[]"}, + {"id": "pg.expressions.sql-expressions.array-subquery.kee5883e32a75", "category": "expressions:executed", "sql": "SELECT ( ARRAY ( SELECT * FROM ( SELECT 1 ) ) )", "type": "integer[]"}, + {"id": "pg.expressions.sql-expressions.cast-double-colon.k6931395ac0df", "category": "expressions:executed", "sql": "SELECT ( 1 :: INT )", "type": "integer"}, + {"id": "pg.expressions.sql-expressions.cast.kfee8ded217d2", "category": "expressions:executed", "sql": "SELECT ( CAST ( 1 AS INT ) )", "type": "integer"}, + {"id": "pg.expressions.sql-expressions.collate.k21c54ada2c37", "category": "expressions:semantic", "sql": "SELECT ( 1 COLLATE \"SELECT\" )", "error": "collations are not supported by type integer at character 37"}, + {"id": "pg.expressions.sql-expressions.collate.kdb15d91e754b", "category": "expressions:semantic", "sql": "SELECT ( 1 COLLATE \"v1 Q\" )", "error": "collations are not supported by type integer at character 37"}, + {"id": "pg.expressions.sql-expressions.collate.kfea7bffe5744", "category": "expressions:semantic", "sql": "SELECT ( 1 COLLATE v1 )", "error": "collations are not supported by type integer at character 37"}, + {"id": "pg.expressions.sql-expressions.column-reference.kdc64cb8d222a", "category": "expressions:semantic", "sql": "SELECT ( t1 . c1 )", "error": "missing FROM-clause entry for table \"t1\" at character 35"}, + {"id": "pg.expressions.sql-expressions.field-selection.k31e3a62ae6c3", "category": "expressions:semantic", "sql": "SELECT ( ( ROW ( 1 ) ) . v1 )", "error": "could not identify column \"v1\" in record data type at character 37"}, + {"id": "pg.expressions.sql-expressions.function-call.k1a8997dce4c6", "category": "expressions:semantic", "sql": "SELECT ( f1 ( 1 , 1 ) )", "error": "function f1(integer, integer) does not exist at character 35"}, + {"id": "pg.expressions.sql-expressions.function-call.k2bec219ef24f", "category": "expressions:semantic", "sql": "SELECT ( \"f1 Q\" ( ) )", "error": "function f1 Q() does not exist at character 35"}, + {"id": "pg.expressions.sql-expressions.function-call.k40e05ef08670", "category": "expressions:semantic", "sql": "SELECT ( f1 ( ) )", "error": "function f1() does not exist at character 35"}, + {"id": "pg.expressions.sql-expressions.function-call.ke8b11dd46210", "category": "expressions:semantic", "sql": "SELECT ( \"SELECT\" ( ) )", "error": "function SELECT() does not exist at character 35"}, + {"id": "pg.expressions.sql-expressions.function-style-cast.k73e756812125", "category": "expressions:semantic", "sql": "SELECT ( v1 ( 1 ) )", "error": "function v1(integer) does not exist at character 35"}, + {"id": "pg.expressions.sql-expressions.operator-call.kd2bbb0db8ad1", "category": "expressions:executed", "sql": "SELECT ( 1 OPERATOR ( pg_catalog . + ) 1 )", "type": "integer"}, + {"id": "pg.expressions.sql-expressions.positional-parameter.k26660c33db1b", "category": "expressions:semantic", "sql": "SELECT ( $1 )", "error": "there is no parameter $1 at character 35"}, + {"id": "pg.expressions.sql-expressions.row-constructor.k04e651df0837", "category": "expressions:executed", "sql": "SELECT ( ( 1 , 1 , 1 ) )", "error": "column \"row\" has pseudo-type record"}, + {"id": "pg.expressions.sql-expressions.row-constructor.k18d3bf0ec481", "category": "expressions:semantic", "sql": "SELECT ( ROW ( \"SELECT\" . * ) )", "error": "missing FROM-clause entry for table \"SELECT\" at character 41"}, + {"id": "pg.expressions.sql-expressions.row-constructor.k249e8d3c9d42", "category": "expressions:executed", "sql": "SELECT ( ROW ( 1 , 1 ) )", "error": "column \"row\" has pseudo-type record"}, + {"id": "pg.expressions.sql-expressions.row-constructor.k284dc7c991ec", "category": "expressions:executed", "sql": "SELECT ( ROW ( 1 ) )", "error": "column \"row\" has pseudo-type record"}, + {"id": "pg.expressions.sql-expressions.row-constructor.k5051c07a5109", "category": "expressions:executed", "sql": "SELECT ( ROW ( ) )", "error": "column \"row\" has pseudo-type record"}, + {"id": "pg.expressions.sql-expressions.row-constructor.k58a5ed27c9cc", "category": "expressions:executed", "sql": "SELECT ( ( 1 , 1 ) )", "error": "column \"row\" has pseudo-type record"}, + {"id": "pg.expressions.sql-expressions.row-constructor.k64e28ddc2791", "category": "expressions:semantic", "sql": "SELECT ( ROW ( \"t1 Q\" . * ) )", "error": "missing FROM-clause entry for table \"t1 Q\" at character 41"}, + {"id": "pg.expressions.sql-expressions.row-constructor.k92a1ae02cffc", "category": "expressions:semantic", "sql": "SELECT ( ROW ( t1 . * , t1 . * ) )", "error": "missing FROM-clause entry for table \"t1\" at character 41"}, + {"id": "pg.expressions.sql-expressions.row-constructor.k95201e0f8160", "category": "expressions:semantic", "sql": "SELECT ( ROW ( t1 . * ) )", "error": "missing FROM-clause entry for table \"t1\" at character 41"}, + {"id": "pg.expressions.sql-expressions.scalar-subquery.k950d2223ed44", "category": "expressions:executed", "sql": "SELECT ( ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT 1 ) ) ) ) ) ) ) ) )", "type": "integer"}, + {"id": "pg.expressions.sql-expressions.scalar-subquery.k9b7c402ee7cb", "category": "expressions:executed", "sql": "SELECT ( ( SELECT * FROM ( SELECT 1 ) ) )", "type": "integer"}, + {"id": "pg.expressions.sql-expressions.scalar-subquery.kf463f3a0ea64", "category": "expressions:executed", "sql": "SELECT ( ( SELECT 1 ) )", "type": "integer"}, + {"id": "pg.expressions.sql-expressions.slice.k9f99f63e15c3", "category": "expressions:semantic", "sql": "SELECT ( ( ARRAY [ 1 ] ) [ v1 :v1 ] )", "error": "column \"v1\" does not exist at character 53"}, + {"id": "pg.expressions.sql-expressions.subscript.k81d30238d58d", "category": "expressions:semantic", "sql": "SELECT ( ( ARRAY [ 1 ] ) [ v1 ] )", "error": "column \"v1\" does not exist at character 53"}, + {"id": "pg.expressions.sql-expressions.window-call-definition.k50f11f2350b4", "category": "expressions:semantic", "sql": "SELECT ( f1 ( 1 ) OVER ( ) )", "error": "function f1(integer) does not exist at character 35"}, + {"id": "pg.expressions.sql-expressions.window-call-definition.k64d2c11f2e4a", "category": "expressions:semantic", "sql": "SELECT ( \"SELECT\" ( ) OVER ( ) )", "error": "function SELECT() does not exist at character 35"}, + {"id": "pg.expressions.sql-expressions.window-call-definition.k66f5c408d5a2", "category": "expressions:semantic", "sql": "SELECT ( f1 ( 1 , 1 ) FILTER ( WHERE TRUE ) OVER ( ORDER BY c1 ) )", "error": "function f1(integer, integer) does not exist at character 35"}, + {"id": "pg.expressions.sql-expressions.window-call-definition.k967995413fa3", "category": "expressions:semantic", "sql": "SELECT ( \"f1 Q\" ( ) OVER ( ) )", "error": "function f1 Q() does not exist at character 35"}, + {"id": "pg.expressions.sql-expressions.window-call-definition.kcd7fa98ccccd", "category": "expressions:semantic", "sql": "SELECT ( f1 ( ) OVER ( ) )", "error": "function f1() does not exist at character 35"}, + {"id": "pg.expressions.sql-expressions.window-call-name.k1b2ea400c6c8", "category": "expressions:semantic", "sql": "SELECT ( f1 ( 1 , 1 ) FILTER ( WHERE TRUE ) OVER w1 )", "error": "function f1(integer, integer) does not exist at character 35"}, + {"id": "pg.expressions.sql-expressions.window-call-name.k2aebfe47734a", "category": "expressions:semantic", "sql": "SELECT ( f1 ( ) OVER w1 )", "error": "function f1() does not exist at character 35"}, + {"id": "pg.expressions.sql-expressions.window-call-name.k3c2e60332b32", "category": "expressions:semantic", "sql": "SELECT ( f1 ( ) OVER \"w1 Q\" )", "error": "function f1() does not exist at character 35"}, + {"id": "pg.expressions.sql-expressions.window-call-name.k80de11494ddd", "category": "expressions:semantic", "sql": "SELECT ( f1 ( 1 ) OVER w1 )", "error": "function f1(integer) does not exist at character 35"}, + {"id": "pg.expressions.sql-expressions.window-call-name.ka00c517f6381", "category": "expressions:semantic", "sql": "SELECT ( f1 ( ) OVER \"SELECT\" )", "error": "function f1() does not exist at character 35"}, + {"id": "pg.expressions.sql-expressions.window-call-name.kafb636227e19", "category": "expressions:semantic", "sql": "SELECT ( \"SELECT\" ( ) OVER w1 )", "error": "function SELECT() does not exist at character 35"}, + {"id": "pg.expressions.sql-expressions.window-call-name.kc12cac8b2d08", "category": "expressions:semantic", "sql": "SELECT ( \"f1 Q\" ( ) OVER w1 )", "error": "function f1 Q() does not exist at character 35"}, + {"id": "pg.expressions.sql-expressions.window-star-definition.k59f44d3fc6a9", "category": "expressions:semantic", "sql": "SELECT ( f1 ( * ) OVER ( ) )", "error": "function f1() does not exist at character 35"}, + {"id": "pg.expressions.sql-expressions.window-star-definition.k7d200b944900", "category": "expressions:semantic", "sql": "SELECT ( f1 ( * ) FILTER ( WHERE TRUE ) OVER ( ORDER BY c1 ) )", "error": "function f1() does not exist at character 35"}, + {"id": "pg.expressions.sql-expressions.window-star-definition.k801d6e3783d5", "category": "expressions:semantic", "sql": "SELECT ( \"f1 Q\" ( * ) OVER ( ) )", "error": "function f1 Q() does not exist at character 35"}, + {"id": "pg.expressions.sql-expressions.window-star-definition.k850fd7d4a6f7", "category": "expressions:semantic", "sql": "SELECT ( \"SELECT\" ( * ) OVER ( ) )", "error": "function SELECT() does not exist at character 35"}, + {"id": "pg.expressions.sql-expressions.window-star-name.k9b85b7d5f17a", "category": "expressions:semantic", "sql": "SELECT ( f1 ( * ) OVER w1 )", "error": "function f1() does not exist at character 35"}, + {"id": "pg.expressions.sql-expressions.window-star-name.k9d84b9f1bdb3", "category": "expressions:semantic", "sql": "SELECT ( f1 ( * ) OVER \"w1 Q\" )", "error": "function f1() does not exist at character 35"}, + {"id": "pg.expressions.sql-expressions.window-star-name.kf5aaa6235cb0", "category": "expressions:semantic", "sql": "SELECT ( \"SELECT\" ( * ) OVER w1 )", "error": "function SELECT() does not exist at character 35"}, + {"id": "pg.expressions.sql-expressions.window-star-name.kf9d2e315487f", "category": "expressions:semantic", "sql": "SELECT ( f1 ( * ) FILTER ( WHERE TRUE ) OVER w1 )", "error": "function f1() does not exist at character 35"}, + {"id": "pg.expressions.sql-expressions.window-star-name.kfa0bccc9d2ec", "category": "expressions:semantic", "sql": "SELECT ( f1 ( * ) OVER \"SELECT\" )", "error": "function f1() does not exist at character 35"}, + {"id": "pg.expressions.sql-expressions.window-star-name.kfc91f218efce", "category": "expressions:semantic", "sql": "SELECT ( \"f1 Q\" ( * ) OVER w1 )", "error": "function f1 Q() does not exist at character 35"}, + {"id": "pg.expressions.sql-syntax-calling-funcs.mixed-notation.k00f14074126c", "category": "expressions:semantic", "sql": "SELECT ( f1 ( 1 , 1 , v1 => 1 , v1 => 1 ) )", "error": "argument name \"v1\" used more than once at character 58"}, + {"id": "pg.expressions.sql-syntax-calling-funcs.mixed-notation.k0568a04e91d6", "category": "expressions:semantic", "sql": "SELECT ( \"f1 Q\" ( 1 , v1 => 1 ) )", "error": "function f1 Q(integer, v1 => integer) does not exist at character 35"}, + {"id": "pg.expressions.sql-syntax-calling-funcs.mixed-notation.k20ad9767de68", "category": "expressions:semantic", "sql": "SELECT ( f1 ( 1 , v1 => 1 ) )", "error": "function f1(integer, v1 => integer) does not exist at character 35"}, + {"id": "pg.expressions.sql-syntax-calling-funcs.mixed-notation.k8f668436733a", "category": "expressions:semantic", "sql": "SELECT ( f1 ( 1 , \"SELECT\" => 1 ) )", "error": "function f1(integer, SELECT => integer) does not exist at character 35"}, + {"id": "pg.expressions.sql-syntax-calling-funcs.mixed-notation.k9087d4191209", "category": "expressions:semantic", "sql": "SELECT ( \"SELECT\" ( 1 , v1 => 1 ) )", "error": "function SELECT(integer, v1 => integer) does not exist at character 35"}, + {"id": "pg.expressions.sql-syntax-calling-funcs.mixed-notation.kad1330b78f0d", "category": "expressions:semantic", "sql": "SELECT ( f1 ( 1 , \"v1 Q\" => 1 ) )", "error": "function f1(integer, v1 Q => integer) does not exist at character 35"}, + {"id": "pg.expressions.sql-syntax-calling-funcs.named-notation-colon-equals.k034f4d5c5b33", "category": "expressions:semantic", "sql": "SELECT ( f1 ( \"SELECT\" := 1 ) )", "error": "function f1(SELECT => integer) does not exist at character 35"}, + {"id": "pg.expressions.sql-syntax-calling-funcs.named-notation-colon-equals.k318ec23c637e", "category": "expressions:semantic", "sql": "SELECT ( f1 ( v1 := 1 , v1 := 1 ) )", "error": "argument name \"v1\" used more than once at character 50"}, + {"id": "pg.expressions.sql-syntax-calling-funcs.named-notation-colon-equals.k42465c3c1fb6", "category": "expressions:semantic", "sql": "SELECT ( f1 ( \"v1 Q\" := 1 ) )", "error": "function f1(v1 Q => integer) does not exist at character 35"}, + {"id": "pg.expressions.sql-syntax-calling-funcs.named-notation-colon-equals.k9373971b7949", "category": "expressions:semantic", "sql": "SELECT ( \"f1 Q\" ( v1 := 1 ) )", "error": "function f1 Q(v1 => integer) does not exist at character 35"}, + {"id": "pg.expressions.sql-syntax-calling-funcs.named-notation-colon-equals.kbeb1a9eef365", "category": "expressions:semantic", "sql": "SELECT ( f1 ( v1 := 1 ) )", "error": "function f1(v1 => integer) does not exist at character 35"}, + {"id": "pg.expressions.sql-syntax-calling-funcs.named-notation-colon-equals.ke72515c37ee7", "category": "expressions:semantic", "sql": "SELECT ( \"SELECT\" ( v1 := 1 ) )", "error": "function SELECT(v1 => integer) does not exist at character 35"}, + {"id": "pg.expressions.sql-syntax-calling-funcs.named-notation.k1713baccf729", "category": "expressions:semantic", "sql": "SELECT ( f1 ( \"SELECT\" => 1 ) )", "error": "function f1(SELECT => integer) does not exist at character 35"}, + {"id": "pg.expressions.sql-syntax-calling-funcs.named-notation.k3001d9745fca", "category": "expressions:semantic", "sql": "SELECT ( f1 ( \"v1 Q\" => 1 ) )", "error": "function f1(v1 Q => integer) does not exist at character 35"}, + {"id": "pg.expressions.sql-syntax-calling-funcs.named-notation.k48293ddc8305", "category": "expressions:semantic", "sql": "SELECT ( f1 ( v1 => 1 ) )", "error": "function f1(v1 => integer) does not exist at character 35"}, + {"id": "pg.expressions.sql-syntax-calling-funcs.named-notation.k67b875463008", "category": "expressions:semantic", "sql": "SELECT ( \"f1 Q\" ( v1 => 1 ) )", "error": "function f1 Q(v1 => integer) does not exist at character 35"}, + {"id": "pg.expressions.sql-syntax-calling-funcs.named-notation.k6e8e6e6a4eae", "category": "expressions:semantic", "sql": "SELECT ( \"SELECT\" ( v1 => 1 ) )", "error": "function SELECT(v1 => integer) does not exist at character 35"}, + {"id": "pg.expressions.sql-syntax-calling-funcs.named-notation.k81fed96ef4d6", "category": "expressions:semantic", "sql": "SELECT ( f1 ( v1 => 1 , v1 => 1 ) )", "error": "argument name \"v1\" used more than once at character 50"}, + {"id": "pg.expressions.sql-syntax-lexical.binary-integer.k178f18f18253", "category": "expressions:executed", "sql": "SELECT 0b101", "type": "integer"}, + {"id": "pg.expressions.sql-syntax-lexical.binary-integer.k428b1b393ed5", "category": "expressions:executed", "sql": "SELECT 0B101", "type": "integer"}, + {"id": "pg.expressions.sql-syntax-lexical.bit-string.k1896950be4af", "category": "expressions:executed", "sql": "SELECT b'1001'", "type": "\"bit\""}, + {"id": "pg.expressions.sql-syntax-lexical.bit-string.k52ac814e0fdd", "category": "expressions:executed", "sql": "SELECT B'1001'", "type": "\"bit\""}, + {"id": "pg.expressions.sql-syntax-lexical.block-comment.ka1e821d0936a", "category": "expressions:executed", "sql": "SELECT /* a /* b */ c */ 1", "type": "integer"}, + {"id": "pg.expressions.sql-syntax-lexical.block-comment.kf930fa190967", "category": "expressions:executed", "sql": "SELECT /* note */ 1", "type": "integer"}, + {"id": "pg.expressions.sql-syntax-lexical.cast-string.k45b02e77e4e8", "category": "expressions:runtime", "sql": "SELECT ( CAST ( 'm' AS INT ) )", "error": "invalid input syntax for type integer: \"m\" at character 42"}, + {"id": "pg.expressions.sql-syntax-lexical.cast-string.k798fb34fb944", "category": "expressions:semantic", "sql": "SELECT ( CAST ( m1 AS INT ) )", "error": "column \"m1\" does not exist at character 42"}, + {"id": "pg.expressions.sql-syntax-lexical.decimal-leading-point.k6446191b4faf", "category": "expressions:executed", "sql": "SELECT .001", "type": "numeric"}, + {"id": "pg.expressions.sql-syntax-lexical.decimal-leading-point.kfbba49967310", "category": "expressions:executed", "sql": "SELECT .5e2", "type": "numeric"}, + {"id": "pg.expressions.sql-syntax-lexical.decimal.k13ac505d817e", "category": "expressions:executed", "sql": "SELECT 5.E3", "type": "numeric"}, + {"id": "pg.expressions.sql-syntax-lexical.decimal.k7a7863e034b7", "category": "expressions:executed", "sql": "SELECT 1.925e-3", "type": "numeric"}, + {"id": "pg.expressions.sql-syntax-lexical.decimal.kc703b72834ef", "category": "expressions:executed", "sql": "SELECT 3.5", "type": "numeric"}, + {"id": "pg.expressions.sql-syntax-lexical.decimal.kc8d1b37a0be7", "category": "expressions:executed", "sql": "SELECT 4.", "type": "numeric"}, + {"id": "pg.expressions.sql-syntax-lexical.digit-separators.k5f8f6a930132", "category": "expressions:executed", "sql": "SELECT 1_000_000", "type": "integer"}, + {"id": "pg.expressions.sql-syntax-lexical.digit-separators.kdbd24cf6141d", "category": "expressions:executed", "sql": "SELECT 0x_FF", "type": "integer"}, + {"id": "pg.expressions.sql-syntax-lexical.dollar-quoted-string.k73015ff851c7", "category": "expressions:executed", "sql": "SELECT $$$$", "type": "text"}, + {"id": "pg.expressions.sql-syntax-lexical.dollar-quoted-string.kd887cd1e724a", "category": "expressions:executed", "sql": "SELECT $tag$a $$ b$tag$", "type": "text"}, + {"id": "pg.expressions.sql-syntax-lexical.dollar-quoted-string.kda4888965b21", "category": "expressions:executed", "sql": "SELECT $$it's$$", "type": "text"}, + {"id": "pg.expressions.sql-syntax-lexical.escape-string.k15d1a328d42e", "category": "expressions:executed", "sql": "SELECT E'it\\'s'", "type": "text"}, + {"id": "pg.expressions.sql-syntax-lexical.escape-string.k2a79d996a8a6", "category": "expressions:executed", "sql": "SELECT E'a\\nb'", "type": "text"}, + {"id": "pg.expressions.sql-syntax-lexical.escape-string.k63b9102bfaa2", "category": "expressions:executed", "sql": "SELECT e'\\x41'", "type": "text"}, + {"id": "pg.expressions.sql-syntax-lexical.exponent.k1a7a9fc520ec", "category": "expressions:executed", "sql": "SELECT 5e2", "type": "numeric"}, + {"id": "pg.expressions.sql-syntax-lexical.exponent.k31843fbe7025", "category": "expressions:executed", "sql": "SELECT 5E-2", "type": "numeric"}, + {"id": "pg.expressions.sql-syntax-lexical.function-style-string.k8e3a5a660f81", "category": "expressions:semantic", "sql": "SELECT ( v1 ( 'm' ) )", "error": "function v1(unknown) does not exist at character 35"}, + {"id": "pg.expressions.sql-syntax-lexical.function-style-string.keae324dc6565", "category": "expressions:semantic", "sql": "SELECT ( v1 ( m1 ) )", "error": "column \"m1\" does not exist at character 40"}, + {"id": "pg.expressions.sql-syntax-lexical.hex-bit-string.k61e0db501172", "category": "expressions:executed", "sql": "SELECT x'1ff'", "type": "\"bit\""}, + {"id": "pg.expressions.sql-syntax-lexical.hex-bit-string.k81aaf2d5c986", "category": "expressions:executed", "sql": "SELECT X'1FF'", "type": "\"bit\""}, + {"id": "pg.expressions.sql-syntax-lexical.hex-integer.k92e15fe77c29", "category": "expressions:executed", "sql": "SELECT 0x1F", "type": "integer"}, + {"id": "pg.expressions.sql-syntax-lexical.hex-integer.kf82982275ef3", "category": "expressions:executed", "sql": "SELECT 0Xff", "type": "integer"}, + {"id": "pg.expressions.sql-syntax-lexical.identifier.k1285c1451d13", "category": "expressions:semantic", "sql": "SELECT \u00e91", "error": "column \"\u00e91\" does not exist at character 33"}, + {"id": "pg.expressions.sql-syntax-lexical.identifier.k6563819a124e", "category": "expressions:semantic", "sql": "SELECT _abc", "error": "column \"_abc\" does not exist at character 33"}, + {"id": "pg.expressions.sql-syntax-lexical.identifier.k71acc70c8c73", "category": "expressions:semantic", "sql": "SELECT a$1", "error": "column \"a$1\" does not exist at character 33"}, + {"id": "pg.expressions.sql-syntax-lexical.identifier.k7c76265b652c", "category": "expressions:semantic", "sql": "SELECT abc_1", "error": "column \"abc_1\" does not exist at character 33"}, + {"id": "pg.expressions.sql-syntax-lexical.integer.k002286f7369e", "category": "expressions:executed", "sql": "SELECT 42", "type": "integer"}, + {"id": "pg.expressions.sql-syntax-lexical.integer.k8adb2d4f2b27", "category": "expressions:executed", "sql": "SELECT 123456789012345678901234567890", "type": "numeric"}, + {"id": "pg.expressions.sql-syntax-lexical.line-comment.k1637d57e00c3", "category": "expressions:executed", "sql": "SELECT 1 -- note\n+ 1", "type": "integer"}, + {"id": "pg.expressions.sql-syntax-lexical.line-comment.k61906bf111f9", "category": "expressions:executed", "sql": "SELECT 1 -- note", "error": "syntax error at or near \"'@@type@@606@@'\" at character 51"}, + {"id": "pg.expressions.sql-syntax-lexical.octal-integer.kc4517854d98e", "category": "expressions:executed", "sql": "SELECT 0o17", "type": "integer"}, + {"id": "pg.expressions.sql-syntax-lexical.octal-integer.kd7babdbc71b4", "category": "expressions:executed", "sql": "SELECT 0O17", "type": "integer"}, + {"id": "pg.expressions.sql-syntax-lexical.quoted-identifier.k63f89321dd0f", "category": "expressions:semantic", "sql": "SELECT \"a b\"", "error": "column \"a b\" does not exist at character 33"}, + {"id": "pg.expressions.sql-syntax-lexical.quoted-identifier.k8853e1033264", "category": "expressions:semantic", "sql": "SELECT 1 FROM \"select\"", "error": "relation \"select\" does not exist at character 40"}, + {"id": "pg.expressions.sql-syntax-lexical.quoted-identifier.ke2ac964362d5", "category": "expressions:semantic", "sql": "SELECT \"a\"\"b\"", "error": "column \"a\"b\" does not exist at character 33"}, + {"id": "pg.expressions.sql-syntax-lexical.string-cast.k2e0556d79780", "category": "expressions:runtime", "sql": "SELECT ( 'm' :: INT )", "error": "invalid input syntax for type integer: \"m\" at character 35"}, + {"id": "pg.expressions.sql-syntax-lexical.string-cast.k6faece927b44", "category": "expressions:semantic", "sql": "SELECT ( m1 :: INT )", "error": "column \"m1\" does not exist at character 35"}, + {"id": "pg.expressions.sql-syntax-lexical.string-continuation.kab6ec5e2f55b", "category": "expressions:executed", "sql": "SELECT 'foo'\n'bar'", "type": "text"}, + {"id": "pg.expressions.sql-syntax-lexical.string.k7c01eacb730a", "category": "expressions:executed", "sql": "SELECT 'abc'", "type": "text"}, + {"id": "pg.expressions.sql-syntax-lexical.string.kc12fae5aafad", "category": "expressions:executed", "sql": "SELECT ''", "type": "text"}, + {"id": "pg.expressions.sql-syntax-lexical.string.kd9f96d610fcd", "category": "expressions:executed", "sql": "SELECT 'it''s'", "type": "text"}, + {"id": "pg.expressions.sql-syntax-lexical.type-string.k0690adea901f", "category": "expressions:executed", "sql": "SELECT ( INT '1' )", "type": "integer"}, + {"id": "pg.expressions.sql-syntax-lexical.unicode-identifier.k0f65295921a1", "category": "expressions:executed", "sql": "SELECT 1 AS U&\"d!0061t!+000061\" UESCAPE '!'", "type": "integer"}, + {"id": "pg.expressions.sql-syntax-lexical.unicode-identifier.kadedeff6c435", "category": "expressions:executed", "sql": "SELECT 1 AS U&\"d\\0061t\\+000061\"", "type": "integer"}, + {"id": "pg.expressions.sql-syntax-lexical.unicode-string.k35024596939d", "category": "expressions:executed", "sql": "SELECT U&'d!0061t!+000061' UESCAPE '!'", "type": "text"}, + {"id": "pg.expressions.sql-syntax-lexical.unicode-string.k9e86700ccca7", "category": "expressions:executed", "sql": "SELECT U&'d\\0061t\\+000061'", "type": "text"}, + {"id": "pg.expressions.string.is-not-normalized.k966b78cff68e", "category": "expressions:executed", "sql": "SELECT ( 'day' IS NORMALIZED )", "type": "boolean"}, + {"id": "pg.expressions.string.is-not-normalized.kf14144b9a785", "category": "expressions:executed", "sql": "SELECT ( 'day' IS NOT NFC NORMALIZED )", "type": "boolean"}, + {"id": "pg.expressions.string.op-bar-bar.k3df8d1d4beb7", "category": "expressions:executed", "sql": "SELECT ( 'day' || 'day' )", "type": "text"}, + {"id": "pg.expressions.string.op-bar-bar.k5b0fc37a879a", "category": "expressions:executed", "sql": "SELECT ( 'day' || 1 )", "type": "text"}, + {"id": "pg.expressions.string.op-bar-bar.kdb7b4b4c5b5f", "category": "expressions:executed", "sql": "SELECT ( 1 || 'day' )", "type": "text"}, + {"id": "pg.expressions.string.op-caret-at.kd7d29d8fabf3", "category": "expressions:executed", "sql": "SELECT ( 'day' ^@ 'day' )", "type": "boolean"}, + {"id": "pg.expressions.subquery.all-row.k3ec25bbb2ff4", "category": "expressions:executed", "sql": "SELECT ( ROW ( 1 , 2 ) < ALL ( SELECT 1 , 2 ) )", "type": "boolean"}, + {"id": "pg.expressions.subquery.all-row.k9ba0dff15309", "category": "expressions:semantic", "sql": "SELECT ( ROW ( 1 , 2 ) < ALL ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT 1 ) ) ) ) ) ) ) ) )", "error": "subquery has too few columns at character 49"}, + {"id": "pg.expressions.subquery.all-row.ka1730b1a3e2a", "category": "expressions:semantic", "sql": "SELECT ( ROW ( 1 , 2 ) < ALL ( SELECT * FROM ( SELECT 1 ) ) )", "error": "subquery has too few columns at character 49"}, + {"id": "pg.expressions.subquery.all.k28092059edfb", "category": "expressions:executed", "sql": "SELECT ( 1 < ALL ( SELECT * FROM ( SELECT 1 ) ) )", "type": "boolean"}, + {"id": "pg.expressions.subquery.all.ka8e989bec59f", "category": "expressions:executed", "sql": "SELECT ( 1 < ALL ( SELECT 1 ) )", "type": "boolean"}, + {"id": "pg.expressions.subquery.all.kd550e1a1bb98", "category": "expressions:executed", "sql": "SELECT ( 1 < ALL ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT 1 ) ) ) ) ) ) ) ) )", "type": "boolean"}, + {"id": "pg.expressions.subquery.any-row.k4324f2ef0e46", "category": "expressions:executed", "sql": "SELECT ( ROW ( 1 , 2 ) < ANY ( SELECT 1 , 2 ) )", "type": "boolean"}, + {"id": "pg.expressions.subquery.any-row.ka291a2d5482d", "category": "expressions:semantic", "sql": "SELECT ( ROW ( 1 , 2 ) < ANY ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT 1 ) ) ) ) ) ) ) ) )", "error": "subquery has too few columns at character 49"}, + {"id": "pg.expressions.subquery.any-row.kf30bf129e8e8", "category": "expressions:semantic", "sql": "SELECT ( ROW ( 1 , 2 ) < ANY ( SELECT * FROM ( SELECT 1 ) ) )", "error": "subquery has too few columns at character 49"}, + {"id": "pg.expressions.subquery.any.k5495be963587", "category": "expressions:executed", "sql": "SELECT ( 1 < ANY ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT 1 ) ) ) ) ) ) ) ) )", "type": "boolean"}, + {"id": "pg.expressions.subquery.any.k5ef7f563aa5b", "category": "expressions:executed", "sql": "SELECT ( 1 < ANY ( SELECT * FROM ( SELECT 1 ) ) )", "type": "boolean"}, + {"id": "pg.expressions.subquery.any.keec341cf6a97", "category": "expressions:executed", "sql": "SELECT ( 1 < ANY ( SELECT 1 ) )", "type": "boolean"}, + {"id": "pg.expressions.subquery.exists.k6e4962878b06", "category": "expressions:executed", "sql": "SELECT ( EXISTS ( SELECT * FROM ( SELECT 1 ) ) )", "type": "boolean"}, + {"id": "pg.expressions.subquery.exists.k6fffaf4caddd", "category": "expressions:executed", "sql": "SELECT ( EXISTS ( SELECT 1 ) )", "type": "boolean"}, + {"id": "pg.expressions.subquery.exists.k8e420eb00dac", "category": "expressions:executed", "sql": "SELECT ( EXISTS ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT 1 ) ) ) ) ) ) ) ) )", "type": "boolean"}, + {"id": "pg.expressions.subquery.in-row.k198c41291b45", "category": "expressions:semantic", "sql": "SELECT ( ROW ( 1 , 2 ) IN ( SELECT * FROM ( SELECT 1 ) ) )", "error": "subquery has too few columns at character 49"}, + {"id": "pg.expressions.subquery.in-row.k1d76a48a8e24", "category": "expressions:executed", "sql": "SELECT ( ROW ( 1 , 2 ) IN ( SELECT 1 , 2 ) )", "type": "boolean"}, + {"id": "pg.expressions.subquery.in-row.k27ac71bd6d13", "category": "expressions:semantic", "sql": "SELECT ( ROW ( 1 , 2 ) IN ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT 1 ) ) ) ) ) ) ) ) )", "error": "subquery has too few columns at character 49"}, + {"id": "pg.expressions.subquery.in.k075b4d47091d", "category": "expressions:executed", "sql": "SELECT ( 1 IN ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT 1 ) ) ) ) ) ) ) ) )", "type": "boolean"}, + {"id": "pg.expressions.subquery.in.k0cff18d1e079", "category": "expressions:executed", "sql": "SELECT ( 1 IN ( SELECT * FROM ( SELECT 1 ) ) )", "type": "boolean"}, + {"id": "pg.expressions.subquery.in.kb00c8f112615", "category": "expressions:executed", "sql": "SELECT ( 1 IN ( SELECT 1 ) )", "type": "boolean"}, + {"id": "pg.expressions.subquery.not-in-row.k28ff4d541345", "category": "expressions:semantic", "sql": "SELECT ( ROW ( 1 , 2 ) NOT IN ( SELECT * FROM ( SELECT 1 ) ) )", "error": "subquery has too few columns at character 49"}, + {"id": "pg.expressions.subquery.not-in-row.kb074fc5660bb", "category": "expressions:semantic", "sql": "SELECT ( ROW ( 1 , 2 ) NOT IN ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT 1 ) ) ) ) ) ) ) ) )", "error": "subquery has too few columns at character 49"}, + {"id": "pg.expressions.subquery.not-in-row.kc72ac6ec8f30", "category": "expressions:executed", "sql": "SELECT ( ROW ( 1 , 2 ) NOT IN ( SELECT 1 , 2 ) )", "type": "boolean"}, + {"id": "pg.expressions.subquery.not-in.k194149a23a59", "category": "expressions:executed", "sql": "SELECT ( 1 NOT IN ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT 1 ) ) ) ) ) ) ) ) )", "type": "boolean"}, + {"id": "pg.expressions.subquery.not-in.k5aaf74787fc0", "category": "expressions:executed", "sql": "SELECT ( 1 NOT IN ( SELECT * FROM ( SELECT 1 ) ) )", "type": "boolean"}, + {"id": "pg.expressions.subquery.not-in.kceecbbea9a6b", "category": "expressions:executed", "sql": "SELECT ( 1 NOT IN ( SELECT 1 ) )", "type": "boolean"}, + {"id": "pg.expressions.subquery.row-comparison.k79c75f7e8a10", "category": "expressions:executed", "sql": "SELECT ( ROW ( 1 , 2 ) < ( SELECT 1 , 2 ) )", "type": "boolean"}, + {"id": "pg.expressions.subquery.row-comparison.k7a0582d0db8e", "category": "expressions:semantic", "sql": "SELECT ( ROW ( 1 , 2 ) < ( SELECT * FROM ( SELECT 1 ) ) )", "error": "subquery has too few columns at character 49"}, + {"id": "pg.expressions.subquery.row-comparison.kcf66c786ca37", "category": "expressions:semantic", "sql": "SELECT ( ROW ( 1 , 2 ) < ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT 1 ) ) ) ) ) ) ) ) )", "error": "subquery has too few columns at character 49"}, + {"id": "pg.expressions.subquery.some-row.k28a7f7a27016", "category": "expressions:semantic", "sql": "SELECT ( ROW ( 1 , 2 ) < SOME ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT 1 ) ) ) ) ) ) ) ) )", "error": "subquery has too few columns at character 49"}, + {"id": "pg.expressions.subquery.some-row.k7a129a2231f3", "category": "expressions:executed", "sql": "SELECT ( ROW ( 1 , 2 ) < SOME ( SELECT 1 , 2 ) )", "type": "boolean"}, + {"id": "pg.expressions.subquery.some-row.kcb7d14d63045", "category": "expressions:semantic", "sql": "SELECT ( ROW ( 1 , 2 ) < SOME ( SELECT * FROM ( SELECT 1 ) ) )", "error": "subquery has too few columns at character 49"}, + {"id": "pg.expressions.subquery.some.k20421bc61599", "category": "expressions:executed", "sql": "SELECT ( 1 < SOME ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT 1 ) ) ) ) ) ) ) ) )", "type": "boolean"}, + {"id": "pg.expressions.subquery.some.k6efd3913811f", "category": "expressions:executed", "sql": "SELECT ( 1 < SOME ( SELECT * FROM ( SELECT 1 ) ) )", "type": "boolean"}, + {"id": "pg.expressions.subquery.some.k966de1275421", "category": "expressions:executed", "sql": "SELECT ( 1 < SOME ( SELECT 1 ) )", "type": "boolean"}, + {"id": "pg.expressions.textsearch.op-amp-amp.ke85d3d3b30f2", "category": "expressions:executed", "sql": "SELECT ( TSQUERY 'a' && TSQUERY 'a' )", "type": "tsquery"}, + {"id": "pg.expressions.textsearch.op-at-at.k1dadf3a8f88f", "category": "expressions:executed", "sql": "SELECT ( TSQUERY 'a' @@ TSVECTOR 'a' )", "type": "boolean"}, + {"id": "pg.expressions.textsearch.op-at-at.k2fe898d49aec", "category": "expressions:executed", "sql": "SELECT ( 'day' @@ TSQUERY 'a' )", "type": "boolean"}, + {"id": "pg.expressions.textsearch.op-at-at.kf72e03c7b348", "category": "expressions:executed", "sql": "SELECT ( TSVECTOR 'a' @@ TSQUERY 'a' )", "type": "boolean"}, + {"id": "pg.expressions.textsearch.op-at-gt.kf9774ba23870", "category": "expressions:executed", "sql": "SELECT ( TSQUERY 'a' @> TSQUERY 'a' )", "type": "boolean"}, + {"id": "pg.expressions.textsearch.op-bang-bang.kcbf926776508", "category": "expressions:executed", "sql": "SELECT ( !! TSQUERY 'a' )", "type": "tsquery"}, + {"id": "pg.expressions.textsearch.op-bar-bar.k1d184c2dc6b2", "category": "expressions:executed", "sql": "SELECT ( TSQUERY 'a' || TSQUERY 'a' )", "type": "tsquery"}, + {"id": "pg.expressions.textsearch.op-bar-bar.k9c0a4f5ddf20", "category": "expressions:executed", "sql": "SELECT ( TSVECTOR 'a' || TSVECTOR 'a' )", "type": "tsvector"}, + {"id": "pg.expressions.textsearch.op-lt-at.k7913b570513f", "category": "expressions:executed", "sql": "SELECT ( TSQUERY 'a' <@ TSQUERY 'a' )", "type": "boolean"}, + {"id": "pg.expressions.textsearch.op-lt-minus-gt.kc190ff499c96", "category": "expressions:executed", "sql": "SELECT ( TSQUERY 'a' <-> TSQUERY 'a' )", "type": "tsquery"}, + {"id": "pg.expressions.xml.is-document.kd746f63ae021", "category": "expressions:executed", "sql": "SELECT ( XML '' IS DOCUMENT )", "type": "boolean"}, + {"id": "pg.expressions.xml.is-not-document.k465fd1d1818d", "category": "expressions:executed", "sql": "SELECT ( XML '' IS NOT DOCUMENT )", "type": "boolean"}, + {"id": "pg.functions.admin.brin-desummarize-range.k81f286a61ace", "category": "functions:runtime", "sql": "SELECT BRIN_DESUMMARIZE_RANGE ( 1 , 1 )", "error": "column \"brin_desummarize_range\" has pseudo-type void"}, + {"id": "pg.functions.admin.brin-summarize-new-values.k0f4ccddf6d3e", "category": "functions:runtime", "sql": "SELECT BRIN_SUMMARIZE_NEW_VALUES ( 1 )", "type": "integer"}, + {"id": "pg.functions.admin.brin-summarize-range.k5d06f120ac87", "category": "functions:runtime", "sql": "SELECT BRIN_SUMMARIZE_RANGE ( 1 , 1 )", "type": "integer"}, + {"id": "pg.functions.admin.current-setting.k74d99c144c65", "category": "functions:semantic", "sql": "SELECT CURRENT_SETTING ( 1 )", "error": "function current_setting(integer) does not exist at character 33"}, + {"id": "pg.functions.admin.current-setting.kde8ec55c840e", "category": "functions:semantic", "sql": "SELECT CURRENT_SETTING ( 1 , 1 )", "error": "function current_setting(integer, integer) does not exist at character 33"}, + {"id": "pg.functions.admin.gin-clean-pending-list.ke6022feec345", "category": "functions:runtime", "sql": "SELECT GIN_CLEAN_PENDING_LIST ( 1 )", "type": "bigint"}, + {"id": "pg.functions.admin.pg-advisory-lock-shared.k29cefd18d719", "category": "functions:executed", "sql": "SELECT PG_ADVISORY_LOCK_SHARED ( 1 )", "error": "column \"pg_advisory_lock_shared\" has pseudo-type void"}, + {"id": "pg.functions.admin.pg-advisory-lock-shared.k8787d5ae9cae", "category": "functions:executed", "sql": "SELECT PG_ADVISORY_LOCK_SHARED ( 1 , 1 )", "error": "column \"pg_advisory_lock_shared\" has pseudo-type void"}, + {"id": "pg.functions.admin.pg-advisory-lock.k499aa76ca26c", "category": "functions:executed", "sql": "SELECT PG_ADVISORY_LOCK ( 1 )", "error": "column \"pg_advisory_lock\" has pseudo-type void"}, + {"id": "pg.functions.admin.pg-advisory-lock.kc1f0631fc724", "category": "functions:executed", "sql": "SELECT PG_ADVISORY_LOCK ( 1 , 1 )", "error": "column \"pg_advisory_lock\" has pseudo-type void"}, + {"id": "pg.functions.admin.pg-advisory-unlock-all.k020801694f4f", "category": "functions:executed", "sql": "SELECT PG_ADVISORY_UNLOCK_ALL ( )", "error": "column \"pg_advisory_unlock_all\" has pseudo-type void"}, + {"id": "pg.functions.admin.pg-advisory-unlock-shared.k9d3a256d1db4", "category": "functions:executed", "sql": "SELECT PG_ADVISORY_UNLOCK_SHARED ( 1 , 1 )", "type": "boolean"}, + {"id": "pg.functions.admin.pg-advisory-unlock-shared.kdafb56a549c2", "category": "functions:executed", "sql": "SELECT PG_ADVISORY_UNLOCK_SHARED ( 1 )", "type": "boolean"}, + {"id": "pg.functions.admin.pg-advisory-unlock.k0fb28e291cc4", "category": "functions:executed", "sql": "SELECT PG_ADVISORY_UNLOCK ( 1 )", "type": "boolean"}, + {"id": "pg.functions.admin.pg-advisory-unlock.k543fc2147922", "category": "functions:executed", "sql": "SELECT PG_ADVISORY_UNLOCK ( 1 , 1 )", "type": "boolean"}, + {"id": "pg.functions.admin.pg-advisory-xact-lock-shared.k0e3f82f2be6c", "category": "functions:executed", "sql": "SELECT PG_ADVISORY_XACT_LOCK_SHARED ( 1 )", "error": "column \"pg_advisory_xact_lock_shared\" has pseudo-type void"}, + {"id": "pg.functions.admin.pg-advisory-xact-lock-shared.kd173a16e7e0f", "category": "functions:executed", "sql": "SELECT PG_ADVISORY_XACT_LOCK_SHARED ( 1 , 1 )", "error": "column \"pg_advisory_xact_lock_shared\" has pseudo-type void"}, + {"id": "pg.functions.admin.pg-advisory-xact-lock.k98f7439eabd4", "category": "functions:executed", "sql": "SELECT PG_ADVISORY_XACT_LOCK ( 1 , 1 )", "error": "column \"pg_advisory_xact_lock\" has pseudo-type void"}, + {"id": "pg.functions.admin.pg-advisory-xact-lock.keed8c6f9df9c", "category": "functions:executed", "sql": "SELECT PG_ADVISORY_XACT_LOCK ( 1 )", "error": "column \"pg_advisory_xact_lock\" has pseudo-type void"}, + {"id": "pg.functions.admin.pg-backup-start.k652b710e36de", "category": "functions:semantic", "sql": "SELECT PG_BACKUP_START ( 1 , 1 )", "error": "function pg_backup_start(integer, integer) does not exist at character 33"}, + {"id": "pg.functions.admin.pg-backup-start.k69e82209f232", "category": "functions:semantic", "sql": "SELECT PG_BACKUP_START ( 1 )", "error": "function pg_backup_start(integer) does not exist at character 33"}, + {"id": "pg.functions.admin.pg-backup-stop.k950cb9b4eada", "category": "functions:semantic", "sql": "SELECT PG_BACKUP_STOP ( 1 )", "error": "function pg_backup_stop(integer) does not exist at character 33"}, + {"id": "pg.functions.admin.pg-backup-stop.ke07441f53f5e", "category": "functions:runtime", "sql": "SELECT PG_BACKUP_STOP ( )", "error": "column \"pg_backup_stop\" has pseudo-type record"}, + {"id": "pg.functions.admin.pg-cancel-backend.kf08e00501f73", "category": "functions:executed", "sql": "SELECT PG_CANCEL_BACKEND ( 1 )", "type": "boolean"}, + {"id": "pg.functions.admin.pg-clear-attribute-stats.k907aa1a2540c", "category": "functions:semantic", "sql": "SELECT PG_CLEAR_ATTRIBUTE_STATS ( 1 , 1 , 1 , 1 )", "error": "function pg_clear_attribute_stats(integer, integer, integer, integer) does not exist at character 33"}, + {"id": "pg.functions.admin.pg-clear-relation-stats.k40e8c9b7069c", "category": "functions:semantic", "sql": "SELECT PG_CLEAR_RELATION_STATS ( 1 , 1 )", "error": "function pg_clear_relation_stats(integer, integer) does not exist at character 33"}, + {"id": "pg.functions.admin.pg-collation-actual-version.ke21d37c5205d", "category": "functions:semantic", "sql": "SELECT PG_COLLATION_ACTUAL_VERSION ( v1 )", "error": "column \"v1\" does not exist at character 63"}, + {"id": "pg.functions.admin.pg-column-compression.k36d76a5ce3ce", "category": "functions:executed", "sql": "SELECT PG_COLUMN_COMPRESSION ( 1 )", "type": "text"}, + {"id": "pg.functions.admin.pg-column-size.k36b6e68414ac", "category": "functions:executed", "sql": "SELECT PG_COLUMN_SIZE ( 1 )", "type": "integer"}, + {"id": "pg.functions.admin.pg-column-toast-chunk-id.kb91c7e95b874", "category": "functions:executed", "sql": "SELECT PG_COLUMN_TOAST_CHUNK_ID ( 1 )", "type": "oid"}, + {"id": "pg.functions.admin.pg-copy-logical-replication-slot.k022aeedb8c8b", "category": "functions:semantic", "sql": "SELECT PG_COPY_LOGICAL_REPLICATION_SLOT ( 1 , 1 , 1 )", "error": "function pg_copy_logical_replication_slot(integer, integer, integer) does not exist at character 33"}, + {"id": "pg.functions.admin.pg-copy-logical-replication-slot.k543848657e86", "category": "functions:semantic", "sql": "SELECT PG_COPY_LOGICAL_REPLICATION_SLOT ( 1 , 1 )", "error": "function pg_copy_logical_replication_slot(integer, integer) does not exist at character 33"}, + {"id": "pg.functions.admin.pg-copy-logical-replication-slot.kcb75747224bd", "category": "functions:semantic", "sql": "SELECT PG_COPY_LOGICAL_REPLICATION_SLOT ( 1 , 1 , 1 , 1 )", "error": "function pg_copy_logical_replication_slot(integer, integer, integer, integer) does not exist at character 33"}, + {"id": "pg.functions.admin.pg-copy-physical-replication-slot.ka6f8904ce6a6", "category": "functions:semantic", "sql": "SELECT PG_COPY_PHYSICAL_REPLICATION_SLOT ( 1 , 1 )", "error": "function pg_copy_physical_replication_slot(integer, integer) does not exist at character 33"}, + {"id": "pg.functions.admin.pg-copy-physical-replication-slot.kec8b9084c2fa", "category": "functions:semantic", "sql": "SELECT PG_COPY_PHYSICAL_REPLICATION_SLOT ( 1 , 1 , 1 )", "error": "function pg_copy_physical_replication_slot(integer, integer, integer) does not exist at character 33"}, + {"id": "pg.functions.admin.pg-create-logical-replication-slot.k3f7e1dd73e25", "category": "functions:semantic", "sql": "SELECT PG_CREATE_LOGICAL_REPLICATION_SLOT ( 1 , 1 )", "error": "function pg_create_logical_replication_slot(integer, integer) does not exist at character 33"}, + {"id": "pg.functions.admin.pg-create-logical-replication-slot.kf926fc98ff3f", "category": "functions:semantic", "sql": "SELECT PG_CREATE_LOGICAL_REPLICATION_SLOT ( 1 , 1 , 1 , 1 , 1 )", "error": "function pg_create_logical_replication_slot(integer, integer, integer, integer, integer) does not exist at character 33"}, + {"id": "pg.functions.admin.pg-create-physical-replication-slot.k4d5d94d5f600", "category": "functions:semantic", "sql": "SELECT PG_CREATE_PHYSICAL_REPLICATION_SLOT ( 1 )", "error": "function pg_create_physical_replication_slot(integer) does not exist at character 33"}, + {"id": "pg.functions.admin.pg-create-physical-replication-slot.kff1b957a01dd", "category": "functions:semantic", "sql": "SELECT PG_CREATE_PHYSICAL_REPLICATION_SLOT ( 1 , 1 , 1 )", "error": "function pg_create_physical_replication_slot(integer, integer, integer) does not exist at character 33"}, + {"id": "pg.functions.admin.pg-create-restore-point.k9443e6f3e6fa", "category": "functions:semantic", "sql": "SELECT PG_CREATE_RESTORE_POINT ( 1 )", "error": "function pg_create_restore_point(integer) does not exist at character 33"}, + {"id": "pg.functions.admin.pg-current-wal-flush-lsn.k0de9c25023bb", "category": "functions:executed", "sql": "SELECT PG_CURRENT_WAL_FLUSH_LSN ( )", "type": "pg_lsn"}, + {"id": "pg.functions.admin.pg-current-wal-insert-lsn.k01ef1ce89120", "category": "functions:executed", "sql": "SELECT PG_CURRENT_WAL_INSERT_LSN ( )", "type": "pg_lsn"}, + {"id": "pg.functions.admin.pg-current-wal-lsn.k385afe733892", "category": "functions:executed", "sql": "SELECT PG_CURRENT_WAL_LSN ( )", "type": "pg_lsn"}, + {"id": "pg.functions.admin.pg-database-collation-actual-version.k0a801d58b9b9", "category": "functions:semantic", "sql": "SELECT PG_DATABASE_COLLATION_ACTUAL_VERSION ( v1 )", "error": "column \"v1\" does not exist at character 72"}, + {"id": "pg.functions.admin.pg-database-size.k448c92d1eb0a", "category": "functions:semantic", "sql": "SELECT PG_DATABASE_SIZE ( t1 )", "error": "column \"t1\" does not exist at character 52"}, + {"id": "pg.functions.admin.pg-database-size.k548ed7c5f190", "category": "functions:semantic", "sql": "SELECT PG_DATABASE_SIZE ( \"t1 Q\" )", "error": "column \"t1 Q\" does not exist at character 52"}, + {"id": "pg.functions.admin.pg-database-size.k6d0082656826", "category": "functions:semantic", "sql": "SELECT PG_DATABASE_SIZE ( \"SELECT\" )", "error": "column \"SELECT\" does not exist at character 52"}, + {"id": "pg.functions.admin.pg-database-size.k7cb6a477aef7", "category": "functions:semantic", "sql": "SELECT PG_DATABASE_SIZE ( v1 )", "error": "column \"v1\" does not exist at character 52"}, + {"id": "pg.functions.admin.pg-drop-replication-slot.k878dfe9ba57e", "category": "functions:semantic", "sql": "SELECT PG_DROP_REPLICATION_SLOT ( 1 )", "error": "function pg_drop_replication_slot(integer) does not exist at character 33"}, + {"id": "pg.functions.admin.pg-export-snapshot.k72d5dc73cef0", "category": "functions:executed", "sql": "SELECT PG_EXPORT_SNAPSHOT ( )", "type": "text"}, + {"id": "pg.functions.admin.pg-filenode-relation.k78438adbb671", "category": "functions:executed", "sql": "SELECT PG_FILENODE_RELATION ( 1 , 1 )", "type": "regclass"}, + {"id": "pg.functions.admin.pg-get-wal-replay-pause-state.k74bbf631aa98", "category": "functions:runtime", "sql": "SELECT PG_GET_WAL_REPLAY_PAUSE_STATE ( )", "type": "text"}, + {"id": "pg.functions.admin.pg-get-wal-resource-managers.k3bb8f7cbbe50", "category": "functions:executed", "sql": "SELECT PG_GET_WAL_RESOURCE_MANAGERS ( )", "error": "column \"pg_get_wal_resource_managers\" has pseudo-type record"}, + {"id": "pg.functions.admin.pg-import-system-collations.k200949b708ef", "category": "functions:semantic", "sql": "SELECT PG_IMPORT_SYSTEM_COLLATIONS ( 1 )", "type": "integer"}, + {"id": "pg.functions.admin.pg-indexes-size.k1f0ef7b235aa", "category": "functions:semantic", "sql": "SELECT PG_INDEXES_SIZE ( v1 )", "error": "column \"v1\" does not exist at character 51"}, + {"id": "pg.functions.admin.pg-is-in-recovery.kb3b294330ccb", "category": "functions:executed", "sql": "SELECT PG_IS_IN_RECOVERY ( )", "type": "boolean"}, + {"id": "pg.functions.admin.pg-is-wal-replay-paused.k79fc9a02cf6f", "category": "functions:runtime", "sql": "SELECT PG_IS_WAL_REPLAY_PAUSED ( )", "type": "boolean"}, + {"id": "pg.functions.admin.pg-last-wal-receive-lsn.k3a25ac566cc4", "category": "functions:executed", "sql": "SELECT PG_LAST_WAL_RECEIVE_LSN ( )", "type": "pg_lsn"}, + {"id": "pg.functions.admin.pg-last-wal-replay-lsn.k04197cccdf4e", "category": "functions:executed", "sql": "SELECT PG_LAST_WAL_REPLAY_LSN ( )", "type": "pg_lsn"}, + {"id": "pg.functions.admin.pg-last-xact-replay-timestamp.k8ef90dc438fc", "category": "functions:executed", "sql": "SELECT PG_LAST_XACT_REPLAY_TIMESTAMP ( )", "type": "timestamp with time zone"}, + {"id": "pg.functions.admin.pg-log-backend-memory-contexts.k76185796e30a", "category": "functions:executed", "sql": "SELECT PG_LOG_BACKEND_MEMORY_CONTEXTS ( 1 )", "type": "boolean"}, + {"id": "pg.functions.admin.pg-log-standby-snapshot.kafd73fd2067f", "category": "functions:executed", "sql": "SELECT PG_LOG_STANDBY_SNAPSHOT ( )", "type": "pg_lsn"}, + {"id": "pg.functions.admin.pg-logical-emit-message.k4c51fc592a2f", "category": "functions:semantic", "sql": "SELECT PG_LOGICAL_EMIT_MESSAGE ( 1 , 1 , 1 )", "error": "function pg_logical_emit_message(integer, integer, integer) does not exist at character 33"}, + {"id": "pg.functions.admin.pg-logical-emit-message.kba5ac08ce50e", "category": "functions:semantic", "sql": "SELECT PG_LOGICAL_EMIT_MESSAGE ( 1 , 1 , 1 , 1 )", "error": "function pg_logical_emit_message(integer, integer, integer, integer) does not exist at character 33"}, + {"id": "pg.functions.admin.pg-logical-slot-get-binary-changes.kd5b8f6d0617f", "category": "functions:semantic", "sql": "SELECT PG_LOGICAL_SLOT_GET_BINARY_CHANGES ( 1 , 1 , 1 , VARIADIC 1 )", "error": "function pg_logical_slot_get_binary_changes(integer, integer, integer, integer) does not exist at character 33"}, + {"id": "pg.functions.admin.pg-logical-slot-get-changes.k5f530a2f1a48", "category": "functions:semantic", "sql": "SELECT PG_LOGICAL_SLOT_GET_CHANGES ( 1 , 1 , 1 , VARIADIC 1 )", "error": "function pg_logical_slot_get_changes(integer, integer, integer, integer) does not exist at character 33"}, + {"id": "pg.functions.admin.pg-logical-slot-peek-binary-changes.kccb2c15ffcbd", "category": "functions:semantic", "sql": "SELECT PG_LOGICAL_SLOT_PEEK_BINARY_CHANGES ( 1 , 1 , 1 , VARIADIC 1 )", "error": "function pg_logical_slot_peek_binary_changes(integer, integer, integer, integer) does not exist at character 33"}, + {"id": "pg.functions.admin.pg-logical-slot-peek-changes.k2923c67ee2c0", "category": "functions:semantic", "sql": "SELECT PG_LOGICAL_SLOT_PEEK_CHANGES ( 1 , 1 , 1 , VARIADIC 1 )", "error": "function pg_logical_slot_peek_changes(integer, integer, integer, integer) does not exist at character 33"}, + {"id": "pg.functions.admin.pg-ls-archive-statusdir.k90284090bf72", "category": "functions:executed", "sql": "SELECT PG_LS_ARCHIVE_STATUSDIR ( )", "error": "column \"pg_ls_archive_statusdir\" has pseudo-type record"}, + {"id": "pg.functions.admin.pg-ls-dir.k652275569113", "category": "functions:semantic", "sql": "SELECT PG_LS_DIR ( 1 , 1 , 1 )", "error": "function pg_ls_dir(integer, integer, integer) does not exist at character 33"}, + {"id": "pg.functions.admin.pg-ls-dir.kf1b6b71d93c3", "category": "functions:semantic", "sql": "SELECT PG_LS_DIR ( 1 )", "error": "function pg_ls_dir(integer) does not exist at character 33"}, + {"id": "pg.functions.admin.pg-ls-logdir.k6719b413245c", "category": "functions:runtime", "sql": "SELECT PG_LS_LOGDIR ( )", "error": "column \"pg_ls_logdir\" has pseudo-type record"}, + {"id": "pg.functions.admin.pg-ls-logicalmapdir.k52a2c8ff0176", "category": "functions:executed", "sql": "SELECT PG_LS_LOGICALMAPDIR ( )", "error": "column \"pg_ls_logicalmapdir\" has pseudo-type record"}, + {"id": "pg.functions.admin.pg-ls-logicalsnapdir.kdf9f51579b28", "category": "functions:executed", "sql": "SELECT PG_LS_LOGICALSNAPDIR ( )", "error": "column \"pg_ls_logicalsnapdir\" has pseudo-type record"}, + {"id": "pg.functions.admin.pg-ls-replslotdir.k9a9d94e8c1bb", "category": "functions:semantic", "sql": "SELECT PG_LS_REPLSLOTDIR ( 1 )", "error": "function pg_ls_replslotdir(integer) does not exist at character 33"}, + {"id": "pg.functions.admin.pg-ls-summariesdir.ke004d5620c33", "category": "functions:executed", "sql": "SELECT PG_LS_SUMMARIESDIR ( )", "error": "column \"pg_ls_summariesdir\" has pseudo-type record"}, + {"id": "pg.functions.admin.pg-ls-tmpdir.kd2397434a151", "category": "functions:executed", "sql": "SELECT PG_LS_TMPDIR ( )", "error": "column \"pg_ls_tmpdir\" has pseudo-type record"}, + {"id": "pg.functions.admin.pg-ls-tmpdir.ke1ada78c8771", "category": "functions:semantic", "sql": "SELECT PG_LS_TMPDIR ( 1 )", "error": "column \"pg_ls_tmpdir\" has pseudo-type record"}, + {"id": "pg.functions.admin.pg-ls-waldir.k4127f96a301a", "category": "functions:executed", "sql": "SELECT PG_LS_WALDIR ( )", "error": "column \"pg_ls_waldir\" has pseudo-type record"}, + {"id": "pg.functions.admin.pg-partition-ancestors.k6321e20aa9d6", "category": "functions:semantic", "sql": "SELECT PG_PARTITION_ANCESTORS ( v1 )", "error": "column \"v1\" does not exist at character 58"}, + {"id": "pg.functions.admin.pg-partition-root.k80891341dd25", "category": "functions:semantic", "sql": "SELECT PG_PARTITION_ROOT ( v1 )", "error": "column \"v1\" does not exist at character 53"}, + {"id": "pg.functions.admin.pg-partition-tree.k8e96ef49195d", "category": "functions:semantic", "sql": "SELECT PG_PARTITION_TREE ( v1 )", "error": "column \"v1\" does not exist at character 53"}, + {"id": "pg.functions.admin.pg-promote.k03d917287715", "category": "functions:semantic", "sql": "SELECT PG_PROMOTE ( 1 )", "error": "function pg_promote(integer) does not exist at character 33"}, + {"id": "pg.functions.admin.pg-promote.kcdd8dc017b27", "category": "functions:runtime", "sql": "SELECT PG_PROMOTE ( )", "type": "boolean"}, + {"id": "pg.functions.admin.pg-promote.kf1d551d83340", "category": "functions:semantic", "sql": "SELECT PG_PROMOTE ( 1 , 1 )", "error": "function pg_promote(integer, integer) does not exist at character 33"}, + {"id": "pg.functions.admin.pg-read-binary-file.k0f4b320b3801", "category": "functions:semantic", "sql": "SELECT PG_READ_BINARY_FILE ( 1 )", "error": "function pg_read_binary_file(integer) does not exist at character 33"}, + {"id": "pg.functions.admin.pg-read-binary-file.k6375fbe6dd36", "category": "functions:semantic", "sql": "SELECT PG_READ_BINARY_FILE ( 1 , 1 , 1 , 1 )", "error": "function pg_read_binary_file(integer, integer, integer, integer) does not exist at character 33"}, + {"id": "pg.functions.admin.pg-read-file.k1bec593a063b", "category": "functions:semantic", "sql": "SELECT PG_READ_FILE ( 1 , 1 , 1 , 1 )", "error": "function pg_read_file(integer, integer, integer, integer) does not exist at character 33"}, + {"id": "pg.functions.admin.pg-read-file.k80fc5516e27e", "category": "functions:semantic", "sql": "SELECT PG_READ_FILE ( 1 )", "error": "function pg_read_file(integer) does not exist at character 33"}, + {"id": "pg.functions.admin.pg-relation-filenode.k738cea9c3c59", "category": "functions:executed", "sql": "SELECT PG_RELATION_FILENODE ( 1 )", "type": "oid"}, + {"id": "pg.functions.admin.pg-relation-filepath.kd24b1a8727cb", "category": "functions:executed", "sql": "SELECT PG_RELATION_FILEPATH ( 1 )", "type": "text"}, + {"id": "pg.functions.admin.pg-relation-size.k055497473d36", "category": "functions:semantic", "sql": "SELECT PG_RELATION_SIZE ( 1 , 1 )", "error": "function pg_relation_size(integer, integer) does not exist at character 33"}, + {"id": "pg.functions.admin.pg-relation-size.k504421837289", "category": "functions:executed", "sql": "SELECT PG_RELATION_SIZE ( 1 )", "type": "bigint"}, + {"id": "pg.functions.admin.pg-reload-conf.k77e9c02d3f30", "category": "functions:executed", "sql": "SELECT PG_RELOAD_CONF ( )", "type": "boolean"}, + {"id": "pg.functions.admin.pg-replication-origin-advance.k3fcd78057d86", "category": "functions:semantic", "sql": "SELECT PG_REPLICATION_ORIGIN_ADVANCE ( 1 , 1 )", "error": "function pg_replication_origin_advance(integer, integer) does not exist at character 33"}, + {"id": "pg.functions.admin.pg-replication-origin-create.ka2bcc85b18a4", "category": "functions:semantic", "sql": "SELECT PG_REPLICATION_ORIGIN_CREATE ( 1 )", "error": "function pg_replication_origin_create(integer) does not exist at character 33"}, + {"id": "pg.functions.admin.pg-replication-origin-drop.ka7a5f946f2b1", "category": "functions:semantic", "sql": "SELECT PG_REPLICATION_ORIGIN_DROP ( 1 )", "error": "function pg_replication_origin_drop(integer) does not exist at character 33"}, + {"id": "pg.functions.admin.pg-replication-origin-oid.kb582afac4055", "category": "functions:semantic", "sql": "SELECT PG_REPLICATION_ORIGIN_OID ( 1 )", "error": "function pg_replication_origin_oid(integer) does not exist at character 33"}, + {"id": "pg.functions.admin.pg-replication-origin-progress.kfc947e64480a", "category": "functions:semantic", "sql": "SELECT PG_REPLICATION_ORIGIN_PROGRESS ( 1 , 1 )", "error": "function pg_replication_origin_progress(integer, integer) does not exist at character 33"}, + {"id": "pg.functions.admin.pg-replication-origin-session-is-setup.k5b4f332e598d", "category": "functions:executed", "sql": "SELECT PG_REPLICATION_ORIGIN_SESSION_IS_SETUP ( )", "type": "boolean"}, + {"id": "pg.functions.admin.pg-replication-origin-session-progress.k2afeb641a276", "category": "functions:semantic", "sql": "SELECT PG_REPLICATION_ORIGIN_SESSION_PROGRESS ( 1 )", "error": "function pg_replication_origin_session_progress(integer) does not exist at character 33"}, + {"id": "pg.functions.admin.pg-replication-origin-session-reset.ka774f08ab655", "category": "functions:runtime", "sql": "SELECT PG_REPLICATION_ORIGIN_SESSION_RESET ( )", "error": "column \"pg_replication_origin_session_reset\" has pseudo-type void"}, + {"id": "pg.functions.admin.pg-replication-origin-session-setup.k4b142c0946cf", "category": "functions:semantic", "sql": "SELECT PG_REPLICATION_ORIGIN_SESSION_SETUP ( 1 )", "error": "function pg_replication_origin_session_setup(integer) does not exist at character 33"}, + {"id": "pg.functions.admin.pg-replication-origin-xact-reset.k5988cfa423ca", "category": "functions:executed", "sql": "SELECT PG_REPLICATION_ORIGIN_XACT_RESET ( )", "error": "column \"pg_replication_origin_xact_reset\" has pseudo-type void"}, + {"id": "pg.functions.admin.pg-replication-origin-xact-setup.k25d6efb9b793", "category": "functions:semantic", "sql": "SELECT PG_REPLICATION_ORIGIN_XACT_SETUP ( 1 , 1 )", "error": "function pg_replication_origin_xact_setup(integer, integer) does not exist at character 33"}, + {"id": "pg.functions.admin.pg-replication-slot-advance.kf8e481805f4d", "category": "functions:semantic", "sql": "SELECT PG_REPLICATION_SLOT_ADVANCE ( 1 , 1 )", "error": "function pg_replication_slot_advance(integer, integer) does not exist at character 33"}, + {"id": "pg.functions.admin.pg-restore-attribute-stats.k9d36846c145d", "category": "functions:semantic", "sql": "SELECT PG_RESTORE_ATTRIBUTE_STATS ( VARIADIC 1 )", "error": "VARIADIC argument must be an array at character 71"}, + {"id": "pg.functions.admin.pg-restore-relation-stats.kc9d4ca88828c", "category": "functions:semantic", "sql": "SELECT PG_RESTORE_RELATION_STATS ( VARIADIC 1 )", "error": "VARIADIC argument must be an array at character 70"}, + {"id": "pg.functions.admin.pg-rotate-logfile.k5a2e050dae44", "category": "functions:executed", "sql": "SELECT PG_ROTATE_LOGFILE ( )", "type": "boolean"}, + {"id": "pg.functions.admin.pg-size-bytes.k13cbf89c3e86", "category": "functions:runtime", "sql": "SELECT PG_SIZE_BYTES ( 'day' )", "type": "bigint"}, + {"id": "pg.functions.admin.pg-size-pretty.k22e8116dc270", "category": "functions:semantic", "sql": "SELECT PG_SIZE_PRETTY ( 1 )", "error": "function pg_size_pretty(integer) is not unique at character 33"}, + {"id": "pg.functions.admin.pg-size-pretty.k73089aec08d6", "category": "functions:executed", "sql": "SELECT PG_SIZE_PRETTY ( 1.5 )", "type": "text"}, + {"id": "pg.functions.admin.pg-split-walfile-name.k4427a872ea5a", "category": "functions:semantic", "sql": "SELECT PG_SPLIT_WALFILE_NAME ( 1 )", "error": "function pg_split_walfile_name(integer) does not exist at character 33"}, + {"id": "pg.functions.admin.pg-stat-file.k82ceb46ef7f1", "category": "functions:semantic", "sql": "SELECT PG_STAT_FILE ( 1 )", "error": "function pg_stat_file(integer) does not exist at character 33"}, + {"id": "pg.functions.admin.pg-stat-file.kd70f90b76252", "category": "functions:semantic", "sql": "SELECT PG_STAT_FILE ( 1 , 1 )", "error": "function pg_stat_file(integer, integer) does not exist at character 33"}, + {"id": "pg.functions.admin.pg-switch-wal.k453ae02d619e", "category": "functions:executed", "sql": "SELECT PG_SWITCH_WAL ( )", "type": "pg_lsn"}, + {"id": "pg.functions.admin.pg-sync-replication-slots.k86dd715467b7", "category": "functions:runtime", "sql": "SELECT PG_SYNC_REPLICATION_SLOTS ( )", "error": "column \"pg_sync_replication_slots\" has pseudo-type void"}, + {"id": "pg.functions.admin.pg-table-size.k4fd5533d0d64", "category": "functions:semantic", "sql": "SELECT PG_TABLE_SIZE ( v1 )", "error": "column \"v1\" does not exist at character 49"}, + {"id": "pg.functions.admin.pg-tablespace-size.k454c98fceda1", "category": "functions:semantic", "sql": "SELECT PG_TABLESPACE_SIZE ( \"SELECT\" )", "error": "column \"SELECT\" does not exist at character 54"}, + {"id": "pg.functions.admin.pg-tablespace-size.k5216ca36174f", "category": "functions:semantic", "sql": "SELECT PG_TABLESPACE_SIZE ( v1 )", "error": "column \"v1\" does not exist at character 54"}, + {"id": "pg.functions.admin.pg-tablespace-size.k61d009921bd0", "category": "functions:semantic", "sql": "SELECT PG_TABLESPACE_SIZE ( \"t1 Q\" )", "error": "column \"t1 Q\" does not exist at character 54"}, + {"id": "pg.functions.admin.pg-tablespace-size.k9e42d8d1567b", "category": "functions:semantic", "sql": "SELECT PG_TABLESPACE_SIZE ( t1 )", "error": "column \"t1\" does not exist at character 54"}, + {"id": "pg.functions.admin.pg-terminate-backend.k82b775a0ebbb", "category": "functions:executed", "sql": "SELECT PG_TERMINATE_BACKEND ( 1 )", "type": "boolean"}, + {"id": "pg.functions.admin.pg-terminate-backend.kb5c4c35dd915", "category": "functions:executed", "sql": "SELECT PG_TERMINATE_BACKEND ( 1 , 1 )", "type": "boolean"}, + {"id": "pg.functions.admin.pg-total-relation-size.k8db3e90efaee", "category": "functions:semantic", "sql": "SELECT PG_TOTAL_RELATION_SIZE ( v1 )", "error": "column \"v1\" does not exist at character 58"}, + {"id": "pg.functions.admin.pg-try-advisory-lock-shared.k4120cdbbd1a9", "category": "functions:executed", "sql": "SELECT PG_TRY_ADVISORY_LOCK_SHARED ( 1 )", "type": "boolean"}, + {"id": "pg.functions.admin.pg-try-advisory-lock-shared.k897d625cd2bb", "category": "functions:executed", "sql": "SELECT PG_TRY_ADVISORY_LOCK_SHARED ( 1 , 1 )", "type": "boolean"}, + {"id": "pg.functions.admin.pg-try-advisory-lock.k093f07673b0c", "category": "functions:executed", "sql": "SELECT PG_TRY_ADVISORY_LOCK ( 1 )", "type": "boolean"}, + {"id": "pg.functions.admin.pg-try-advisory-lock.k68174169b582", "category": "functions:executed", "sql": "SELECT PG_TRY_ADVISORY_LOCK ( 1 , 1 )", "type": "boolean"}, + {"id": "pg.functions.admin.pg-try-advisory-xact-lock-shared.k5a967c778e15", "category": "functions:executed", "sql": "SELECT PG_TRY_ADVISORY_XACT_LOCK_SHARED ( 1 , 1 )", "type": "boolean"}, + {"id": "pg.functions.admin.pg-try-advisory-xact-lock-shared.kcaf8f528b512", "category": "functions:executed", "sql": "SELECT PG_TRY_ADVISORY_XACT_LOCK_SHARED ( 1 )", "type": "boolean"}, + {"id": "pg.functions.admin.pg-try-advisory-xact-lock.k097e082b6edd", "category": "functions:executed", "sql": "SELECT PG_TRY_ADVISORY_XACT_LOCK ( 1 )", "type": "boolean"}, + {"id": "pg.functions.admin.pg-try-advisory-xact-lock.k9225bdcd132e", "category": "functions:executed", "sql": "SELECT PG_TRY_ADVISORY_XACT_LOCK ( 1 , 1 )", "type": "boolean"}, + {"id": "pg.functions.admin.pg-wal-lsn-diff.k2a0b98db5e43", "category": "functions:semantic", "sql": "SELECT PG_WAL_LSN_DIFF ( 1 , 1 )", "error": "function pg_wal_lsn_diff(integer, integer) does not exist at character 33"}, + {"id": "pg.functions.admin.pg-wal-replay-pause.k6a0429cb7bc5", "category": "functions:runtime", "sql": "SELECT PG_WAL_REPLAY_PAUSE ( )", "error": "column \"pg_wal_replay_pause\" has pseudo-type void"}, + {"id": "pg.functions.admin.pg-wal-replay-resume.kd89e5b78b6f0", "category": "functions:runtime", "sql": "SELECT PG_WAL_REPLAY_RESUME ( )", "error": "column \"pg_wal_replay_resume\" has pseudo-type void"}, + {"id": "pg.functions.admin.pg-walfile-name-offset.k0265e1999b69", "category": "functions:semantic", "sql": "SELECT PG_WALFILE_NAME_OFFSET ( 1 )", "error": "function pg_walfile_name_offset(integer) does not exist at character 33"}, + {"id": "pg.functions.admin.pg-walfile-name.kd494f266c907", "category": "functions:semantic", "sql": "SELECT PG_WALFILE_NAME ( 1 )", "error": "function pg_walfile_name(integer) does not exist at character 33"}, + {"id": "pg.functions.admin.set-config.k7e3b8d41d33b", "category": "functions:semantic", "sql": "SELECT SET_CONFIG ( 1 , 1 , 1 )", "error": "function set_config(integer, integer, integer) does not exist at character 33"}, + {"id": "pg.functions.aggregate.any-value.k72155d36f640", "category": "functions:executed", "sql": "SELECT ANY_VALUE ( 1 )", "type": "integer"}, + {"id": "pg.functions.aggregate.array-agg-order-by.k10e4368009c6", "category": "functions:semantic", "sql": "SELECT ARRAY_AGG ( ARRAY [ 1 ] ORDER BY INPUT_SORT_COLUMNS )", "error": "column \"input_sort_columns\" does not exist at character 66"}, + {"id": "pg.functions.aggregate.array-agg-order-by.k3e42e3cea1f5", "category": "functions:semantic", "sql": "SELECT ARRAY_AGG ( 1 ORDER BY INPUT_SORT_COLUMNS )", "error": "column \"input_sort_columns\" does not exist at character 56"}, + {"id": "pg.functions.aggregate.avg.k00e9bb4dc3f8", "category": "functions:executed", "sql": "SELECT AVG ( INTERVAL '1 day' )", "type": "interval"}, + {"id": "pg.functions.aggregate.avg.k1d26901c1c7c", "category": "functions:executed", "sql": "SELECT AVG ( 1 )", "type": "numeric"}, + {"id": "pg.functions.aggregate.avg.kf34a2e825713", "category": "functions:executed", "sql": "SELECT AVG ( 1.5 )", "type": "numeric"}, + {"id": "pg.functions.aggregate.bit-and.k550b3aa15ad0", "category": "functions:executed", "sql": "SELECT BIT_AND ( 1 )", "type": "integer"}, + {"id": "pg.functions.aggregate.bit-and.kcdf8f66254d0", "category": "functions:executed", "sql": "SELECT BIT_AND ( B'101' )", "type": "\"bit\""}, + {"id": "pg.functions.aggregate.bit-or.k248e9604c35e", "category": "functions:executed", "sql": "SELECT BIT_OR ( 1 )", "type": "integer"}, + {"id": "pg.functions.aggregate.bit-or.ka5c78b2333bc", "category": "functions:executed", "sql": "SELECT BIT_OR ( B'101' )", "type": "\"bit\""}, + {"id": "pg.functions.aggregate.bit-xor.k9b6b994ec18f", "category": "functions:executed", "sql": "SELECT BIT_XOR ( 1 )", "type": "integer"}, + {"id": "pg.functions.aggregate.bit-xor.kb45eb88901fc", "category": "functions:executed", "sql": "SELECT BIT_XOR ( B'101' )", "type": "\"bit\""}, + {"id": "pg.functions.aggregate.bool-and.k42319ef6c951", "category": "functions:executed", "sql": "SELECT BOOL_AND ( TRUE )", "type": "boolean"}, + {"id": "pg.functions.aggregate.bool-or.k049025218d6d", "category": "functions:executed", "sql": "SELECT BOOL_OR ( TRUE )", "type": "boolean"}, + {"id": "pg.functions.aggregate.corr.ka553143a127f", "category": "functions:executed", "sql": "SELECT CORR ( 1 , 1 )", "type": "double precision"}, + {"id": "pg.functions.aggregate.count.k35b7d19f002b", "category": "functions:executed", "sql": "SELECT COUNT ( 1 )", "type": "bigint"}, + {"id": "pg.functions.aggregate.count.k45d7d9598dd8", "category": "functions:executed", "sql": "SELECT COUNT ( * )", "type": "bigint"}, + {"id": "pg.functions.aggregate.covar-pop.kd29f1addd988", "category": "functions:executed", "sql": "SELECT COVAR_POP ( 1 , 1 )", "type": "double precision"}, + {"id": "pg.functions.aggregate.covar-samp.kcb4f6e939c96", "category": "functions:executed", "sql": "SELECT COVAR_SAMP ( 1 , 1 )", "type": "double precision"}, + {"id": "pg.functions.aggregate.cume-dist-within-group-order-by.k7aba49d43435", "category": "functions:semantic", "sql": "SELECT CUME_DIST ( v1 ) WITHIN GROUP ( ORDER BY v1 )", "error": "column \"v1\" does not exist at character 45"}, + {"id": "pg.functions.aggregate.dense-rank-within-group-order-by.kca338ff016fb", "category": "functions:semantic", "sql": "SELECT DENSE_RANK ( v1 ) WITHIN GROUP ( ORDER BY v1 )", "error": "column \"v1\" does not exist at character 46"}, + {"id": "pg.functions.aggregate.every.k66cd5b89a508", "category": "functions:executed", "sql": "SELECT EVERY ( TRUE )", "type": "boolean"}, + {"id": "pg.functions.aggregate.grouping.k0ee1f9f0dd5a", "category": "functions:semantic", "sql": "SELECT GROUPING ( 1 )", "error": "arguments to GROUPING must be grouping expressions of the associated query level at character 44"}, + {"id": "pg.functions.aggregate.json-agg-order-by.k5453d0768730", "category": "functions:semantic", "sql": "SELECT JSON_AGG ( 1 ORDER BY INPUT_SORT_COLUMNS )", "error": "column \"input_sort_columns\" does not exist at character 55"}, + {"id": "pg.functions.aggregate.json-agg-strict.k3accca858ff8", "category": "functions:executed", "sql": "SELECT JSON_AGG_STRICT ( 1 )", "type": "json"}, + {"id": "pg.functions.aggregate.json-arrayagg.k54f1dcc4850b", "category": "functions:executed", "sql": "SELECT JSON_ARRAYAGG ( 1 ABSENT ON NULL )", "type": "json"}, + {"id": "pg.functions.aggregate.json-arrayagg.k5c743816c126", "category": "functions:executed", "sql": "SELECT JSON_ARRAYAGG ( 1 NULL ON NULL )", "type": "json"}, + {"id": "pg.functions.aggregate.json-arrayagg.k7c2d32d42b5b", "category": "functions:executed", "sql": "SELECT JSON_ARRAYAGG ( 1 ORDER BY 1 NULL ON NULL RETURNING INT FORMAT JSON ENCODING UTF8 )", "error": "cannot set JSON encoding for non-bytea output types at character 89"}, + {"id": "pg.functions.aggregate.json-arrayagg.k86d4ac4dd2e2", "category": "functions:executed", "sql": "SELECT JSON_ARRAYAGG ( 1 )", "type": "json"}, + {"id": "pg.functions.aggregate.json-arrayagg.kb88e672a9e99", "category": "functions:semantic", "sql": "SELECT JSON_ARRAYAGG ( 1 RETURNING INT )", "error": "cannot cast type json to integer"}, + {"id": "pg.functions.aggregate.json-arrayagg.kc6207bf2e0f1", "category": "functions:semantic", "sql": "SELECT JSON_ARRAYAGG ( 1 RETURNING INT FORMAT JSON )", "error": "cannot cast type json to integer at character 65"}, + {"id": "pg.functions.aggregate.json-object-agg-order-by.k970f186d049a", "category": "functions:semantic", "sql": "SELECT JSON_OBJECT_AGG ( 1 , 1 ORDER BY INPUT_SORT_COLUMNS )", "error": "column \"input_sort_columns\" does not exist at character 66"}, + {"id": "pg.functions.aggregate.json-object-agg-strict.k2df292c2c878", "category": "functions:executed", "sql": "SELECT JSON_OBJECT_AGG_STRICT ( 1 , 1 )", "type": "json"}, + {"id": "pg.functions.aggregate.json-object-agg-unique-strict.k41ab4b91fc04", "category": "functions:executed", "sql": "SELECT JSON_OBJECT_AGG_UNIQUE_STRICT ( 1 , 1 )", "type": "json"}, + {"id": "pg.functions.aggregate.json-object-agg-unique.k7a12338c56e4", "category": "functions:executed", "sql": "SELECT JSON_OBJECT_AGG_UNIQUE ( 1 , 1 )", "type": "json"}, + {"id": "pg.functions.aggregate.json-objectagg.k4e35c637e4e7", "category": "functions:executed", "sql": "SELECT JSON_OBJECTAGG ( 1 :1 ABSENT ON NULL )", "type": "json"}, + {"id": "pg.functions.aggregate.json-objectagg.k53283aaaeebe", "category": "functions:semantic", "sql": "SELECT JSON_OBJECTAGG ( 1 VALUE 1 RETURNING INT FORMAT JSON )", "error": "cannot cast type json to integer at character 74"}, + {"id": "pg.functions.aggregate.json-objectagg.k618ccf0fcda2", "category": "functions:executed", "sql": "SELECT JSON_OBJECTAGG ( 1 :1 )", "type": "json"}, + {"id": "pg.functions.aggregate.json-objectagg.k67308b5d6555", "category": "functions:semantic", "sql": "SELECT JSON_OBJECTAGG ( 1 VALUE 1 RETURNING INT )", "error": "cannot cast type json to integer"}, + {"id": "pg.functions.aggregate.json-objectagg.k9765581fbb6a", "category": "functions:executed", "sql": "SELECT JSON_OBJECTAGG ( 1 VALUE 1 )", "type": "json"}, + {"id": "pg.functions.aggregate.json-objectagg.ka2c39844d2c7", "category": "functions:executed", "sql": "SELECT JSON_OBJECTAGG ( 1 VALUE 1 WITH UNIQUE )", "type": "json"}, + {"id": "pg.functions.aggregate.json-objectagg.ke3f2a879988d", "category": "functions:executed", "sql": "SELECT JSON_OBJECTAGG ( 1 :1 WITHOUT UNIQUE )", "type": "json"}, + {"id": "pg.functions.aggregate.json-objectagg.ke7e295d0cd5b", "category": "functions:executed", "sql": "SELECT JSON_OBJECTAGG ( 1 VALUE 1 NULL ON NULL )", "type": "json"}, + {"id": "pg.functions.aggregate.json-objectagg.kf47430f689bf", "category": "functions:executed", "sql": "SELECT JSON_OBJECTAGG ( 1 VALUE 1 NULL ON NULL WITH UNIQUE KEYS RETURNING INT FORMAT JSON ENCODING UTF8 )", "error": "cannot set JSON encoding for non-bytea output types at character 104"}, + {"id": "pg.functions.aggregate.jsonb-agg-order-by.k6c57fe9fbb1d", "category": "functions:semantic", "sql": "SELECT JSONB_AGG ( 1 ORDER BY INPUT_SORT_COLUMNS )", "error": "column \"input_sort_columns\" does not exist at character 56"}, + {"id": "pg.functions.aggregate.jsonb-agg-strict.kb1b0646279bd", "category": "functions:executed", "sql": "SELECT JSONB_AGG_STRICT ( 1 )", "type": "jsonb"}, + {"id": "pg.functions.aggregate.jsonb-object-agg-order-by.k7df4450f9400", "category": "functions:semantic", "sql": "SELECT JSONB_OBJECT_AGG ( 1 , 1 ORDER BY INPUT_SORT_COLUMNS )", "error": "column \"input_sort_columns\" does not exist at character 67"}, + {"id": "pg.functions.aggregate.jsonb-object-agg-strict.k26657815dfa7", "category": "functions:executed", "sql": "SELECT JSONB_OBJECT_AGG_STRICT ( 1 , 1 )", "type": "jsonb"}, + {"id": "pg.functions.aggregate.jsonb-object-agg-unique-strict.k2e149f0531cf", "category": "functions:executed", "sql": "SELECT JSONB_OBJECT_AGG_UNIQUE_STRICT ( 1 , 1 )", "type": "jsonb"}, + {"id": "pg.functions.aggregate.jsonb-object-agg-unique.k2fb60f961f40", "category": "functions:executed", "sql": "SELECT JSONB_OBJECT_AGG_UNIQUE ( 1 , 1 )", "type": "jsonb"}, + {"id": "pg.functions.aggregate.max.kebcd420884e6", "category": "functions:executed", "sql": "SELECT MAX ( 1 )", "type": "integer"}, + {"id": "pg.functions.aggregate.min.kba0a8637e529", "category": "functions:executed", "sql": "SELECT MIN ( 1 )", "type": "integer"}, + {"id": "pg.functions.aggregate.mode-within-group-order-by.ke27663de59f0", "category": "functions:executed", "sql": "SELECT MODE ( ) WITHIN GROUP ( ORDER BY 1 )", "type": "integer"}, + {"id": "pg.functions.aggregate.percent-rank-within-group-order-by.k5c43c75f7540", "category": "functions:semantic", "sql": "SELECT PERCENT_RANK ( v1 ) WITHIN GROUP ( ORDER BY v1 )", "error": "column \"v1\" does not exist at character 48"}, + {"id": "pg.functions.aggregate.percentile-cont-within-group-order-by.k78d86fb7d51d", "category": "functions:executed", "sql": "SELECT PERCENTILE_CONT ( 1 ) WITHIN GROUP ( ORDER BY 1.5 )", "type": "double precision"}, + {"id": "pg.functions.aggregate.percentile-cont-within-group-order-by.kb9ed9785d865", "category": "functions:executed", "sql": "SELECT PERCENTILE_CONT ( 1 ) WITHIN GROUP ( ORDER BY INTERVAL '1 day' )", "type": "interval"}, + {"id": "pg.functions.aggregate.percentile-disc-within-group-order-by.kd3b647ad64dd", "category": "functions:executed", "sql": "SELECT PERCENTILE_DISC ( 1 ) WITHIN GROUP ( ORDER BY 1 )", "type": "integer"}, + {"id": "pg.functions.aggregate.range-agg.k7f33efcafaf6", "category": "functions:semantic", "sql": "SELECT RANGE_AGG ( 1 )", "error": "function range_agg(integer) does not exist at character 33"}, + {"id": "pg.functions.aggregate.range-intersect-agg.k83d57b0c82ca", "category": "functions:semantic", "sql": "SELECT RANGE_INTERSECT_AGG ( 1 )", "error": "function range_intersect_agg(integer) does not exist at character 33"}, + {"id": "pg.functions.aggregate.rank-within-group-order-by.k52ded9c08578", "category": "functions:semantic", "sql": "SELECT RANK ( v1 ) WITHIN GROUP ( ORDER BY v1 )", "error": "column \"v1\" does not exist at character 40"}, + {"id": "pg.functions.aggregate.regr-avgx.ke580c4b9e8f7", "category": "functions:executed", "sql": "SELECT REGR_AVGX ( 1 , 1 )", "type": "double precision"}, + {"id": "pg.functions.aggregate.regr-avgy.k7da1974a5f63", "category": "functions:executed", "sql": "SELECT REGR_AVGY ( 1 , 1 )", "type": "double precision"}, + {"id": "pg.functions.aggregate.regr-count.kb3b8805bfa9d", "category": "functions:executed", "sql": "SELECT REGR_COUNT ( 1 , 1 )", "type": "bigint"}, + {"id": "pg.functions.aggregate.regr-intercept.k15e2354b5d72", "category": "functions:executed", "sql": "SELECT REGR_INTERCEPT ( 1 , 1 )", "type": "double precision"}, + {"id": "pg.functions.aggregate.regr-r2.kad7d232f89fe", "category": "functions:executed", "sql": "SELECT REGR_R2 ( 1 , 1 )", "type": "double precision"}, + {"id": "pg.functions.aggregate.regr-slope.kc054bbf90eb1", "category": "functions:executed", "sql": "SELECT REGR_SLOPE ( 1 , 1 )", "type": "double precision"}, + {"id": "pg.functions.aggregate.regr-sxx.k72d1abf400e2", "category": "functions:executed", "sql": "SELECT REGR_SXX ( 1 , 1 )", "type": "double precision"}, + {"id": "pg.functions.aggregate.regr-sxy.k1d9dd970f72b", "category": "functions:executed", "sql": "SELECT REGR_SXY ( 1 , 1 )", "type": "double precision"}, + {"id": "pg.functions.aggregate.regr-syy.k078f8877ef70", "category": "functions:executed", "sql": "SELECT REGR_SYY ( 1 , 1 )", "type": "double precision"}, + {"id": "pg.functions.aggregate.stddev-pop.k601177d04606", "category": "functions:executed", "sql": "SELECT STDDEV_POP ( 1 )", "type": "numeric"}, + {"id": "pg.functions.aggregate.stddev-samp.k98e81fdbff02", "category": "functions:executed", "sql": "SELECT STDDEV_SAMP ( 1 )", "type": "numeric"}, + {"id": "pg.functions.aggregate.stddev.kc4cde25791cf", "category": "functions:executed", "sql": "SELECT STDDEV ( 1 )", "type": "numeric"}, + {"id": "pg.functions.aggregate.string-agg-order-by.k49c332a78bda", "category": "functions:semantic", "sql": "SELECT STRING_AGG ( 1 , 1 ORDER BY INPUT_SORT_COLUMNS )", "error": "function string_agg(integer, integer) does not exist at character 33"}, + {"id": "pg.functions.aggregate.string-agg.kcba9e36e22f9", "category": "functions:semantic", "sql": "SELECT STRING_AGG ( 1 , 1 )", "error": "function string_agg(integer, integer) does not exist at character 33"}, + {"id": "pg.functions.aggregate.sum.k0ae6e4a55700", "category": "functions:executed", "sql": "SELECT SUM ( 1.5 )", "type": "numeric"}, + {"id": "pg.functions.aggregate.sum.k52aa3d0ee52e", "category": "functions:executed", "sql": "SELECT SUM ( INTERVAL '1 day' )", "type": "interval"}, + {"id": "pg.functions.aggregate.sum.kedcb45adaf73", "category": "functions:executed", "sql": "SELECT SUM ( 1 )", "type": "bigint"}, + {"id": "pg.functions.aggregate.var-pop.k1f433d250dea", "category": "functions:executed", "sql": "SELECT VAR_POP ( 1 )", "type": "numeric"}, + {"id": "pg.functions.aggregate.var-samp.k942e4ea28222", "category": "functions:executed", "sql": "SELECT VAR_SAMP ( 1 )", "type": "numeric"}, + {"id": "pg.functions.aggregate.variance.k77c97fcd7c9a", "category": "functions:executed", "sql": "SELECT VARIANCE ( 1 )", "type": "numeric"}, + {"id": "pg.functions.aggregate.xmlagg-order-by.kc50a684a7a0f", "category": "functions:semantic", "sql": "SELECT XMLAGG ( XML '' ORDER BY INPUT_SORT_COLUMNS )", "error": "column \"input_sort_columns\" does not exist at character 62"}, + {"id": "pg.functions.array.array-append.k750d79cd3331", "category": "functions:executed", "sql": "SELECT ARRAY_APPEND ( ARRAY [ 1 ] , 1 )", "type": "integer[]"}, + {"id": "pg.functions.array.array-cat.k0a3b7e425234", "category": "functions:executed", "sql": "SELECT ARRAY_CAT ( ARRAY [ 1 ] , ARRAY [ 1 ] )", "type": "integer[]"}, + {"id": "pg.functions.array.array-dims.k5ef05ba00e5e", "category": "functions:executed", "sql": "SELECT ARRAY_DIMS ( ARRAY [ 1 ] )", "type": "text"}, + {"id": "pg.functions.array.array-fill.k0665e7efbbe0", "category": "functions:semantic", "sql": "SELECT ARRAY_FILL ( 1 , v1 , v1 )", "error": "column \"v1\" does not exist at character 50"}, + {"id": "pg.functions.array.array-fill.kf79811c6d478", "category": "functions:semantic", "sql": "SELECT ARRAY_FILL ( 1 , v1 )", "error": "column \"v1\" does not exist at character 50"}, + {"id": "pg.functions.array.array-length.kb90a0c4beac0", "category": "functions:executed", "sql": "SELECT ARRAY_LENGTH ( ARRAY [ 1 ] , 1 )", "type": "integer"}, + {"id": "pg.functions.array.array-lower.kd08a6af50dcf", "category": "functions:executed", "sql": "SELECT ARRAY_LOWER ( ARRAY [ 1 ] , 1 )", "type": "integer"}, + {"id": "pg.functions.array.array-ndims.k21f9ac11ccb4", "category": "functions:executed", "sql": "SELECT ARRAY_NDIMS ( ARRAY [ 1 ] )", "type": "integer"}, + {"id": "pg.functions.array.array-position.k11a79971f49a", "category": "functions:executed", "sql": "SELECT ARRAY_POSITION ( ARRAY [ 1 ] , 1 , 1 )", "type": "integer"}, + {"id": "pg.functions.array.array-position.kd04c9a92610b", "category": "functions:executed", "sql": "SELECT ARRAY_POSITION ( ARRAY [ 1 ] , 1 )", "type": "integer"}, + {"id": "pg.functions.array.array-positions.k46ea75ad6e39", "category": "functions:executed", "sql": "SELECT ARRAY_POSITIONS ( ARRAY [ 1 ] , 1 )", "type": "integer[]"}, + {"id": "pg.functions.array.array-prepend.k322fdc41522c", "category": "functions:executed", "sql": "SELECT ARRAY_PREPEND ( 1 , ARRAY [ 1 ] )", "type": "integer[]"}, + {"id": "pg.functions.array.array-remove.k4c2a5db435c3", "category": "functions:executed", "sql": "SELECT ARRAY_REMOVE ( ARRAY [ 1 ] , 1 )", "type": "integer[]"}, + {"id": "pg.functions.array.array-replace.ke65fc1562fc8", "category": "functions:executed", "sql": "SELECT ARRAY_REPLACE ( ARRAY [ 1 ] , 1 , 1 )", "type": "integer[]"}, + {"id": "pg.functions.array.array-reverse.k5046701b9b63", "category": "functions:executed", "sql": "SELECT ARRAY_REVERSE ( ARRAY [ 1 ] )", "type": "integer[]"}, + {"id": "pg.functions.array.array-sample.k5b727ceb0ad8", "category": "functions:semantic", "sql": "SELECT ARRAY_SAMPLE ( 1 , 1 )", "error": "function array_sample(integer, integer) does not exist at character 33"}, + {"id": "pg.functions.array.array-shuffle.k8514fdb86092", "category": "functions:executed", "sql": "SELECT ARRAY_SHUFFLE ( ARRAY [ 1 ] )", "type": "integer[]"}, + {"id": "pg.functions.array.array-sort.k078d99b1e04a", "category": "functions:semantic", "sql": "SELECT ARRAY_SORT ( 1 , 1 )", "error": "function array_sort(integer, integer) does not exist at character 33"}, + {"id": "pg.functions.array.array-sort.kc9948ec11bbe", "category": "functions:semantic", "sql": "SELECT ARRAY_SORT ( 1 , 1 , 1 )", "error": "function array_sort(integer, integer, integer) does not exist at character 33"}, + {"id": "pg.functions.array.array-sort.kd0b3c0bb9fe1", "category": "functions:semantic", "sql": "SELECT ARRAY_SORT ( 1 )", "error": "function array_sort(integer) does not exist at character 33"}, + {"id": "pg.functions.array.array-to-string.kafae09c25958", "category": "functions:semantic", "sql": "SELECT ARRAY_TO_STRING ( 1 , 1 )", "error": "function array_to_string(integer, integer) does not exist at character 33"}, + {"id": "pg.functions.array.array-to-string.kcd72d5971cee", "category": "functions:semantic", "sql": "SELECT ARRAY_TO_STRING ( 1 , 1 , 1 )", "error": "function array_to_string(integer, integer, integer) does not exist at character 33"}, + {"id": "pg.functions.array.array-upper.kbd8d8919a83f", "category": "functions:executed", "sql": "SELECT ARRAY_UPPER ( ARRAY [ 1 ] , 1 )", "type": "integer"}, + {"id": "pg.functions.array.cardinality.k272f65f7e3ae", "category": "functions:executed", "sql": "SELECT CARDINALITY ( ARRAY [ 1 ] )", "type": "integer"}, + {"id": "pg.functions.array.trim-array.k81d909f888dd", "category": "functions:semantic", "sql": "SELECT TRIM_ARRAY ( 1 , 1 )", "error": "function trim_array(integer, integer) does not exist at character 33"}, + {"id": "pg.functions.array.unnest.k9e842f53fecf", "category": "functions:semantic", "sql": "SELECT UNNEST ( ARRAY [ 1 ] , ARRAY [ 1 ] )", "error": "function unnest(integer[], integer[]) does not exist at character 33"}, + {"id": "pg.functions.array.unnest.kb26c000333bb", "category": "functions:semantic", "sql": "SELECT UNNEST ( ARRAY [ 1 ] , ARRAY [ 1 ] , ARRAY [ 1 ] )", "error": "function unnest(integer[], integer[], integer[]) does not exist at character 33"}, + {"id": "pg.functions.array.unnest.kfdc8e4871f62", "category": "functions:executed", "sql": "SELECT UNNEST ( ARRAY [ 1 ] )", "type": "integer"}, + {"id": "pg.functions.binarystring.bit-count.k327b1d412f05", "category": "functions:semantic", "sql": "SELECT BIT_COUNT ( 1 )", "error": "function bit_count(integer) does not exist at character 33"}, + {"id": "pg.functions.binarystring.bit-length.k39ed76590a5b", "category": "functions:executed", "sql": "SELECT BIT_LENGTH ( BYTEA 'ab' )", "type": "integer"}, + {"id": "pg.functions.binarystring.btrim.kaa00e8962618", "category": "functions:semantic", "sql": "SELECT BTRIM ( 1 , 1 )", "error": "function btrim(integer, integer) does not exist at character 33"}, + {"id": "pg.functions.binarystring.convert-from.k3d2f1d6de4d3", "category": "functions:semantic", "sql": "SELECT CONVERT_FROM ( 1 , 1 )", "error": "function convert_from(integer, integer) does not exist at character 33"}, + {"id": "pg.functions.binarystring.convert-to.k4480a31ec151", "category": "functions:semantic", "sql": "SELECT CONVERT_TO ( 1 , 1 )", "error": "function convert_to(integer, integer) does not exist at character 33"}, + {"id": "pg.functions.binarystring.convert.k1833f85dcf53", "category": "functions:semantic", "sql": "SELECT CONVERT ( 1 , 1 , 1 )", "error": "function convert(integer, integer, integer) does not exist at character 33"}, + {"id": "pg.functions.binarystring.crc32.k062eea13281b", "category": "functions:executed", "sql": "SELECT CRC32 ( BYTEA 'ab' )", "type": "bigint"}, + {"id": "pg.functions.binarystring.crc32c.k6e83980779f9", "category": "functions:executed", "sql": "SELECT CRC32C ( BYTEA 'ab' )", "type": "bigint"}, + {"id": "pg.functions.binarystring.decode.k496ae0fa0d84", "category": "functions:semantic", "sql": "SELECT DECODE ( 1 , 1 )", "error": "function decode(integer, integer) does not exist at character 33"}, + {"id": "pg.functions.binarystring.encode.k9d4b062cfbb9", "category": "functions:semantic", "sql": "SELECT ENCODE ( 1 , 1 )", "error": "function encode(integer, integer) does not exist at character 33"}, + {"id": "pg.functions.binarystring.get-bit.kd0d1a0fc369d", "category": "functions:semantic", "sql": "SELECT GET_BIT ( 1 , 1 )", "error": "function get_bit(integer, integer) does not exist at character 33"}, + {"id": "pg.functions.binarystring.get-byte.k353974df4315", "category": "functions:semantic", "sql": "SELECT GET_BYTE ( 1 , 1 )", "error": "function get_byte(integer, integer) does not exist at character 33"}, + {"id": "pg.functions.binarystring.length.k7f4ed555f481", "category": "functions:executed", "sql": "SELECT LENGTH ( BYTEA 'ab' )", "type": "integer"}, + {"id": "pg.functions.binarystring.length.ke007fab366b1", "category": "functions:semantic", "sql": "SELECT LENGTH ( 1 , 1 )", "error": "function length(integer, integer) does not exist at character 33"}, + {"id": "pg.functions.binarystring.ltrim.k17b7d5dfbe9e", "category": "functions:semantic", "sql": "SELECT LTRIM ( 1 , 1 )", "error": "function ltrim(integer, integer) does not exist at character 33"}, + {"id": "pg.functions.binarystring.md5.kdfb7907c23e9", "category": "functions:executed", "sql": "SELECT MD5 ( BYTEA 'ab' )", "type": "text"}, + {"id": "pg.functions.binarystring.octet-length.keec84d54c848", "category": "functions:executed", "sql": "SELECT OCTET_LENGTH ( BYTEA 'ab' )", "type": "integer"}, + {"id": "pg.functions.binarystring.overlay-placing-from.k4a0903ac52f2", "category": "functions:semantic", "sql": "SELECT OVERLAY ( 1 PLACING 1 FROM 1 )", "error": "function pg_catalog.overlay(integer, integer, integer) does not exist at character 33"}, + {"id": "pg.functions.binarystring.overlay-placing-from.k8d954129496a", "category": "functions:semantic", "sql": "SELECT OVERLAY ( 1 PLACING 1 FROM 1 FOR 1 )", "error": "function pg_catalog.overlay(integer, integer, integer, integer) does not exist at character 33"}, + {"id": "pg.functions.binarystring.position-in.kd41ba3936a78", "category": "functions:semantic", "sql": "SELECT POSITION ( 1 IN 1 )", "error": "function pg_catalog.position(integer, integer) does not exist at character 33"}, + {"id": "pg.functions.binarystring.reverse.k52677a63e196", "category": "functions:executed", "sql": "SELECT REVERSE ( BYTEA 'ab' )", "type": "bytea"}, + {"id": "pg.functions.binarystring.rtrim.k5975bf4ad327", "category": "functions:semantic", "sql": "SELECT RTRIM ( 1 , 1 )", "error": "function rtrim(integer, integer) does not exist at character 33"}, + {"id": "pg.functions.binarystring.set-bit.k67e537fbce76", "category": "functions:semantic", "sql": "SELECT SET_BIT ( 1 , 1 , 1 )", "error": "function set_bit(integer, integer, integer) does not exist at character 33"}, + {"id": "pg.functions.binarystring.set-byte.kd88bc7e46c80", "category": "functions:semantic", "sql": "SELECT SET_BYTE ( 1 , 1 , 1 )", "error": "function set_byte(integer, integer, integer) does not exist at character 33"}, + {"id": "pg.functions.binarystring.sha224.k214ce5a90982", "category": "functions:executed", "sql": "SELECT SHA224 ( BYTEA 'ab' )", "type": "bytea"}, + {"id": "pg.functions.binarystring.sha256.kc0f7a995b147", "category": "functions:executed", "sql": "SELECT SHA256 ( BYTEA 'ab' )", "type": "bytea"}, + {"id": "pg.functions.binarystring.sha384.kbed5a367b4ff", "category": "functions:executed", "sql": "SELECT SHA384 ( BYTEA 'ab' )", "type": "bytea"}, + {"id": "pg.functions.binarystring.sha512.kfab05c661241", "category": "functions:executed", "sql": "SELECT SHA512 ( BYTEA 'ab' )", "type": "bytea"}, + {"id": "pg.functions.binarystring.substr.k2b40c69d0c79", "category": "functions:semantic", "sql": "SELECT SUBSTR ( 1 , 1 , 1 )", "error": "function substr(integer, integer, integer) does not exist at character 33"}, + {"id": "pg.functions.binarystring.substr.k62c801e400b8", "category": "functions:semantic", "sql": "SELECT SUBSTR ( 1 , 1 )", "error": "function substr(integer, integer) does not exist at character 33"}, + {"id": "pg.functions.binarystring.substring.k7e89b3c3886b", "category": "functions:semantic", "sql": "SELECT SUBSTRING ( 1 )", "error": "function substring(integer) does not exist at character 33"}, + {"id": "pg.functions.binarystring.substring.k8c985885c893", "category": "functions:semantic", "sql": "SELECT SUBSTRING ( 1 FROM 1 FOR 1 )", "error": "function pg_catalog.substring(integer, integer, integer) does not exist at character 33"}, + {"id": "pg.functions.binarystring.trim-from.k00d8ec627c17", "category": "functions:semantic", "sql": "SELECT TRIM ( LEADING 1 FROM 1 )", "error": "function pg_catalog.ltrim(integer, integer) does not exist at character 33"}, + {"id": "pg.functions.binarystring.trim-from.k2ba79c01ca50", "category": "functions:semantic", "sql": "SELECT TRIM ( 1 FROM 1 )", "error": "function pg_catalog.btrim(integer, integer) does not exist at character 33"}, + {"id": "pg.functions.binarystring.trim-from.ka2feb784c273", "category": "functions:semantic", "sql": "SELECT TRIM ( BOTH 1 FROM 1 )", "error": "function pg_catalog.btrim(integer, integer) does not exist at character 33"}, + {"id": "pg.functions.binarystring.trim-from.kc21a095e65ea", "category": "functions:semantic", "sql": "SELECT TRIM ( TRAILING 1 FROM 1 )", "error": "function pg_catalog.rtrim(integer, integer) does not exist at character 33"}, + {"id": "pg.functions.binarystring.trim.k834308334ea3", "category": "functions:semantic", "sql": "SELECT TRIM ( BOTH 1 , 1 )", "error": "function pg_catalog.btrim(integer, integer) does not exist at character 33"}, + {"id": "pg.functions.binarystring.trim.ka20e087fdc11", "category": "functions:semantic", "sql": "SELECT TRIM ( LEADING FROM 1 , 1 )", "error": "function pg_catalog.ltrim(integer, integer) does not exist at character 33"}, + {"id": "pg.functions.binarystring.trim.kb4f54c0b4055", "category": "functions:semantic", "sql": "SELECT TRIM ( 1 , 1 )", "error": "function pg_catalog.btrim(integer, integer) does not exist at character 33"}, + {"id": "pg.functions.binarystring.trim.kbb36e775d289", "category": "functions:semantic", "sql": "SELECT TRIM ( LEADING 1 , 1 )", "error": "function pg_catalog.ltrim(integer, integer) does not exist at character 33"}, + {"id": "pg.functions.binarystring.trim.kce16a24a6140", "category": "functions:semantic", "sql": "SELECT TRIM ( TRAILING 1 , 1 )", "error": "function pg_catalog.rtrim(integer, integer) does not exist at character 33"}, + {"id": "pg.functions.bitstring.bit-count.k931b0ea32f65", "category": "functions:executed", "sql": "SELECT BIT_COUNT ( B'101' )", "type": "bigint"}, + {"id": "pg.functions.bitstring.bit-length.k419d0a66c4a3", "category": "functions:executed", "sql": "SELECT BIT_LENGTH ( B'101' )", "type": "integer"}, + {"id": "pg.functions.bitstring.length.k856826ca5fc6", "category": "functions:executed", "sql": "SELECT LENGTH ( B'101' )", "type": "integer"}, + {"id": "pg.functions.bitstring.octet-length.kedec9218ea04", "category": "functions:executed", "sql": "SELECT OCTET_LENGTH ( B'101' )", "type": "integer"}, + {"id": "pg.functions.comparison.num-nonnulls.k6e9a9ec734ab", "category": "functions:semantic", "sql": "SELECT NUM_NONNULLS ( VARIADIC 1 )", "error": "VARIADIC argument must be an array at character 57"}, + {"id": "pg.functions.comparison.num-nulls.k8ccb11d78e1f", "category": "functions:semantic", "sql": "SELECT NUM_NULLS ( VARIADIC 1 )", "error": "VARIADIC argument must be an array at character 54"}, + {"id": "pg.functions.conditional.coalesce.k3128dd995ebf", "category": "functions:executed", "sql": "SELECT COALESCE ( 1 )", "type": "integer"}, + {"id": "pg.functions.conditional.coalesce.kf796bc611558", "category": "functions:executed", "sql": "SELECT COALESCE ( 1 , 1 )", "type": "integer"}, + {"id": "pg.functions.conditional.greatest.k52bdbcc29147", "category": "functions:executed", "sql": "SELECT GREATEST ( 1 , 1 )", "type": "integer"}, + {"id": "pg.functions.conditional.greatest.k977b78b52ef3", "category": "functions:executed", "sql": "SELECT GREATEST ( 1 )", "type": "integer"}, + {"id": "pg.functions.conditional.least.ka1bbbdbc50a0", "category": "functions:executed", "sql": "SELECT LEAST ( 1 , 1 )", "type": "integer"}, + {"id": "pg.functions.conditional.least.kb825e1fd75d7", "category": "functions:executed", "sql": "SELECT LEAST ( 1 )", "type": "integer"}, + {"id": "pg.functions.conditional.nullif.kd53e3ef67d7e", "category": "functions:executed", "sql": "SELECT NULLIF ( 1 , 1 )", "type": "integer"}, + {"id": "pg.functions.datatype-xml.xmlparse.k20beefffc027", "category": "functions:runtime", "sql": "SELECT XMLPARSE ( DOCUMENT 1 )", "type": "xml"}, + {"id": "pg.functions.datatype-xml.xmlparse.k279fe8d70206", "category": "functions:executed", "sql": "SELECT XMLPARSE ( CONTENT 1 )", "type": "xml"}, + {"id": "pg.functions.datatype-xml.xmlserialize-as.k24c441b56346", "category": "functions:semantic", "sql": "SELECT XMLSERIALIZE ( CONTENT 1 AS INT )", "error": "argument of XMLSERIALIZE must be type xml, not type integer at character 56"}, + {"id": "pg.functions.datatype-xml.xmlserialize-as.ka5dcdac962ea", "category": "functions:semantic", "sql": "SELECT XMLSERIALIZE ( DOCUMENT 1 AS INT NO INDENT )", "error": "argument of XMLSERIALIZE must be type xml, not type integer at character 57"}, + {"id": "pg.functions.datatype-xml.xmlserialize-as.kc2ba0161970a", "category": "functions:semantic", "sql": "SELECT XMLSERIALIZE ( DOCUMENT 1 AS INT )", "error": "argument of XMLSERIALIZE must be type xml, not type integer at character 57"}, + {"id": "pg.functions.datatype-xml.xmlserialize-as.kd957a6072fb9", "category": "functions:semantic", "sql": "SELECT XMLSERIALIZE ( DOCUMENT 1 AS INT INDENT )", "error": "argument of XMLSERIALIZE must be type xml, not type integer at character 57"}, + {"id": "pg.functions.datetime.age.k6f0d05a0092e", "category": "functions:executed", "sql": "SELECT AGE ( TIMESTAMP '2026-01-01' )", "type": "interval"}, + {"id": "pg.functions.datetime.age.kd0b4f5b6e069", "category": "functions:executed", "sql": "SELECT AGE ( TIMESTAMP '2026-01-01' , TIMESTAMP '2026-01-01' )", "type": "interval"}, + {"id": "pg.functions.datetime.clock-timestamp.kfdf5d0265657", "category": "functions:executed", "sql": "SELECT CLOCK_TIMESTAMP ( )", "type": "timestamp with time zone"}, + {"id": "pg.functions.datetime.current-date-noparens.k425052d2a9ed", "category": "functions:executed", "sql": "SELECT CURRENT_DATE", "type": "date"}, + {"id": "pg.functions.datetime.current-time-noparens.k4077f44e7585", "category": "functions:executed", "sql": "SELECT CURRENT_TIME", "type": "time with time zone"}, + {"id": "pg.functions.datetime.current-time.kdef6c30ccab1", "category": "functions:executed", "sql": "SELECT CURRENT_TIME ( 1 )", "type": "time(1) with time zone"}, + {"id": "pg.functions.datetime.current-timestamp-noparens.k73fc7dc4f694", "category": "functions:executed", "sql": "SELECT CURRENT_TIMESTAMP", "type": "timestamp with time zone"}, + {"id": "pg.functions.datetime.current-timestamp.kbc204730a749", "category": "functions:executed", "sql": "SELECT CURRENT_TIMESTAMP ( 1 )", "type": "timestamp(1) with time zone"}, + {"id": "pg.functions.datetime.date-add.kaa08b0150eb8", "category": "functions:executed", "sql": "SELECT DATE_ADD ( TIMESTAMPTZ '2026-01-01' , INTERVAL '1 day' )", "type": "timestamp with time zone"}, + {"id": "pg.functions.datetime.date-add.ke43dfa48069c", "category": "functions:runtime", "sql": "SELECT DATE_ADD ( TIMESTAMPTZ '2026-01-01' , INTERVAL '1 day' , 'day' )", "type": "timestamp with time zone"}, + {"id": "pg.functions.datetime.date-bin.k1bbcffe9687e", "category": "functions:executed", "sql": "SELECT DATE_BIN ( INTERVAL '1 day' , TIMESTAMP '2026-01-01' , TIMESTAMP '2026-01-01' )", "type": "timestamp without time zone"}, + {"id": "pg.functions.datetime.date-part.k675063398f92", "category": "functions:executed", "sql": "SELECT DATE_PART ( 'day' , INTERVAL '1 day' )", "type": "double precision"}, + {"id": "pg.functions.datetime.date-part.kba887567c1a7", "category": "functions:executed", "sql": "SELECT DATE_PART ( 'day' , TIMESTAMP '2026-01-01' )", "type": "double precision"}, + {"id": "pg.functions.datetime.date-subtract.kaa7ee6336811", "category": "functions:runtime", "sql": "SELECT DATE_SUBTRACT ( TIMESTAMPTZ '2026-01-01' , INTERVAL '1 day' , 'day' )", "type": "timestamp with time zone"}, + {"id": "pg.functions.datetime.date-subtract.ke362e0a9e0da", "category": "functions:executed", "sql": "SELECT DATE_SUBTRACT ( TIMESTAMPTZ '2026-01-01' , INTERVAL '1 day' )", "type": "timestamp with time zone"}, + {"id": "pg.functions.datetime.date-trunc.k03ec17aebe57", "category": "functions:executed", "sql": "SELECT DATE_TRUNC ( 'day' , INTERVAL '1 day' )", "type": "interval"}, + {"id": "pg.functions.datetime.date-trunc.k714acea41359", "category": "functions:executed", "sql": "SELECT DATE_TRUNC ( 'day' , TIMESTAMP '2026-01-01' )", "type": "timestamp without time zone"}, + {"id": "pg.functions.datetime.date-trunc.k9d06ee90fd08", "category": "functions:runtime", "sql": "SELECT DATE_TRUNC ( 'day' , TIMESTAMPTZ '2026-01-01' , 'day' )", "type": "timestamp with time zone"}, + {"id": "pg.functions.datetime.extract.k7f64ab4576eb", "category": "functions:runtime", "sql": "SELECT EXTRACT ( v1 FROM INTERVAL '1 day' )", "type": "numeric"}, + {"id": "pg.functions.datetime.extract.k9d9d260a7bd9", "category": "functions:runtime", "sql": "SELECT EXTRACT ( v1 FROM TIMESTAMP '2026-01-01' )", "type": "numeric"}, + {"id": "pg.functions.datetime.isfinite.k06a72924aef2", "category": "functions:executed", "sql": "SELECT ISFINITE ( TIMESTAMP '2026-01-01' )", "type": "boolean"}, + {"id": "pg.functions.datetime.isfinite.k1d014093519b", "category": "functions:executed", "sql": "SELECT ISFINITE ( DATE '2026-01-01' )", "type": "boolean"}, + {"id": "pg.functions.datetime.isfinite.k991a0f49a8fc", "category": "functions:executed", "sql": "SELECT ISFINITE ( INTERVAL '1 day' )", "type": "boolean"}, + {"id": "pg.functions.datetime.justify-days.ka8a575fe0960", "category": "functions:executed", "sql": "SELECT JUSTIFY_DAYS ( INTERVAL '1 day' )", "type": "interval"}, + {"id": "pg.functions.datetime.justify-hours.ke9d54f662fce", "category": "functions:executed", "sql": "SELECT JUSTIFY_HOURS ( INTERVAL '1 day' )", "type": "interval"}, + {"id": "pg.functions.datetime.justify-interval.k848912eec1f2", "category": "functions:executed", "sql": "SELECT JUSTIFY_INTERVAL ( INTERVAL '1 day' )", "type": "interval"}, + {"id": "pg.functions.datetime.localtime-noparens.k6daafcab3939", "category": "functions:executed", "sql": "SELECT LOCALTIME", "type": "time without time zone"}, + {"id": "pg.functions.datetime.localtime.k0b314ee9b666", "category": "functions:executed", "sql": "SELECT LOCALTIME ( 1 )", "type": "time(1) without time zone"}, + {"id": "pg.functions.datetime.localtimestamp-noparens.k1198351b7e04", "category": "functions:executed", "sql": "SELECT LOCALTIMESTAMP", "type": "timestamp without time zone"}, + {"id": "pg.functions.datetime.localtimestamp.kb03085d6c145", "category": "functions:executed", "sql": "SELECT LOCALTIMESTAMP ( 1 )", "type": "timestamp(1) without time zone"}, + {"id": "pg.functions.datetime.make-date.k8914f8628426", "category": "functions:executed", "sql": "SELECT MAKE_DATE ( 1 , 1 , 1 )", "type": "date"}, + {"id": "pg.functions.datetime.make-interval.k093af305cc58", "category": "functions:executed", "sql": "SELECT MAKE_INTERVAL ( 1 , 1 )", "type": "interval"}, + {"id": "pg.functions.datetime.make-interval.k362be6797cff", "category": "functions:executed", "sql": "SELECT MAKE_INTERVAL ( 1 )", "type": "interval"}, + {"id": "pg.functions.datetime.make-interval.k6c7cd9db0781", "category": "functions:executed", "sql": "SELECT MAKE_INTERVAL ( )", "type": "interval"}, + {"id": "pg.functions.datetime.make-interval.k74b9ba5ed780", "category": "functions:executed", "sql": "SELECT MAKE_INTERVAL ( 1 , 1 , 1 , 1 )", "type": "interval"}, + {"id": "pg.functions.datetime.make-interval.kb3c17b90d638", "category": "functions:executed", "sql": "SELECT MAKE_INTERVAL ( 1 , 1 , 1 )", "type": "interval"}, + {"id": "pg.functions.datetime.make-interval.kbeab7f6c6e39", "category": "functions:executed", "sql": "SELECT MAKE_INTERVAL ( 1 , 1 , 1 , 1 , 1 , 1 )", "type": "interval"}, + {"id": "pg.functions.datetime.make-interval.kee8e6855a610", "category": "functions:executed", "sql": "SELECT MAKE_INTERVAL ( 1 , 1 , 1 , 1 , 1 )", "type": "interval"}, + {"id": "pg.functions.datetime.make-interval.kf58600bdf36f", "category": "functions:executed", "sql": "SELECT MAKE_INTERVAL ( 1 , 1 , 1 , 1 , 1 , 1 , 1 )", "type": "interval"}, + {"id": "pg.functions.datetime.make-time.k66c474e501f9", "category": "functions:executed", "sql": "SELECT MAKE_TIME ( 1 , 1 , 1 )", "type": "time without time zone"}, + {"id": "pg.functions.datetime.make-timestamp.kfaa596807ba5", "category": "functions:executed", "sql": "SELECT MAKE_TIMESTAMP ( 1 , 1 , 1 , 1 , 1 , 1 )", "type": "timestamp without time zone"}, + {"id": "pg.functions.datetime.make-timestamptz.k1964ae15a983", "category": "functions:executed", "sql": "SELECT MAKE_TIMESTAMPTZ ( 1 , 1 , 1 , 1 , 1 , 1 )", "type": "timestamp with time zone"}, + {"id": "pg.functions.datetime.make-timestamptz.k2d02129418df", "category": "functions:semantic", "sql": "SELECT MAKE_TIMESTAMPTZ ( 1 , 1 , 1 , 1 , 1 , 1 , 1 )", "error": "function make_timestamptz(integer, integer, integer, integer, integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.datetime.now.k78563a9f2a19", "category": "functions:executed", "sql": "SELECT NOW ( )", "type": "timestamp with time zone"}, + {"id": "pg.functions.datetime.pg-sleep-for.k02091585758f", "category": "functions:runtime", "sql": "SELECT PG_SLEEP_FOR ( INTERVAL '1 day' )", "error": "column \"pg_sleep_for\" has pseudo-type void"}, + {"id": "pg.functions.datetime.pg-sleep-until.ka09cad6b4172", "category": "functions:executed", "sql": "SELECT PG_SLEEP_UNTIL ( TIMESTAMPTZ '2026-01-01' )", "error": "column \"pg_sleep_until\" has pseudo-type void"}, + {"id": "pg.functions.datetime.pg-sleep.kc3336ddcc621", "category": "functions:executed", "sql": "SELECT PG_SLEEP ( 1.5 )", "error": "column \"pg_sleep\" has pseudo-type void"}, + {"id": "pg.functions.datetime.statement-timestamp.kee4774ca7f3f", "category": "functions:executed", "sql": "SELECT STATEMENT_TIMESTAMP ( )", "type": "timestamp with time zone"}, + {"id": "pg.functions.datetime.timeofday.k9eeda2d763ab", "category": "functions:executed", "sql": "SELECT TIMEOFDAY ( )", "type": "text"}, + {"id": "pg.functions.datetime.to-timestamp.k080dccc16de2", "category": "functions:executed", "sql": "SELECT TO_TIMESTAMP ( 1.5 )", "type": "timestamp with time zone"}, + {"id": "pg.functions.datetime.transaction-timestamp.k36a34296dbec", "category": "functions:executed", "sql": "SELECT TRANSACTION_TIMESTAMP ( )", "type": "timestamp with time zone"}, + {"id": "pg.functions.enum.enum-first.kacfa119f0b84", "category": "functions:semantic", "sql": "SELECT ENUM_FIRST ( v1 )", "error": "column \"v1\" does not exist at character 47"}, + {"id": "pg.functions.enum.enum-last.k308683f1381b", "category": "functions:semantic", "sql": "SELECT ENUM_LAST ( v1 )", "error": "column \"v1\" does not exist at character 46"}, + {"id": "pg.functions.enum.enum-range.k0fc7819a9814", "category": "functions:semantic", "sql": "SELECT ENUM_RANGE ( v1 )", "error": "column \"v1\" does not exist at character 47"}, + {"id": "pg.functions.enum.enum-range.k1995a8711b0f", "category": "functions:semantic", "sql": "SELECT ENUM_RANGE ( v1 , v1 )", "error": "column \"v1\" does not exist at character 47"}, + {"id": "pg.functions.event-triggers.pg-event-trigger-ddl-commands.kcec96bdf0237", "category": "functions:runtime", "sql": "SELECT PG_EVENT_TRIGGER_DDL_COMMANDS ( )", "error": "column \"pg_event_trigger_ddl_commands\" has pseudo-type record"}, + {"id": "pg.functions.event-triggers.pg-event-trigger-dropped-objects.k04ecd988ea19", "category": "functions:runtime", "sql": "SELECT PG_EVENT_TRIGGER_DROPPED_OBJECTS ( )", "error": "column \"pg_event_trigger_dropped_objects\" has pseudo-type record"}, + {"id": "pg.functions.event-triggers.pg-event-trigger-table-rewrite-oid.k71ecbf98d24a", "category": "functions:runtime", "sql": "SELECT PG_EVENT_TRIGGER_TABLE_REWRITE_OID ( )", "type": "oid"}, + {"id": "pg.functions.event-triggers.pg-event-trigger-table-rewrite-reason.k66d03466479a", "category": "functions:runtime", "sql": "SELECT PG_EVENT_TRIGGER_TABLE_REWRITE_REASON ( )", "type": "integer"}, + {"id": "pg.functions.formatting.to-char.k46f2abac059e", "category": "functions:executed", "sql": "SELECT TO_CHAR ( TIMESTAMP '2026-01-01' , 'day' )", "type": "text"}, + {"id": "pg.functions.formatting.to-char.k8237892c103d", "category": "functions:runtime", "sql": "SELECT TO_CHAR ( INTERVAL '1 day' , 'day' )", "type": "text"}, + {"id": "pg.functions.formatting.to-char.kc3eb49d3ae2a", "category": "functions:executed", "sql": "SELECT TO_CHAR ( 1 , 'day' )", "type": "text"}, + {"id": "pg.functions.formatting.to-char.kd6c7a1219630", "category": "functions:executed", "sql": "SELECT TO_CHAR ( TIMESTAMPTZ '2026-01-01' , 'day' )", "type": "text"}, + {"id": "pg.functions.formatting.to-date.ka9ed0ab08161", "category": "functions:runtime", "sql": "SELECT TO_DATE ( 'day' , 'day' )", "type": "date"}, + {"id": "pg.functions.formatting.to-number.k4f1228008ac5", "category": "functions:runtime", "sql": "SELECT TO_NUMBER ( 'day' , 'day' )", "type": "numeric"}, + {"id": "pg.functions.formatting.to-timestamp.kd4c3cebe3680", "category": "functions:runtime", "sql": "SELECT TO_TIMESTAMP ( 'day' , 'day' )", "type": "timestamp with time zone"}, + {"id": "pg.functions.geometry.area.k0e16c33383a1", "category": "functions:executed", "sql": "SELECT AREA ( BOX '((0,0),(1,1))' )", "type": "double precision"}, + {"id": "pg.functions.geometry.bound-box.k0fb10e46a710", "category": "functions:executed", "sql": "SELECT BOUND_BOX ( BOX '((0,0),(1,1))' , BOX '((0,0),(1,1))' )", "type": "box"}, + {"id": "pg.functions.geometry.box.k08945577bfa4", "category": "functions:executed", "sql": "SELECT BOX ( POINT '(0,0)' , POINT '(0,0)' )", "type": "box"}, + {"id": "pg.functions.geometry.box.k4f15fe26b00a", "category": "functions:semantic", "sql": "SELECT BOX ( v1 )", "error": "column \"v1\" does not exist at character 40"}, + {"id": "pg.functions.geometry.box.k8831b78f34b3", "category": "functions:executed", "sql": "SELECT BOX ( POINT '(0,0)' )", "type": "box"}, + {"id": "pg.functions.geometry.center.kb62f658c306d", "category": "functions:executed", "sql": "SELECT CENTER ( BOX '((0,0),(1,1))' )", "type": "point"}, + {"id": "pg.functions.geometry.circle.k35090b1de02d", "category": "functions:executed", "sql": "SELECT CIRCLE ( POINT '(0,0)' , 1.5 )", "type": "circle"}, + {"id": "pg.functions.geometry.circle.k5f4f00cf9a60", "category": "functions:semantic", "sql": "SELECT CIRCLE ( v1 )", "error": "column \"v1\" does not exist at character 43"}, + {"id": "pg.functions.geometry.circle.ke83338d357a7", "category": "functions:executed", "sql": "SELECT CIRCLE ( BOX '((0,0),(1,1))' )", "type": "circle"}, + {"id": "pg.functions.geometry.diagonal.kab22488d76bb", "category": "functions:executed", "sql": "SELECT DIAGONAL ( BOX '((0,0),(1,1))' )", "type": "lseg"}, + {"id": "pg.functions.geometry.diameter.ke4bcf376ef9d", "category": "functions:semantic", "sql": "SELECT DIAMETER ( v1 )", "error": "column \"v1\" does not exist at character 45"}, + {"id": "pg.functions.geometry.height.k257549e56a2d", "category": "functions:executed", "sql": "SELECT HEIGHT ( BOX '((0,0),(1,1))' )", "type": "double precision"}, + {"id": "pg.functions.geometry.isclosed.k595a8cb680e5", "category": "functions:executed", "sql": "SELECT ISCLOSED ( PATH '[(0,0),(1,1)]' )", "type": "boolean"}, + {"id": "pg.functions.geometry.isopen.ka57eaf9819a2", "category": "functions:executed", "sql": "SELECT ISOPEN ( PATH '[(0,0),(1,1)]' )", "type": "boolean"}, + {"id": "pg.functions.geometry.length.kee359edd9720", "category": "functions:semantic", "sql": "SELECT LENGTH ( BOX '((0,0),(1,1))' )", "error": "function length(box) does not exist at character 34"}, + {"id": "pg.functions.geometry.line.k0478fdd6a668", "category": "functions:runtime", "sql": "SELECT LINE ( POINT '(0,0)' , POINT '(0,0)' )", "type": "line"}, + {"id": "pg.functions.geometry.lseg.k12b5b6c8871f", "category": "functions:executed", "sql": "SELECT LSEG ( POINT '(0,0)' , POINT '(0,0)' )", "type": "lseg"}, + {"id": "pg.functions.geometry.lseg.k3af10bc30b24", "category": "functions:executed", "sql": "SELECT LSEG ( BOX '((0,0),(1,1))' )", "type": "lseg"}, + {"id": "pg.functions.geometry.npoints.kde76d61cd62a", "category": "functions:semantic", "sql": "SELECT NPOINTS ( BOX '((0,0),(1,1))' )", "error": "function npoints(box) does not exist at character 34"}, + {"id": "pg.functions.geometry.path.k1441d2b06b66", "category": "functions:semantic", "sql": "SELECT PATH ( v1 )", "error": "column \"v1\" does not exist at character 41"}, + {"id": "pg.functions.geometry.pclose.ke068f0601044", "category": "functions:executed", "sql": "SELECT PCLOSE ( PATH '[(0,0),(1,1)]' )", "type": "path"}, + {"id": "pg.functions.geometry.point.k6f8f64aab06f", "category": "functions:semantic", "sql": "SELECT POINT ( v1 )", "error": "column \"v1\" does not exist at character 42"}, + {"id": "pg.functions.geometry.point.kbfac3344acc5", "category": "functions:executed", "sql": "SELECT POINT ( 1.5 , 1.5 )", "type": "point"}, + {"id": "pg.functions.geometry.point.kf4233446c60c", "category": "functions:executed", "sql": "SELECT POINT ( BOX '((0,0),(1,1))' )", "type": "point"}, + {"id": "pg.functions.geometry.point.kf47e4bbcc23b", "category": "functions:executed", "sql": "SELECT POINT ( LSEG '[(0,0),(1,1)]' )", "type": "point"}, + {"id": "pg.functions.geometry.polygon.k24d1d8b00d58", "category": "functions:executed", "sql": "SELECT POLYGON ( BOX '((0,0),(1,1))' )", "type": "polygon"}, + {"id": "pg.functions.geometry.polygon.k701168685625", "category": "functions:semantic", "sql": "SELECT POLYGON ( v1 )", "error": "column \"v1\" does not exist at character 44"}, + {"id": "pg.functions.geometry.polygon.k71d7e2db1e68", "category": "functions:runtime", "sql": "SELECT POLYGON ( PATH '[(0,0),(1,1)]' )", "type": "polygon"}, + {"id": "pg.functions.geometry.polygon.ka147493b44cc", "category": "functions:semantic", "sql": "SELECT POLYGON ( 1 , v1 )", "error": "column \"v1\" does not exist at character 48"}, + {"id": "pg.functions.geometry.popen.kd1d9e4b8872e", "category": "functions:executed", "sql": "SELECT POPEN ( PATH '[(0,0),(1,1)]' )", "type": "path"}, + {"id": "pg.functions.geometry.radius.k90cda5896241", "category": "functions:semantic", "sql": "SELECT RADIUS ( v1 )", "error": "column \"v1\" does not exist at character 43"}, + {"id": "pg.functions.geometry.slope.k506891fc07b7", "category": "functions:executed", "sql": "SELECT SLOPE ( POINT '(0,0)' , POINT '(0,0)' )", "type": "double precision"}, + {"id": "pg.functions.geometry.width.k721e19301397", "category": "functions:executed", "sql": "SELECT WIDTH ( BOX '((0,0),(1,1))' )", "type": "double precision"}, + {"id": "pg.functions.info.acldefault.k877febe50655", "category": "functions:semantic", "sql": "SELECT ACLDEFAULT ( 1 , 1 )", "error": "function acldefault(integer, integer) does not exist at character 34"}, + {"id": "pg.functions.info.aclexplode.k8734a31c00fb", "category": "functions:runtime", "sql": "SELECT ACLEXPLODE ( CAST ( '{}' AS ACLITEM [ ] ) )", "error": "column \"aclexplode\" has pseudo-type record"}, + {"id": "pg.functions.info.age.k35adc4e77f5c", "category": "functions:semantic", "sql": "SELECT AGE ( v1 )", "error": "column \"v1\" does not exist at character 40"}, + {"id": "pg.functions.info.col-description.kaf88f689b5b9", "category": "functions:executed", "sql": "SELECT COL_DESCRIPTION ( 1 , 1 )", "type": "text"}, + {"id": "pg.functions.info.collation-for.kf37483855f6f", "category": "functions:semantic", "sql": "SELECT COLLATION FOR ( 1 )", "type": "text"}, + {"id": "pg.functions.info.current-catalog-noparens.k06119b579299", "category": "functions:executed", "sql": "SELECT CURRENT_CATALOG", "type": "name"}, + {"id": "pg.functions.info.current-database.k82a0bbeb0895", "category": "functions:executed", "sql": "SELECT CURRENT_DATABASE ( )", "type": "name"}, + {"id": "pg.functions.info.current-query.k22ccee46cdf2", "category": "functions:executed", "sql": "SELECT CURRENT_QUERY ( )", "type": "text"}, + {"id": "pg.functions.info.current-role-noparens.k50960c5ebbaf", "category": "functions:executed", "sql": "SELECT CURRENT_ROLE", "type": "name"}, + {"id": "pg.functions.info.current-schema-noparens.k9b54be624d9b", "category": "functions:executed", "sql": "SELECT CURRENT_SCHEMA", "type": "name"}, + {"id": "pg.functions.info.current-schema.kb15c87bf1ac6", "category": "functions:executed", "sql": "SELECT CURRENT_SCHEMA ( )", "type": "name"}, + {"id": "pg.functions.info.current-schemas.kf308bde95196", "category": "functions:semantic", "sql": "SELECT CURRENT_SCHEMAS ( 1 )", "error": "function current_schemas(integer) does not exist at character 34"}, + {"id": "pg.functions.info.current-user-noparens.k828c56c66fec", "category": "functions:executed", "sql": "SELECT CURRENT_USER", "type": "name"}, + {"id": "pg.functions.info.format-type.kd1699e21d8fa", "category": "functions:executed", "sql": "SELECT FORMAT_TYPE ( 1 , 1 )", "type": "text"}, + {"id": "pg.functions.info.has-any-column-privilege.k324e064c2bf8", "category": "functions:semantic", "sql": "SELECT HAS_ANY_COLUMN_PRIVILEGE ( v1 , 1 , 1 )", "error": "column \"v1\" does not exist at character 61"}, + {"id": "pg.functions.info.has-any-column-privilege.k37edd706da78", "category": "functions:semantic", "sql": "SELECT HAS_ANY_COLUMN_PRIVILEGE ( v1 , 1 )", "error": "column \"v1\" does not exist at character 61"}, + {"id": "pg.functions.info.has-any-column-privilege.k41dd43b7f76e", "category": "functions:semantic", "sql": "SELECT HAS_ANY_COLUMN_PRIVILEGE ( 1 , 1 , 1 )", "error": "function has_any_column_privilege(integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.info.has-any-column-privilege.kdb2e1d2e9944", "category": "functions:semantic", "sql": "SELECT HAS_ANY_COLUMN_PRIVILEGE ( v1 , v1 , 1 )", "error": "column \"v1\" does not exist at character 61"}, + {"id": "pg.functions.info.has-any-column-privilege.kf33402705311", "category": "functions:semantic", "sql": "SELECT HAS_ANY_COLUMN_PRIVILEGE ( 1 , 1 )", "error": "function has_any_column_privilege(integer, integer) does not exist at character 34"}, + {"id": "pg.functions.info.has-column-privilege.k0f5873436c84", "category": "functions:semantic", "sql": "SELECT HAS_COLUMN_PRIVILEGE ( v1 , 1 , 1 )", "error": "column \"v1\" does not exist at character 57"}, + {"id": "pg.functions.info.has-column-privilege.k48ac8d2b647a", "category": "functions:semantic", "sql": "SELECT HAS_COLUMN_PRIVILEGE ( 1 , 1 , 1 , 1 )", "error": "function has_column_privilege(integer, integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.info.has-column-privilege.k933587a12073", "category": "functions:semantic", "sql": "SELECT HAS_COLUMN_PRIVILEGE ( 1 , 1 , 1 )", "error": "function has_column_privilege(integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.info.has-column-privilege.kc58a28aa773b", "category": "functions:semantic", "sql": "SELECT HAS_COLUMN_PRIVILEGE ( v1 , 1 , 1 , 1 )", "error": "column \"v1\" does not exist at character 57"}, + {"id": "pg.functions.info.has-column-privilege.kdc1516c010e8", "category": "functions:semantic", "sql": "SELECT HAS_COLUMN_PRIVILEGE ( v1 , v1 , 1 , 1 )", "error": "column \"v1\" does not exist at character 57"}, + {"id": "pg.functions.info.has-database-privilege.ka701d7c73f3d", "category": "functions:semantic", "sql": "SELECT HAS_DATABASE_PRIVILEGE ( v1 , v1 , 1 )", "error": "column \"v1\" does not exist at character 59"}, + {"id": "pg.functions.info.has-database-privilege.ka86ab8926c3f", "category": "functions:semantic", "sql": "SELECT HAS_DATABASE_PRIVILEGE ( 1 , 1 , 1 )", "error": "function has_database_privilege(integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.info.has-database-privilege.kba7eeadc557f", "category": "functions:semantic", "sql": "SELECT HAS_DATABASE_PRIVILEGE ( 1 , 1 )", "error": "function has_database_privilege(integer, integer) does not exist at character 34"}, + {"id": "pg.functions.info.has-database-privilege.kee6a4340b0d7", "category": "functions:semantic", "sql": "SELECT HAS_DATABASE_PRIVILEGE ( v1 , 1 , 1 )", "error": "column \"v1\" does not exist at character 59"}, + {"id": "pg.functions.info.has-database-privilege.kf2339b9cdb0e", "category": "functions:semantic", "sql": "SELECT HAS_DATABASE_PRIVILEGE ( v1 , 1 )", "error": "column \"v1\" does not exist at character 59"}, + {"id": "pg.functions.info.has-foreign-data-wrapper-privilege.k2d62f672ac9a", "category": "functions:semantic", "sql": "SELECT HAS_FOREIGN_DATA_WRAPPER_PRIVILEGE ( 1 , 1 )", "error": "function has_foreign_data_wrapper_privilege(integer, integer) does not exist at character 34"}, + {"id": "pg.functions.info.has-foreign-data-wrapper-privilege.kaceb8c3ba777", "category": "functions:semantic", "sql": "SELECT HAS_FOREIGN_DATA_WRAPPER_PRIVILEGE ( v1 , v1 , 1 )", "error": "column \"v1\" does not exist at character 71"}, + {"id": "pg.functions.info.has-foreign-data-wrapper-privilege.kdc9de273d066", "category": "functions:semantic", "sql": "SELECT HAS_FOREIGN_DATA_WRAPPER_PRIVILEGE ( 1 , 1 , 1 )", "error": "function has_foreign_data_wrapper_privilege(integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.info.has-foreign-data-wrapper-privilege.kf2d1cda23fd8", "category": "functions:semantic", "sql": "SELECT HAS_FOREIGN_DATA_WRAPPER_PRIVILEGE ( v1 , 1 , 1 )", "error": "column \"v1\" does not exist at character 71"}, + {"id": "pg.functions.info.has-foreign-data-wrapper-privilege.kf9d95f7da22d", "category": "functions:semantic", "sql": "SELECT HAS_FOREIGN_DATA_WRAPPER_PRIVILEGE ( v1 , 1 )", "error": "column \"v1\" does not exist at character 71"}, + {"id": "pg.functions.info.has-function-privilege.k2b60d45a41e4", "category": "functions:semantic", "sql": "SELECT HAS_FUNCTION_PRIVILEGE ( 1 , 1 , 1 )", "error": "function has_function_privilege(integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.info.has-function-privilege.kb61e3395c29d", "category": "functions:semantic", "sql": "SELECT HAS_FUNCTION_PRIVILEGE ( v1 , v1 , 1 )", "error": "column \"v1\" does not exist at character 59"}, + {"id": "pg.functions.info.has-function-privilege.kb7129e524f53", "category": "functions:semantic", "sql": "SELECT HAS_FUNCTION_PRIVILEGE ( 1 , 1 )", "error": "function has_function_privilege(integer, integer) does not exist at character 34"}, + {"id": "pg.functions.info.has-function-privilege.kbd7ce630ccdf", "category": "functions:semantic", "sql": "SELECT HAS_FUNCTION_PRIVILEGE ( v1 , 1 , 1 )", "error": "column \"v1\" does not exist at character 59"}, + {"id": "pg.functions.info.has-function-privilege.kd308d6a0a84b", "category": "functions:semantic", "sql": "SELECT HAS_FUNCTION_PRIVILEGE ( v1 , 1 )", "error": "column \"v1\" does not exist at character 59"}, + {"id": "pg.functions.info.has-language-privilege.k8fb560d8ce30", "category": "functions:semantic", "sql": "SELECT HAS_LANGUAGE_PRIVILEGE ( v1 , 1 , 1 )", "error": "column \"v1\" does not exist at character 59"}, + {"id": "pg.functions.info.has-language-privilege.k9ad6d306fe40", "category": "functions:semantic", "sql": "SELECT HAS_LANGUAGE_PRIVILEGE ( v1 , v1 , 1 )", "error": "column \"v1\" does not exist at character 59"}, + {"id": "pg.functions.info.has-language-privilege.kb2ce8de55527", "category": "functions:semantic", "sql": "SELECT HAS_LANGUAGE_PRIVILEGE ( v1 , 1 )", "error": "column \"v1\" does not exist at character 59"}, + {"id": "pg.functions.info.has-language-privilege.kf9665ea09859", "category": "functions:semantic", "sql": "SELECT HAS_LANGUAGE_PRIVILEGE ( 1 , 1 )", "error": "function has_language_privilege(integer, integer) does not exist at character 34"}, + {"id": "pg.functions.info.has-language-privilege.kff8336d1be95", "category": "functions:semantic", "sql": "SELECT HAS_LANGUAGE_PRIVILEGE ( 1 , 1 , 1 )", "error": "function has_language_privilege(integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.info.has-largeobject-privilege.k0680fda5b526", "category": "functions:semantic", "sql": "SELECT HAS_LARGEOBJECT_PRIVILEGE ( v1 , 1 , 1 )", "error": "column \"v1\" does not exist at character 62"}, + {"id": "pg.functions.info.has-largeobject-privilege.k6c9edb221003", "category": "functions:semantic", "sql": "SELECT HAS_LARGEOBJECT_PRIVILEGE ( 1 , 1 )", "error": "function has_largeobject_privilege(integer, integer) does not exist at character 34"}, + {"id": "pg.functions.info.has-largeobject-privilege.k99b7115dc89b", "category": "functions:semantic", "sql": "SELECT HAS_LARGEOBJECT_PRIVILEGE ( 1 , 1 , 1 )", "error": "function has_largeobject_privilege(integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.info.has-parameter-privilege.k31c14ee267d7", "category": "functions:semantic", "sql": "SELECT HAS_PARAMETER_PRIVILEGE ( v1 , 1 , 1 )", "error": "column \"v1\" does not exist at character 60"}, + {"id": "pg.functions.info.has-parameter-privilege.ka1e0d37568f8", "category": "functions:semantic", "sql": "SELECT HAS_PARAMETER_PRIVILEGE ( 1 , 1 , 1 )", "error": "function has_parameter_privilege(integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.info.has-parameter-privilege.kb57183deb9ed", "category": "functions:semantic", "sql": "SELECT HAS_PARAMETER_PRIVILEGE ( 1 , 1 )", "error": "function has_parameter_privilege(integer, integer) does not exist at character 34"}, + {"id": "pg.functions.info.has-schema-privilege.k1f9c74987aca", "category": "functions:semantic", "sql": "SELECT HAS_SCHEMA_PRIVILEGE ( v1 , 1 , 1 )", "error": "column \"v1\" does not exist at character 57"}, + {"id": "pg.functions.info.has-schema-privilege.k4345a4ce2d4c", "category": "functions:semantic", "sql": "SELECT HAS_SCHEMA_PRIVILEGE ( 1 , 1 )", "error": "function has_schema_privilege(integer, integer) does not exist at character 34"}, + {"id": "pg.functions.info.has-schema-privilege.k75145755e99c", "category": "functions:semantic", "sql": "SELECT HAS_SCHEMA_PRIVILEGE ( 1 , 1 , 1 )", "error": "function has_schema_privilege(integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.info.has-schema-privilege.k80c7a50a867b", "category": "functions:semantic", "sql": "SELECT HAS_SCHEMA_PRIVILEGE ( v1 , v1 , 1 )", "error": "column \"v1\" does not exist at character 57"}, + {"id": "pg.functions.info.has-schema-privilege.ka28eb2eaaa9f", "category": "functions:semantic", "sql": "SELECT HAS_SCHEMA_PRIVILEGE ( v1 , 1 )", "error": "column \"v1\" does not exist at character 57"}, + {"id": "pg.functions.info.has-sequence-privilege.k06fddc0e4f71", "category": "functions:semantic", "sql": "SELECT HAS_SEQUENCE_PRIVILEGE ( v1 , 1 )", "error": "column \"v1\" does not exist at character 59"}, + {"id": "pg.functions.info.has-sequence-privilege.k21598f8d4d4c", "category": "functions:semantic", "sql": "SELECT HAS_SEQUENCE_PRIVILEGE ( 1 , 1 , 1 )", "error": "function has_sequence_privilege(integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.info.has-sequence-privilege.k42bd3b0838c5", "category": "functions:semantic", "sql": "SELECT HAS_SEQUENCE_PRIVILEGE ( 1 , 1 )", "error": "function has_sequence_privilege(integer, integer) does not exist at character 34"}, + {"id": "pg.functions.info.has-sequence-privilege.k53b713564172", "category": "functions:semantic", "sql": "SELECT HAS_SEQUENCE_PRIVILEGE ( v1 , 1 , 1 )", "error": "column \"v1\" does not exist at character 59"}, + {"id": "pg.functions.info.has-sequence-privilege.kd86c26425adf", "category": "functions:semantic", "sql": "SELECT HAS_SEQUENCE_PRIVILEGE ( v1 , v1 , 1 )", "error": "column \"v1\" does not exist at character 59"}, + {"id": "pg.functions.info.has-server-privilege.k52970205241c", "category": "functions:semantic", "sql": "SELECT HAS_SERVER_PRIVILEGE ( v1 , v1 , 1 )", "error": "column \"v1\" does not exist at character 57"}, + {"id": "pg.functions.info.has-server-privilege.k73706856311b", "category": "functions:semantic", "sql": "SELECT HAS_SERVER_PRIVILEGE ( v1 , 1 )", "error": "column \"v1\" does not exist at character 57"}, + {"id": "pg.functions.info.has-server-privilege.ka2e67db6b836", "category": "functions:semantic", "sql": "SELECT HAS_SERVER_PRIVILEGE ( 1 , 1 )", "error": "function has_server_privilege(integer, integer) does not exist at character 34"}, + {"id": "pg.functions.info.has-server-privilege.kec9c17da7f40", "category": "functions:semantic", "sql": "SELECT HAS_SERVER_PRIVILEGE ( 1 , 1 , 1 )", "error": "function has_server_privilege(integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.info.has-server-privilege.kf5cc617563be", "category": "functions:semantic", "sql": "SELECT HAS_SERVER_PRIVILEGE ( v1 , 1 , 1 )", "error": "column \"v1\" does not exist at character 57"}, + {"id": "pg.functions.info.has-table-privilege.k1d5f9211b2bb", "category": "functions:semantic", "sql": "SELECT HAS_TABLE_PRIVILEGE ( v1 , 1 , 1 )", "error": "column \"v1\" does not exist at character 56"}, + {"id": "pg.functions.info.has-table-privilege.k22e8bb77833a", "category": "functions:semantic", "sql": "SELECT HAS_TABLE_PRIVILEGE ( v1 , v1 , 1 )", "error": "column \"v1\" does not exist at character 56"}, + {"id": "pg.functions.info.has-table-privilege.kd42abb3f5954", "category": "functions:semantic", "sql": "SELECT HAS_TABLE_PRIVILEGE ( 1 , 1 , 1 )", "error": "function has_table_privilege(integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.info.has-table-privilege.kd454fd07c28b", "category": "functions:semantic", "sql": "SELECT HAS_TABLE_PRIVILEGE ( 1 , 1 )", "error": "function has_table_privilege(integer, integer) does not exist at character 34"}, + {"id": "pg.functions.info.has-table-privilege.kfc0c01ec39d7", "category": "functions:semantic", "sql": "SELECT HAS_TABLE_PRIVILEGE ( v1 , 1 )", "error": "column \"v1\" does not exist at character 56"}, + {"id": "pg.functions.info.has-tablespace-privilege.k05fa12487806", "category": "functions:semantic", "sql": "SELECT HAS_TABLESPACE_PRIVILEGE ( 1 , 1 , 1 )", "error": "function has_tablespace_privilege(integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.info.has-tablespace-privilege.k926e14323474", "category": "functions:semantic", "sql": "SELECT HAS_TABLESPACE_PRIVILEGE ( v1 , v1 , 1 )", "error": "column \"v1\" does not exist at character 61"}, + {"id": "pg.functions.info.has-tablespace-privilege.kbacafb097315", "category": "functions:semantic", "sql": "SELECT HAS_TABLESPACE_PRIVILEGE ( 1 , 1 )", "error": "function has_tablespace_privilege(integer, integer) does not exist at character 34"}, + {"id": "pg.functions.info.has-tablespace-privilege.kf68d06f1567d", "category": "functions:semantic", "sql": "SELECT HAS_TABLESPACE_PRIVILEGE ( v1 , 1 , 1 )", "error": "column \"v1\" does not exist at character 61"}, + {"id": "pg.functions.info.has-tablespace-privilege.kfa5e3b3947a5", "category": "functions:semantic", "sql": "SELECT HAS_TABLESPACE_PRIVILEGE ( v1 , 1 )", "error": "column \"v1\" does not exist at character 61"}, + {"id": "pg.functions.info.has-type-privilege.k3b9a524d36d9", "category": "functions:semantic", "sql": "SELECT HAS_TYPE_PRIVILEGE ( v1 , 1 )", "error": "column \"v1\" does not exist at character 55"}, + {"id": "pg.functions.info.has-type-privilege.k482cc2c753d7", "category": "functions:semantic", "sql": "SELECT HAS_TYPE_PRIVILEGE ( v1 , 1 , 1 )", "error": "column \"v1\" does not exist at character 55"}, + {"id": "pg.functions.info.has-type-privilege.k7222f480aa4d", "category": "functions:semantic", "sql": "SELECT HAS_TYPE_PRIVILEGE ( v1 , v1 , 1 )", "error": "column \"v1\" does not exist at character 55"}, + {"id": "pg.functions.info.has-type-privilege.kc6aacf200783", "category": "functions:semantic", "sql": "SELECT HAS_TYPE_PRIVILEGE ( 1 , 1 )", "error": "function has_type_privilege(integer, integer) does not exist at character 34"}, + {"id": "pg.functions.info.has-type-privilege.kd1cad657a4ca", "category": "functions:semantic", "sql": "SELECT HAS_TYPE_PRIVILEGE ( 1 , 1 , 1 )", "error": "function has_type_privilege(integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.info.icu-unicode-version.kbba75b2f5985", "category": "functions:executed", "sql": "SELECT ICU_UNICODE_VERSION ( )", "type": "text"}, + {"id": "pg.functions.info.inet-client-addr.k878d3c49b296", "category": "functions:executed", "sql": "SELECT INET_CLIENT_ADDR ( )", "type": "inet"}, + {"id": "pg.functions.info.inet-client-port.k1c2c0f78ced7", "category": "functions:executed", "sql": "SELECT INET_CLIENT_PORT ( )", "type": "integer"}, + {"id": "pg.functions.info.inet-server-addr.k07e3b3dc66fb", "category": "functions:executed", "sql": "SELECT INET_SERVER_ADDR ( )", "type": "inet"}, + {"id": "pg.functions.info.inet-server-port.kf49b44f8e11a", "category": "functions:executed", "sql": "SELECT INET_SERVER_PORT ( )", "type": "integer"}, + {"id": "pg.functions.info.makeaclitem.kd0e9130370dc", "category": "functions:semantic", "sql": "SELECT MAKEACLITEM ( 1 , 1 , 1 , 1 )", "error": "function makeaclitem(integer, integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.info.mxid-age.ke19b3e803905", "category": "functions:semantic", "sql": "SELECT MXID_AGE ( v1 )", "error": "column \"v1\" does not exist at character 45"}, + {"id": "pg.functions.info.obj-description.k6a0fed472500", "category": "functions:semantic", "sql": "SELECT OBJ_DESCRIPTION ( 1 , 1 )", "error": "function obj_description(integer, integer) does not exist at character 34"}, + {"id": "pg.functions.info.obj-description.k8c9c2a8973de", "category": "functions:executed", "sql": "SELECT OBJ_DESCRIPTION ( 1 )", "type": "text"}, + {"id": "pg.functions.info.pg-available-wal-summaries.k758040329679", "category": "functions:executed", "sql": "SELECT PG_AVAILABLE_WAL_SUMMARIES ( )", "error": "column \"pg_available_wal_summaries\" has pseudo-type record"}, + {"id": "pg.functions.info.pg-backend-pid.k304f2f40be7f", "category": "functions:executed", "sql": "SELECT PG_BACKEND_PID ( )", "type": "integer"}, + {"id": "pg.functions.info.pg-basetype.k9ef901f46677", "category": "functions:semantic", "sql": "SELECT PG_BASETYPE ( v1 )", "error": "column \"v1\" does not exist at character 48"}, + {"id": "pg.functions.info.pg-blocking-pids.kb5bec9983bee", "category": "functions:executed", "sql": "SELECT PG_BLOCKING_PIDS ( 1 )", "type": "integer[]"}, + {"id": "pg.functions.info.pg-char-to-encoding.k85b2f83331b1", "category": "functions:semantic", "sql": "SELECT PG_CHAR_TO_ENCODING ( 1 )", "error": "function pg_char_to_encoding(integer) does not exist at character 34"}, + {"id": "pg.functions.info.pg-collation-is-visible.k47ba937ab801", "category": "functions:executed", "sql": "SELECT PG_COLLATION_IS_VISIBLE ( 1 )", "type": "boolean"}, + {"id": "pg.functions.info.pg-conf-load-time.k5649b7a655ae", "category": "functions:executed", "sql": "SELECT PG_CONF_LOAD_TIME ( )", "type": "timestamp with time zone"}, + {"id": "pg.functions.info.pg-control-checkpoint.kf80b00de9951", "category": "functions:executed", "sql": "SELECT PG_CONTROL_CHECKPOINT ( )", "error": "column \"pg_control_checkpoint\" has pseudo-type record"}, + {"id": "pg.functions.info.pg-control-init.kc353b4ee83b3", "category": "functions:executed", "sql": "SELECT PG_CONTROL_INIT ( )", "error": "column \"pg_control_init\" has pseudo-type record"}, + {"id": "pg.functions.info.pg-control-recovery.k84b85d6a4906", "category": "functions:executed", "sql": "SELECT PG_CONTROL_RECOVERY ( )", "error": "column \"pg_control_recovery\" has pseudo-type record"}, + {"id": "pg.functions.info.pg-control-system.k218af0fd01ad", "category": "functions:executed", "sql": "SELECT PG_CONTROL_SYSTEM ( )", "error": "column \"pg_control_system\" has pseudo-type record"}, + {"id": "pg.functions.info.pg-conversion-is-visible.kee2759f9f7c2", "category": "functions:executed", "sql": "SELECT PG_CONVERSION_IS_VISIBLE ( 1 )", "type": "boolean"}, + {"id": "pg.functions.info.pg-current-logfile.k099c180dff47", "category": "functions:executed", "sql": "SELECT PG_CURRENT_LOGFILE ( )", "type": "text"}, + {"id": "pg.functions.info.pg-current-logfile.kab3092b09aa2", "category": "functions:runtime", "sql": "SELECT PG_CURRENT_LOGFILE ( 'day' )", "type": "text"}, + {"id": "pg.functions.info.pg-current-snapshot.k8308cb3f8f27", "category": "functions:executed", "sql": "SELECT PG_CURRENT_SNAPSHOT ( )", "type": "pg_snapshot"}, + {"id": "pg.functions.info.pg-current-xact-id-if-assigned.k42eec43d60e1", "category": "functions:executed", "sql": "SELECT PG_CURRENT_XACT_ID_IF_ASSIGNED ( )", "type": "xid8"}, + {"id": "pg.functions.info.pg-current-xact-id.k03648772e9d2", "category": "functions:executed", "sql": "SELECT PG_CURRENT_XACT_ID ( )", "type": "xid8"}, + {"id": "pg.functions.info.pg-describe-object.k8ed647dd266b", "category": "functions:runtime", "sql": "SELECT PG_DESCRIBE_OBJECT ( 1 , 1 , 1 )", "type": "text"}, + {"id": "pg.functions.info.pg-encoding-to-char.k6f4587171f0b", "category": "functions:executed", "sql": "SELECT PG_ENCODING_TO_CHAR ( 1 )", "type": "name"}, + {"id": "pg.functions.info.pg-function-is-visible.kbf37251f4d14", "category": "functions:executed", "sql": "SELECT PG_FUNCTION_IS_VISIBLE ( 1 )", "type": "boolean"}, + {"id": "pg.functions.info.pg-get-acl.kabb4bb50190a", "category": "functions:runtime", "sql": "SELECT PG_GET_ACL ( 1 , 1 , 1 )", "type": "aclitem[]"}, + {"id": "pg.functions.info.pg-get-catalog-foreign-keys.kc42ead6096d7", "category": "functions:executed", "sql": "SELECT PG_GET_CATALOG_FOREIGN_KEYS ( )", "error": "column \"pg_get_catalog_foreign_keys\" has pseudo-type record"}, + {"id": "pg.functions.info.pg-get-constraintdef.k73f5a31c81cb", "category": "functions:executed", "sql": "SELECT PG_GET_CONSTRAINTDEF ( 1 )", "type": "text"}, + {"id": "pg.functions.info.pg-get-constraintdef.kdf710a18336a", "category": "functions:semantic", "sql": "SELECT PG_GET_CONSTRAINTDEF ( 1 , 1 )", "error": "function pg_get_constraintdef(integer, integer) does not exist at character 34"}, + {"id": "pg.functions.info.pg-get-expr.kd8db1daaea56", "category": "functions:semantic", "sql": "SELECT PG_GET_EXPR ( 1 , 1 , 1 )", "error": "function pg_get_expr(integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.info.pg-get-expr.kfc0a3fdf8f74", "category": "functions:semantic", "sql": "SELECT PG_GET_EXPR ( 1 , 1 )", "error": "function pg_get_expr(integer, integer) does not exist at character 34"}, + {"id": "pg.functions.info.pg-get-function-arguments.k93c473b5c1a0", "category": "functions:executed", "sql": "SELECT PG_GET_FUNCTION_ARGUMENTS ( 1 )", "type": "text"}, + {"id": "pg.functions.info.pg-get-function-identity-arguments.k59e266704f9e", "category": "functions:executed", "sql": "SELECT PG_GET_FUNCTION_IDENTITY_ARGUMENTS ( 1 )", "type": "text"}, + {"id": "pg.functions.info.pg-get-function-result.k791a614c3848", "category": "functions:executed", "sql": "SELECT PG_GET_FUNCTION_RESULT ( 1 )", "type": "text"}, + {"id": "pg.functions.info.pg-get-functiondef.kc3972debf96a", "category": "functions:executed", "sql": "SELECT PG_GET_FUNCTIONDEF ( 1 )", "type": "text"}, + {"id": "pg.functions.info.pg-get-indexdef.k0ef6149c55a6", "category": "functions:semantic", "sql": "SELECT PG_GET_INDEXDEF ( 1 , 1 , 1 )", "error": "function pg_get_indexdef(integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.info.pg-get-indexdef.k287c8813e650", "category": "functions:executed", "sql": "SELECT PG_GET_INDEXDEF ( 1 )", "type": "text"}, + {"id": "pg.functions.info.pg-get-keywords.k6ab464546840", "category": "functions:executed", "sql": "SELECT PG_GET_KEYWORDS ( )", "error": "column \"pg_get_keywords\" has pseudo-type record"}, + {"id": "pg.functions.info.pg-get-loaded-modules.k9cbf9cb65d32", "category": "functions:executed", "sql": "SELECT PG_GET_LOADED_MODULES ( )", "error": "column \"pg_get_loaded_modules\" has pseudo-type record"}, + {"id": "pg.functions.info.pg-get-multixact-members.k1133d9a78aa1", "category": "functions:semantic", "sql": "SELECT PG_GET_MULTIXACT_MEMBERS ( 1 )", "error": "function pg_get_multixact_members(integer) does not exist at character 34"}, + {"id": "pg.functions.info.pg-get-object-address.k5f31cc3a4cdf", "category": "functions:semantic", "sql": "SELECT PG_GET_OBJECT_ADDRESS ( 1 , 1 , 1 )", "error": "function pg_get_object_address(integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.info.pg-get-partition-constraintdef.kcb2eb2e297e2", "category": "functions:executed", "sql": "SELECT PG_GET_PARTITION_CONSTRAINTDEF ( 1 )", "type": "text"}, + {"id": "pg.functions.info.pg-get-partkeydef.k93a4863e4d08", "category": "functions:executed", "sql": "SELECT PG_GET_PARTKEYDEF ( 1 )", "type": "text"}, + {"id": "pg.functions.info.pg-get-ruledef.k0ba1e1be9827", "category": "functions:semantic", "sql": "SELECT PG_GET_RULEDEF ( 1 , 1 )", "error": "function pg_get_ruledef(integer, integer) does not exist at character 34"}, + {"id": "pg.functions.info.pg-get-ruledef.kb2fca7b59d0f", "category": "functions:executed", "sql": "SELECT PG_GET_RULEDEF ( 1 )", "type": "text"}, + {"id": "pg.functions.info.pg-get-serial-sequence.kd0f3de5b9331", "category": "functions:semantic", "sql": "SELECT PG_GET_SERIAL_SEQUENCE ( 1 , 1 )", "error": "function pg_get_serial_sequence(integer, integer) does not exist at character 34"}, + {"id": "pg.functions.info.pg-get-statisticsobjdef.k87c3e6cba94f", "category": "functions:executed", "sql": "SELECT PG_GET_STATISTICSOBJDEF ( 1 )", "type": "text"}, + {"id": "pg.functions.info.pg-get-triggerdef.k863db560aae3", "category": "functions:executed", "sql": "SELECT PG_GET_TRIGGERDEF ( 1 )", "type": "text"}, + {"id": "pg.functions.info.pg-get-triggerdef.k952a8572e3d6", "category": "functions:semantic", "sql": "SELECT PG_GET_TRIGGERDEF ( 1 , 1 )", "error": "function pg_get_triggerdef(integer, integer) does not exist at character 34"}, + {"id": "pg.functions.info.pg-get-userbyid.k302c9660d9da", "category": "functions:executed", "sql": "SELECT PG_GET_USERBYID ( 1 )", "type": "name"}, + {"id": "pg.functions.info.pg-get-viewdef.k3a84adb94fa7", "category": "functions:executed", "sql": "SELECT PG_GET_VIEWDEF ( 1 , 1 )", "type": "text"}, + {"id": "pg.functions.info.pg-get-viewdef.kbd554e2902fa", "category": "functions:executed", "sql": "SELECT PG_GET_VIEWDEF ( 1 )", "type": "text"}, + {"id": "pg.functions.info.pg-get-wal-summarizer-state.kef23e2c0a65c", "category": "functions:executed", "sql": "SELECT PG_GET_WAL_SUMMARIZER_STATE ( )", "error": "column \"pg_get_wal_summarizer_state\" has pseudo-type record"}, + {"id": "pg.functions.info.pg-has-role.k01c60d4a413c", "category": "functions:semantic", "sql": "SELECT PG_HAS_ROLE ( v1 , v1 , 1 )", "error": "column \"v1\" does not exist at character 48"}, + {"id": "pg.functions.info.pg-has-role.k5ce6042d9968", "category": "functions:semantic", "sql": "SELECT PG_HAS_ROLE ( v1 , 1 )", "error": "column \"v1\" does not exist at character 48"}, + {"id": "pg.functions.info.pg-has-role.k6619a70f5028", "category": "functions:semantic", "sql": "SELECT PG_HAS_ROLE ( 1 , 1 )", "error": "function pg_has_role(integer, integer) does not exist at character 34"}, + {"id": "pg.functions.info.pg-has-role.k6eb27b70b704", "category": "functions:semantic", "sql": "SELECT PG_HAS_ROLE ( 1 , 1 , 1 )", "error": "function pg_has_role(integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.info.pg-has-role.kd21001e99f4e", "category": "functions:semantic", "sql": "SELECT PG_HAS_ROLE ( v1 , 1 , 1 )", "error": "column \"v1\" does not exist at character 48"}, + {"id": "pg.functions.info.pg-identify-object-as-address.k0367d7085c68", "category": "functions:runtime", "sql": "SELECT PG_IDENTIFY_OBJECT_AS_ADDRESS ( 1 , 1 , 1 )", "error": "column \"pg_identify_object_as_address\" has pseudo-type record"}, + {"id": "pg.functions.info.pg-identify-object.kd7d17d797d7d", "category": "functions:runtime", "sql": "SELECT PG_IDENTIFY_OBJECT ( 1 , 1 , 1 )", "error": "column \"pg_identify_object\" has pseudo-type record"}, + {"id": "pg.functions.info.pg-index-column-has-property.kca109eab19d7", "category": "functions:semantic", "sql": "SELECT PG_INDEX_COLUMN_HAS_PROPERTY ( 1 , 1 , 1 )", "error": "function pg_index_column_has_property(integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.info.pg-index-has-property.k087b664831f8", "category": "functions:semantic", "sql": "SELECT PG_INDEX_HAS_PROPERTY ( 1 , 1 )", "error": "function pg_index_has_property(integer, integer) does not exist at character 34"}, + {"id": "pg.functions.info.pg-indexam-has-property.k4d663be20531", "category": "functions:semantic", "sql": "SELECT PG_INDEXAM_HAS_PROPERTY ( 1 , 1 )", "error": "function pg_indexam_has_property(integer, integer) does not exist at character 34"}, + {"id": "pg.functions.info.pg-input-error-info.k76b83470f097", "category": "functions:semantic", "sql": "SELECT PG_INPUT_ERROR_INFO ( 1 , 1 )", "error": "function pg_input_error_info(integer, integer) does not exist at character 34"}, + {"id": "pg.functions.info.pg-input-is-valid.k56a0e6ce0f23", "category": "functions:semantic", "sql": "SELECT PG_INPUT_IS_VALID ( 1 , 1 )", "error": "function pg_input_is_valid(integer, integer) does not exist at character 34"}, + {"id": "pg.functions.info.pg-is-other-temp-schema.kcfd15877f7ad", "category": "functions:semantic", "sql": "SELECT PG_IS_OTHER_TEMP_SCHEMA ( v1 )", "error": "column \"v1\" does not exist at character 60"}, + {"id": "pg.functions.info.pg-jit-available.k5fe680f2f624", "category": "functions:executed", "sql": "SELECT PG_JIT_AVAILABLE ( )", "type": "boolean"}, + {"id": "pg.functions.info.pg-last-committed-xact.k1f2f6d587c8f", "category": "functions:runtime", "sql": "SELECT PG_LAST_COMMITTED_XACT ( )", "error": "column \"pg_last_committed_xact\" has pseudo-type record"}, + {"id": "pg.functions.info.pg-listening-channels.kbc6aed6f4c34", "category": "functions:executed", "sql": "SELECT PG_LISTENING_CHANNELS ( )", "type": "text"}, + {"id": "pg.functions.info.pg-my-temp-schema.k5535d5357cd8", "category": "functions:executed", "sql": "SELECT PG_MY_TEMP_SCHEMA ( )", "type": "oid"}, + {"id": "pg.functions.info.pg-notification-queue-usage.kf0186365cf76", "category": "functions:executed", "sql": "SELECT PG_NOTIFICATION_QUEUE_USAGE ( )", "type": "double precision"}, + {"id": "pg.functions.info.pg-numa-available.k8b5f7c8464fb", "category": "functions:executed", "sql": "SELECT PG_NUMA_AVAILABLE ( )", "type": "boolean"}, + {"id": "pg.functions.info.pg-opclass-is-visible.k861cd4741c76", "category": "functions:executed", "sql": "SELECT PG_OPCLASS_IS_VISIBLE ( 1 )", "type": "boolean"}, + {"id": "pg.functions.info.pg-operator-is-visible.kf6d64360614f", "category": "functions:executed", "sql": "SELECT PG_OPERATOR_IS_VISIBLE ( 1 )", "type": "boolean"}, + {"id": "pg.functions.info.pg-opfamily-is-visible.k05276b65119e", "category": "functions:executed", "sql": "SELECT PG_OPFAMILY_IS_VISIBLE ( 1 )", "type": "boolean"}, + {"id": "pg.functions.info.pg-options-to-table.k469807de47b2", "category": "functions:semantic", "sql": "SELECT PG_OPTIONS_TO_TABLE ( 1 )", "error": "function pg_options_to_table(integer) does not exist at character 34"}, + {"id": "pg.functions.info.pg-postmaster-start-time.k740780bb38d1", "category": "functions:executed", "sql": "SELECT PG_POSTMASTER_START_TIME ( )", "type": "timestamp with time zone"}, + {"id": "pg.functions.info.pg-safe-snapshot-blocking-pids.kcdee8012bca3", "category": "functions:executed", "sql": "SELECT PG_SAFE_SNAPSHOT_BLOCKING_PIDS ( 1 )", "type": "integer[]"}, + {"id": "pg.functions.info.pg-settings-get-flags.k55a22b4e8b51", "category": "functions:semantic", "sql": "SELECT PG_SETTINGS_GET_FLAGS ( 1 )", "error": "function pg_settings_get_flags(integer) does not exist at character 34"}, + {"id": "pg.functions.info.pg-snapshot-xip.ka280bbf14e14", "category": "functions:semantic", "sql": "SELECT PG_SNAPSHOT_XIP ( v1 )", "error": "column \"v1\" does not exist at character 52"}, + {"id": "pg.functions.info.pg-snapshot-xmax.k71e5bd067d81", "category": "functions:semantic", "sql": "SELECT PG_SNAPSHOT_XMAX ( v1 )", "error": "column \"v1\" does not exist at character 53"}, + {"id": "pg.functions.info.pg-snapshot-xmin.k075b7c31fdb3", "category": "functions:semantic", "sql": "SELECT PG_SNAPSHOT_XMIN ( v1 )", "error": "column \"v1\" does not exist at character 53"}, + {"id": "pg.functions.info.pg-statistics-obj-is-visible.k05982e42c469", "category": "functions:executed", "sql": "SELECT PG_STATISTICS_OBJ_IS_VISIBLE ( 1 )", "type": "boolean"}, + {"id": "pg.functions.info.pg-table-is-visible.kd26614790997", "category": "functions:executed", "sql": "SELECT PG_TABLE_IS_VISIBLE ( 1 )", "type": "boolean"}, + {"id": "pg.functions.info.pg-tablespace-databases.k20290ed48f66", "category": "functions:executed", "sql": "SELECT PG_TABLESPACE_DATABASES ( 1 )", "type": "oid"}, + {"id": "pg.functions.info.pg-tablespace-location.k12ecfe4e5ead", "category": "functions:runtime", "sql": "SELECT PG_TABLESPACE_LOCATION ( 1 )", "type": "text"}, + {"id": "pg.functions.info.pg-trigger-depth.k083f1341a4a2", "category": "functions:executed", "sql": "SELECT PG_TRIGGER_DEPTH ( )", "type": "integer"}, + {"id": "pg.functions.info.pg-ts-config-is-visible.k640f70883419", "category": "functions:executed", "sql": "SELECT PG_TS_CONFIG_IS_VISIBLE ( 1 )", "type": "boolean"}, + {"id": "pg.functions.info.pg-ts-dict-is-visible.k8df8fca36db2", "category": "functions:executed", "sql": "SELECT PG_TS_DICT_IS_VISIBLE ( 1 )", "type": "boolean"}, + {"id": "pg.functions.info.pg-ts-parser-is-visible.k8515aef02aed", "category": "functions:executed", "sql": "SELECT PG_TS_PARSER_IS_VISIBLE ( 1 )", "type": "boolean"}, + {"id": "pg.functions.info.pg-ts-template-is-visible.k7549e1ac6250", "category": "functions:executed", "sql": "SELECT PG_TS_TEMPLATE_IS_VISIBLE ( 1 )", "type": "boolean"}, + {"id": "pg.functions.info.pg-type-is-visible.k5d0f55c90db4", "category": "functions:executed", "sql": "SELECT PG_TYPE_IS_VISIBLE ( 1 )", "type": "boolean"}, + {"id": "pg.functions.info.pg-typeof.k85980af63cac", "category": "functions:executed", "sql": "SELECT PG_TYPEOF ( 1 )", "type": "regtype"}, + {"id": "pg.functions.info.pg-visible-in-snapshot.k6259b197329e", "category": "functions:semantic", "sql": "SELECT PG_VISIBLE_IN_SNAPSHOT ( v1 , v1 )", "error": "column \"v1\" does not exist at character 59"}, + {"id": "pg.functions.info.pg-wal-summary-contents.kcf8533edaaec", "category": "functions:semantic", "sql": "SELECT PG_WAL_SUMMARY_CONTENTS ( 1 , 1 , 1 )", "error": "function pg_wal_summary_contents(integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.info.pg-xact-commit-timestamp-origin.k44030cbbb8c3", "category": "functions:semantic", "sql": "SELECT PG_XACT_COMMIT_TIMESTAMP_ORIGIN ( v1 )", "error": "column \"v1\" does not exist at character 68"}, + {"id": "pg.functions.info.pg-xact-commit-timestamp.kd0216f351277", "category": "functions:semantic", "sql": "SELECT PG_XACT_COMMIT_TIMESTAMP ( v1 )", "error": "column \"v1\" does not exist at character 61"}, + {"id": "pg.functions.info.pg-xact-status.k1e39eb897420", "category": "functions:semantic", "sql": "SELECT PG_XACT_STATUS ( v1 )", "error": "column \"v1\" does not exist at character 51"}, + {"id": "pg.functions.info.row-security-active.k08e022defe81", "category": "functions:executed", "sql": "SELECT ROW_SECURITY_ACTIVE ( 1 )", "type": "boolean"}, + {"id": "pg.functions.info.row-security-active.k0f78e4d44a45", "category": "functions:semantic", "sql": "SELECT ROW_SECURITY_ACTIVE ( v1 )", "error": "column \"v1\" does not exist at character 56"}, + {"id": "pg.functions.info.session-user-noparens.k99f64f5bebbf", "category": "functions:executed", "sql": "SELECT SESSION_USER", "type": "name"}, + {"id": "pg.functions.info.shobj-description.k3a8bed85b256", "category": "functions:semantic", "sql": "SELECT SHOBJ_DESCRIPTION ( 1 , 1 )", "error": "function shobj_description(integer, integer) does not exist at character 34"}, + {"id": "pg.functions.info.system-user-noparens.k5167e5672e7a", "category": "functions:executed", "sql": "SELECT SYSTEM_USER", "type": "text"}, + {"id": "pg.functions.info.to-regclass.k2766d6596890", "category": "functions:executed", "sql": "SELECT TO_REGCLASS ( 'day' )", "type": "regclass"}, + {"id": "pg.functions.info.to-regcollation.k2399dc50b2dd", "category": "functions:executed", "sql": "SELECT TO_REGCOLLATION ( 'day' )", "type": "regcollation"}, + {"id": "pg.functions.info.to-regnamespace.k7e6b8a47902a", "category": "functions:executed", "sql": "SELECT TO_REGNAMESPACE ( 'day' )", "type": "regnamespace"}, + {"id": "pg.functions.info.to-regoper.k4a8e77dcd7fe", "category": "functions:executed", "sql": "SELECT TO_REGOPER ( 'day' )", "type": "regoper"}, + {"id": "pg.functions.info.to-regoperator.kf87794f567f3", "category": "functions:executed", "sql": "SELECT TO_REGOPERATOR ( 'day' )", "type": "regoperator"}, + {"id": "pg.functions.info.to-regproc.k8ae7aab59e9b", "category": "functions:executed", "sql": "SELECT TO_REGPROC ( 'day' )", "type": "regproc"}, + {"id": "pg.functions.info.to-regprocedure.k28e6088551e5", "category": "functions:executed", "sql": "SELECT TO_REGPROCEDURE ( 'day' )", "type": "regprocedure"}, + {"id": "pg.functions.info.to-regrole.kddad1de5b61f", "category": "functions:executed", "sql": "SELECT TO_REGROLE ( 'day' )", "type": "regrole"}, + {"id": "pg.functions.info.to-regtype.k3688e8c95018", "category": "functions:executed", "sql": "SELECT TO_REGTYPE ( 'day' )", "type": "regtype"}, + {"id": "pg.functions.info.to-regtypemod.k4ac72a4940c8", "category": "functions:executed", "sql": "SELECT TO_REGTYPEMOD ( 'day' )", "type": "integer"}, + {"id": "pg.functions.info.txid-current-if-assigned.k75972e251ef4", "category": "functions:executed", "sql": "SELECT TXID_CURRENT_IF_ASSIGNED ( )", "type": "bigint"}, + {"id": "pg.functions.info.txid-current-snapshot.k3951604460ea", "category": "functions:executed", "sql": "SELECT TXID_CURRENT_SNAPSHOT ( )", "type": "txid_snapshot"}, + {"id": "pg.functions.info.txid-current.k237f5e0e60a5", "category": "functions:executed", "sql": "SELECT TXID_CURRENT ( )", "type": "bigint"}, + {"id": "pg.functions.info.txid-snapshot-xip.k45fd271f4d35", "category": "functions:semantic", "sql": "SELECT TXID_SNAPSHOT_XIP ( v1 )", "error": "column \"v1\" does not exist at character 54"}, + {"id": "pg.functions.info.txid-snapshot-xmax.ke8f70ea50596", "category": "functions:semantic", "sql": "SELECT TXID_SNAPSHOT_XMAX ( v1 )", "error": "column \"v1\" does not exist at character 55"}, + {"id": "pg.functions.info.txid-snapshot-xmin.k313d6872b74c", "category": "functions:semantic", "sql": "SELECT TXID_SNAPSHOT_XMIN ( v1 )", "error": "column \"v1\" does not exist at character 55"}, + {"id": "pg.functions.info.txid-status.k0a10dd5b32da", "category": "functions:executed", "sql": "SELECT TXID_STATUS ( 1 )", "type": "text"}, + {"id": "pg.functions.info.txid-visible-in-snapshot.k851a71489ed3", "category": "functions:semantic", "sql": "SELECT TXID_VISIBLE_IN_SNAPSHOT ( 1 , v1 )", "error": "column \"v1\" does not exist at character 65"}, + {"id": "pg.functions.info.unicode-version.k5c9618c08b31", "category": "functions:executed", "sql": "SELECT UNICODE_VERSION ( )", "type": "text"}, + {"id": "pg.functions.info.user-noparens.k885e64125b96", "category": "functions:executed", "sql": "SELECT USER", "type": "name"}, + {"id": "pg.functions.info.version.k5e2f33bcfc90", "category": "functions:executed", "sql": "SELECT VERSION ( )", "type": "text"}, + {"id": "pg.functions.json.array-to-json.k938a2111d4bc", "category": "functions:executed", "sql": "SELECT ARRAY_TO_JSON ( ARRAY [ 1 ] )", "type": "json"}, + {"id": "pg.functions.json.array-to-json.kdfd407d04f1d", "category": "functions:executed", "sql": "SELECT ARRAY_TO_JSON ( ARRAY [ 1 ] , TRUE )", "type": "json"}, + {"id": "pg.functions.json.json-array-elements-text.kcaf1872e369a", "category": "functions:runtime", "sql": "SELECT JSON_ARRAY_ELEMENTS_TEXT ( JSON '{}' )", "type": "text"}, + {"id": "pg.functions.json.json-array-elements.kcbcbb9d04ea0", "category": "functions:runtime", "sql": "SELECT JSON_ARRAY_ELEMENTS ( JSON '{}' )", "type": "json"}, + {"id": "pg.functions.json.json-array-length.ke62ef5272d00", "category": "functions:runtime", "sql": "SELECT JSON_ARRAY_LENGTH ( JSON '{}' )", "type": "integer"}, + {"id": "pg.functions.json.json-array.k13c143ee39bb", "category": "functions:executed", "sql": "SELECT JSON_ARRAY ( 1 )", "type": "json"}, + {"id": "pg.functions.json.json-array.k1f5cbfb3defe", "category": "functions:executed", "sql": "SELECT JSON_ARRAY ( 1 ABSENT ON NULL )", "type": "json"}, + {"id": "pg.functions.json.json-array.k6bb5e41a857a", "category": "functions:semantic", "sql": "SELECT JSON_ARRAY ( 1 FORMAT JSON , 1 FORMAT JSON NULL ON NULL RETURNING INT FORMAT JSON ENCODING UTF8 )", "error": "cannot use non-string types with explicit FORMAT JSON clause at character 49"}, + {"id": "pg.functions.json.json-array.k7456a6e2adca", "category": "functions:semantic", "sql": "SELECT JSON_ARRAY ( RETURNING INT )", "error": "cannot cast type json to integer"}, + {"id": "pg.functions.json.json-array.k77e5760db494", "category": "functions:executed", "sql": "SELECT JSON_ARRAY ( 1 NULL ON NULL )", "type": "json"}, + {"id": "pg.functions.json.json-array.k8a2d3ba14ccc", "category": "functions:semantic", "sql": "SELECT JSON_ARRAY ( RETURNING INT FORMAT JSON )", "error": "cannot cast type json to integer at character 61"}, + {"id": "pg.functions.json.json-array.kd006030332c4", "category": "functions:executed", "sql": "SELECT JSON_ARRAY ( 1 RETURNING INT FORMAT JSON ENCODING UTF8 )", "error": "cannot set JSON encoding for non-bytea output types at character 63"}, + {"id": "pg.functions.json.json-array.kf6667183385f", "category": "functions:executed", "sql": "SELECT JSON_ARRAY ( )", "type": "json"}, + {"id": "pg.functions.json.json-build-array.k7a50455163f0", "category": "functions:semantic", "sql": "SELECT JSON_BUILD_ARRAY ( VARIADIC 1 )", "error": "VARIADIC argument must be an array at character 62"}, + {"id": "pg.functions.json.json-build-object.k9d2c3ae1ce64", "category": "functions:semantic", "sql": "SELECT JSON_BUILD_OBJECT ( VARIADIC 1 )", "error": "VARIADIC argument must be an array at character 63"}, + {"id": "pg.functions.json.json-each-text.k3877f25fb23f", "category": "functions:executed", "sql": "SELECT JSON_EACH_TEXT ( JSON '{}' )", "error": "column \"json_each_text\" has pseudo-type record"}, + {"id": "pg.functions.json.json-each.k4a5d9d58cb0e", "category": "functions:executed", "sql": "SELECT JSON_EACH ( JSON '{}' )", "error": "column \"json_each\" has pseudo-type record"}, + {"id": "pg.functions.json.json-exists.k79f3b180b638", "category": "functions:semantic", "sql": "SELECT JSON_EXISTS ( v1 , 1 PASSING 1 AS v1 )", "error": "column \"v1\" does not exist at character 48"}, + {"id": "pg.functions.json.json-exists.k822c7203b121", "category": "functions:semantic", "sql": "SELECT JSON_EXISTS ( v1 , 1 FALSE ON ERROR )", "error": "column \"v1\" does not exist at character 48"}, + {"id": "pg.functions.json.json-exists.k82b0a6896710", "category": "functions:semantic", "sql": "SELECT JSON_EXISTS ( v1 , 1 TRUE ON ERROR )", "error": "column \"v1\" does not exist at character 48"}, + {"id": "pg.functions.json.json-exists.ka6556732fc64", "category": "functions:semantic", "sql": "SELECT JSON_EXISTS ( v1 , 1 UNKNOWN ON ERROR )", "error": "column \"v1\" does not exist at character 48"}, + {"id": "pg.functions.json.json-exists.ka84f5f1c2fdd", "category": "functions:semantic", "sql": "SELECT JSON_EXISTS ( v1 , 1 ERROR ON ERROR )", "error": "column \"v1\" does not exist at character 48"}, + {"id": "pg.functions.json.json-exists.kb4faac0e2453", "category": "functions:semantic", "sql": "SELECT JSON_EXISTS ( v1 , 1 )", "error": "column \"v1\" does not exist at character 48"}, + {"id": "pg.functions.json.json-exists.kcaa13f3cd8e9", "category": "functions:semantic", "sql": "SELECT JSON_EXISTS ( v1 , 1 PASSING 1 AS v1 , 1 AS v1 TRUE ON ERROR )", "error": "column \"v1\" does not exist at character 48"}, + {"id": "pg.functions.json.json-extract-path-text.kf48b064734b3", "category": "functions:semantic", "sql": "SELECT JSON_EXTRACT_PATH_TEXT ( 1 , VARIADIC 1 )", "error": "function json_extract_path_text(integer, integer) does not exist at character 34"}, + {"id": "pg.functions.json.json-extract-path.k1c9afe6a10a0", "category": "functions:semantic", "sql": "SELECT JSON_EXTRACT_PATH ( 1 , VARIADIC 1 )", "error": "function json_extract_path(integer, integer) does not exist at character 34"}, + {"id": "pg.functions.json.json-object-keys.k3cfdff0bf146", "category": "functions:executed", "sql": "SELECT JSON_OBJECT_KEYS ( JSON '{}' )", "type": "text"}, + {"id": "pg.functions.json.json-object-value-format-json-encoding.k22516b5d8bc0", "category": "functions:semantic", "sql": "SELECT JSON_OBJECT ( 1 VALUE 1 FORMAT JSON ENCODING UTF8 , 1 VALUE 1 FORMAT JSON ENCODING UTF8 NULL ON NULL WITH UNIQUE KEYS RETURNING INT FORMAT JSON ENCODING UTF8 )", "error": "JSON ENCODING clause is only allowed for bytea input type at character 58"}, + {"id": "pg.functions.json.json-object-value-format-json-encoding.k2dbb006bf027", "category": "functions:semantic", "sql": "SELECT JSON_OBJECT ( RETURNING INT )", "error": "cannot cast type json to integer"}, + {"id": "pg.functions.json.json-object-value-format-json-encoding.k4033e9dd1f6a", "category": "functions:executed", "sql": "SELECT JSON_OBJECT ( 1 :1 ABSENT ON NULL )", "type": "json"}, + {"id": "pg.functions.json.json-object-value-format-json-encoding.k4e80bf389101", "category": "functions:executed", "sql": "SELECT JSON_OBJECT ( 1 VALUE 1 NULL ON NULL )", "type": "json"}, + {"id": "pg.functions.json.json-object-value-format-json-encoding.k9ddabc93cdc5", "category": "functions:executed", "sql": "SELECT JSON_OBJECT ( )", "type": "json"}, + {"id": "pg.functions.json.json-object-value-format-json-encoding.ka696e0cd8e34", "category": "functions:executed", "sql": "SELECT JSON_OBJECT ( 1 :1 )", "type": "json"}, + {"id": "pg.functions.json.json-object-value-format-json-encoding.kb21e7667a204", "category": "functions:executed", "sql": "SELECT JSON_OBJECT ( 1 VALUE 1 )", "type": "json"}, + {"id": "pg.functions.json.json-object-value-format-json-encoding.kb4bbb1cd1971", "category": "functions:executed", "sql": "SELECT JSON_OBJECT ( 1 VALUE 1 WITH UNIQUE )", "type": "json"}, + {"id": "pg.functions.json.json-object-value-format-json-encoding.kc5411b3c5d03", "category": "functions:executed", "sql": "SELECT JSON_OBJECT ( 1 :1 WITHOUT UNIQUE )", "type": "json"}, + {"id": "pg.functions.json.json-object-value-format-json-encoding.kd06b23925dab", "category": "functions:semantic", "sql": "SELECT JSON_OBJECT ( 1 VALUE 1 FORMAT JSON )", "error": "cannot use non-string types with explicit FORMAT JSON clause at character 58"}, + {"id": "pg.functions.json.json-object-value-format-json-encoding.kf06e8cda51f2", "category": "functions:semantic", "sql": "SELECT JSON_OBJECT ( RETURNING INT FORMAT JSON )", "error": "cannot cast type json to integer at character 62"}, + {"id": "pg.functions.json.json-object.k775f61236a47", "category": "functions:semantic", "sql": "SELECT JSON_OBJECT ( 1 , 1 )", "error": "function pg_catalog.json_object(integer, integer) does not exist at character 34"}, + {"id": "pg.functions.json.json-object.k8c107b8623ca", "category": "functions:runtime", "sql": "SELECT JSON_OBJECT ( ARRAY [ 'day' ] )", "type": "json"}, + {"id": "pg.functions.json.json-populate-record.k48f529652a3a", "category": "functions:semantic", "sql": "SELECT JSON_POPULATE_RECORD ( 1 , 1 )", "error": "function json_populate_record(integer, integer) does not exist at character 34"}, + {"id": "pg.functions.json.json-populate-recordset.k5b0ba48f6a0c", "category": "functions:semantic", "sql": "SELECT JSON_POPULATE_RECORDSET ( 1 , 1 )", "error": "function json_populate_recordset(integer, integer) does not exist at character 34"}, + {"id": "pg.functions.json.json-query.k00728b5abe12", "category": "functions:semantic", "sql": "SELECT JSON_QUERY ( v1 , 1 EMPTY ON ERROR )", "error": "column \"v1\" does not exist at character 47"}, + {"id": "pg.functions.json.json-query.k1e1c3c824dac", "category": "functions:semantic", "sql": "SELECT JSON_QUERY ( v1 , 1 PASSING 1 AS v1 )", "error": "column \"v1\" does not exist at character 47"}, + {"id": "pg.functions.json.json-query.k1f7928849aa9", "category": "functions:semantic", "sql": "SELECT JSON_QUERY ( v1 , 1 NULL ON ERROR )", "error": "column \"v1\" does not exist at character 47"}, + {"id": "pg.functions.json.json-query.k2788a3700d46", "category": "functions:semantic", "sql": "SELECT JSON_QUERY ( v1 , 1 ERROR ON EMPTY )", "error": "column \"v1\" does not exist at character 47"}, + {"id": "pg.functions.json.json-query.k4846a34644fa", "category": "functions:semantic", "sql": "SELECT JSON_QUERY ( v1 , 1 DEFAULT 1 ON ERROR )", "error": "column \"v1\" does not exist at character 47"}, + {"id": "pg.functions.json.json-query.k4ba5ed0d93f4", "category": "functions:semantic", "sql": "SELECT JSON_QUERY ( v1 , 1 KEEP QUOTES )", "error": "column \"v1\" does not exist at character 47"}, + {"id": "pg.functions.json.json-query.k4ddc3f861280", "category": "functions:semantic", "sql": "SELECT JSON_QUERY ( v1 , 1 PASSING 1 AS v1 , 1 AS v1 RETURNING INT FORMAT JSON ENCODING UTF8 WITHOUT ARRAY WRAPPER KEEP QUOTES ON SCALAR STRING DEFAULT 1 ON EMPTY ERROR ON ERROR )", "error": "column \"v1\" does not exist at character 47"}, + {"id": "pg.functions.json.json-query.k50642aa589e6", "category": "functions:semantic", "sql": "SELECT JSON_QUERY ( v1 , 1 PASSING 1 AS v1 , 1 AS v1 RETURNING INT FORMAT JSON ENCODING UTF8 WITHOUT ARRAY WRAPPER KEEP QUOTES ON SCALAR STRING ERROR ON EMPTY ERROR ON ERROR )", "error": "column \"v1\" does not exist at character 47"}, + {"id": "pg.functions.json.json-query.k54c18ef06b9b", "category": "functions:semantic", "sql": "SELECT JSON_QUERY ( v1 , 1 OMIT QUOTES )", "error": "column \"v1\" does not exist at character 47"}, + {"id": "pg.functions.json.json-query.k5e0b23f9c5ba", "category": "functions:semantic", "sql": "SELECT JSON_QUERY ( v1 , 1 PASSING 1 AS v1 , 1 AS v1 RETURNING INT FORMAT JSON ENCODING UTF8 WITHOUT ARRAY WRAPPER KEEP QUOTES ON SCALAR STRING ERROR ON EMPTY EMPTY ARRAY ON ERROR )", "error": "column \"v1\" does not exist at character 47"}, + {"id": "pg.functions.json.json-query.k61eca923da71", "category": "functions:semantic", "sql": "SELECT JSON_QUERY ( v1 , 1 )", "error": "column \"v1\" does not exist at character 47"}, + {"id": "pg.functions.json.json-query.k6ec851e5e30b", "category": "functions:semantic", "sql": "SELECT JSON_QUERY ( v1 , 1 ERROR ON ERROR )", "error": "column \"v1\" does not exist at character 47"}, + {"id": "pg.functions.json.json-query.k8af71cc90d15", "category": "functions:semantic", "sql": "SELECT JSON_QUERY ( v1 , 1 WITH WRAPPER )", "error": "column \"v1\" does not exist at character 47"}, + {"id": "pg.functions.json.json-query.k8bb9fa13ba8d", "category": "functions:semantic", "sql": "SELECT JSON_QUERY ( v1 , 1 PASSING 1 AS v1 , 1 AS v1 RETURNING INT FORMAT JSON ENCODING UTF8 WITH UNCONDITIONAL ARRAY WRAPPER KEEP QUOTES ON SCALAR STRING ERROR ON EMPTY ERROR ON ERROR )", "error": "column \"v1\" does not exist at character 47"}, + {"id": "pg.functions.json.json-query.k8dba27ab974d", "category": "functions:semantic", "sql": "SELECT JSON_QUERY ( v1 , 1 PASSING 1 AS v1 , 1 AS v1 RETURNING INT FORMAT JSON ENCODING UTF8 WITHOUT ARRAY WRAPPER KEEP QUOTES ON SCALAR STRING EMPTY ARRAY ON EMPTY ERROR ON ERROR )", "error": "column \"v1\" does not exist at character 47"}, + {"id": "pg.functions.json.json-query.k91c12952b0e6", "category": "functions:semantic", "sql": "SELECT JSON_QUERY ( v1 , 1 WITHOUT WRAPPER )", "error": "column \"v1\" does not exist at character 47"}, + {"id": "pg.functions.json.json-query.k968a090c04af", "category": "functions:semantic", "sql": "SELECT JSON_QUERY ( v1 , 1 DEFAULT 1 ON EMPTY )", "error": "column \"v1\" does not exist at character 47"}, + {"id": "pg.functions.json.json-query.k9b641254e4d0", "category": "functions:semantic", "sql": "SELECT JSON_QUERY ( v1 , 1 RETURNING INT )", "error": "column \"v1\" does not exist at character 47"}, + {"id": "pg.functions.json.json-query.kad1f91dcb829", "category": "functions:semantic", "sql": "SELECT JSON_QUERY ( v1 , 1 WITH CONDITIONAL WRAPPER )", "error": "column \"v1\" does not exist at character 47"}, + {"id": "pg.functions.json.json-query.kc1d19d49e9f3", "category": "functions:semantic", "sql": "SELECT JSON_QUERY ( v1 , 1 EMPTY ON EMPTY )", "error": "column \"v1\" does not exist at character 47"}, + {"id": "pg.functions.json.json-query.kd034e71d91d0", "category": "functions:semantic", "sql": "SELECT JSON_QUERY ( v1 , 1 EMPTY OBJECT ON EMPTY )", "error": "column \"v1\" does not exist at character 47"}, + {"id": "pg.functions.json.json-query.kd466c22d2a93", "category": "functions:semantic", "sql": "SELECT JSON_QUERY ( v1 , 1 NULL ON EMPTY )", "error": "column \"v1\" does not exist at character 47"}, + {"id": "pg.functions.json.json-query.ke5e64c9b8dd3", "category": "functions:semantic", "sql": "SELECT JSON_QUERY ( v1 , 1 RETURNING INT FORMAT JSON )", "error": "column \"v1\" does not exist at character 47"}, + {"id": "pg.functions.json.json-query.kea7c1eb47163", "category": "functions:semantic", "sql": "SELECT JSON_QUERY ( v1 , 1 PASSING 1 AS v1 , 1 AS v1 RETURNING INT FORMAT JSON ENCODING UTF8 WITHOUT ARRAY WRAPPER KEEP QUOTES ON SCALAR STRING ERROR ON EMPTY DEFAULT 1 ON ERROR )", "error": "column \"v1\" does not exist at character 47"}, + {"id": "pg.functions.json.json-query.kff78e4e6f51d", "category": "functions:semantic", "sql": "SELECT JSON_QUERY ( v1 , 1 EMPTY OBJECT ON ERROR )", "error": "column \"v1\" does not exist at character 47"}, + {"id": "pg.functions.json.json-scalar.k61811e8a5522", "category": "functions:executed", "sql": "SELECT JSON_SCALAR ( 1 )", "type": "json"}, + {"id": "pg.functions.json.json-serialize.k2e8d441f35f0", "category": "functions:semantic", "sql": "SELECT JSON_SERIALIZE ( 1 FORMAT JSON ENCODING UTF8 RETURNING INT FORMAT JSON ENCODING UTF8 )", "error": "JSON ENCODING clause is only allowed for bytea input type at character 53"}, + {"id": "pg.functions.json.json-serialize.k6838dd3b04d2", "category": "functions:semantic", "sql": "SELECT JSON_SERIALIZE ( 1 RETURNING INT FORMAT JSON )", "error": "cannot use non-string types with implicit FORMAT JSON clause at character 51"}, + {"id": "pg.functions.json.json-serialize.k9576706f0e40", "category": "functions:semantic", "sql": "SELECT JSON_SERIALIZE ( 1 RETURNING INT )", "error": "cannot use non-string types with implicit FORMAT JSON clause at character 51"}, + {"id": "pg.functions.json.json-serialize.kbdeb5309270d", "category": "functions:semantic", "sql": "SELECT JSON_SERIALIZE ( 1 FORMAT JSON )", "error": "cannot use non-string types with explicit FORMAT JSON clause at character 53"}, + {"id": "pg.functions.json.json-serialize.kfe29f85ceae1", "category": "functions:semantic", "sql": "SELECT JSON_SERIALIZE ( 1 )", "error": "cannot use non-string types with implicit FORMAT JSON clause at character 51"}, + {"id": "pg.functions.json.json-strip-nulls.k477fff13968d", "category": "functions:semantic", "sql": "SELECT JSON_STRIP_NULLS ( 1 )", "error": "function json_strip_nulls(integer) does not exist at character 34"}, + {"id": "pg.functions.json.json-strip-nulls.k8c077c598e38", "category": "functions:semantic", "sql": "SELECT JSON_STRIP_NULLS ( 1 , 1 )", "error": "function json_strip_nulls(integer, integer) does not exist at character 34"}, + {"id": "pg.functions.json.json-table-columns.k3adbc2831688", "category": "functions:semantic", "sql": "SELECT * FROM JSON_TABLE ( v1 , '$' AS v1 PASSING 1 AS v1 , 1 AS v1 COLUMNS ( c1 INT , c1 INT ) ERROR ON ERROR )", "error": "duplicate JSON_TABLE column or path name: c1 at character 114"}, + {"id": "pg.functions.json.json-table-columns.k3ec93123df1f", "category": "functions:semantic", "sql": "SELECT * FROM JSON_TABLE ( v1 , '$' PASSING 1 AS v1 COLUMNS ( c1 INT ) )", "error": "column \"v1\" does not exist at character 54"}, + {"id": "pg.functions.json.json-table-columns.k49713e818416", "category": "functions:semantic", "sql": "SELECT * FROM JSON_TABLE ( v1 , '$' AS v1 PASSING 1 AS v1 , 1 AS v1 COLUMNS ( c1 INT , c1 INT ) EMPTY ARRAY ON ERROR )", "error": "duplicate JSON_TABLE column or path name: c1 at character 114"}, + {"id": "pg.functions.json.json-table-columns.k64a6bc30aaeb", "category": "functions:semantic", "sql": "SELECT * FROM JSON_TABLE ( v1 , '$' AS \"v1 Q\" COLUMNS ( c1 INT ) )", "error": "column \"v1\" does not exist at character 54"}, + {"id": "pg.functions.json.json-table-columns.k7ce98f4a1d68", "category": "functions:semantic", "sql": "SELECT * FROM JSON_TABLE ( v1 , '$' COLUMNS ( c1 INT ) EMPTY ON ERROR )", "error": "column \"v1\" does not exist at character 54"}, + {"id": "pg.functions.json.json-table-columns.k88c8b39c3ae1", "category": "functions:semantic", "sql": "SELECT * FROM JSON_TABLE ( v1 , '$' COLUMNS ( c1 INT ) ERROR ON ERROR )", "error": "column \"v1\" does not exist at character 54"}, + {"id": "pg.functions.json.json-table-columns.ka3da9e7e06c7", "category": "functions:semantic", "sql": "SELECT * FROM JSON_TABLE ( v1 , '$' COLUMNS ( c1 INT ) )", "error": "column \"v1\" does not exist at character 54"}, + {"id": "pg.functions.json.json-table-columns.ke072b6d1cc28", "category": "functions:semantic", "sql": "SELECT * FROM JSON_TABLE ( v1 , '$' AS \"SELECT\" COLUMNS ( c1 INT ) )", "error": "column \"v1\" does not exist at character 54"}, + {"id": "pg.functions.json.json-to-record.k095623885e80", "category": "functions:executed", "sql": "SELECT JSON_TO_RECORD ( JSON '{}' )", "error": "column \"json_to_record\" has pseudo-type record"}, + {"id": "pg.functions.json.json-to-recordset.k4e6ab7f7127d", "category": "functions:executed", "sql": "SELECT JSON_TO_RECORDSET ( JSON '{}' )", "error": "column \"json_to_recordset\" has pseudo-type record"}, + {"id": "pg.functions.json.json-typeof.k6dbbb3282c11", "category": "functions:executed", "sql": "SELECT JSON_TYPEOF ( JSON '{}' )", "type": "text"}, + {"id": "pg.functions.json.json-value.k0382a4711b3a", "category": "functions:semantic", "sql": "SELECT JSON_VALUE ( v1 , 1 PASSING 1 AS v1 , 1 AS v1 RETURNING INT ERROR ON EMPTY DEFAULT 1 ON ERROR )", "error": "column \"v1\" does not exist at character 47"}, + {"id": "pg.functions.json.json-value.k1d270e8414f3", "category": "functions:semantic", "sql": "SELECT JSON_VALUE ( v1 , 1 ERROR ON ERROR )", "error": "column \"v1\" does not exist at character 47"}, + {"id": "pg.functions.json.json-value.k2b0292595981", "category": "functions:semantic", "sql": "SELECT JSON_VALUE ( v1 , 1 PASSING 1 AS v1 , 1 AS v1 RETURNING INT DEFAULT 1 ON EMPTY ERROR ON ERROR )", "error": "column \"v1\" does not exist at character 47"}, + {"id": "pg.functions.json.json-value.k4fb81d436220", "category": "functions:semantic", "sql": "SELECT JSON_VALUE ( v1 , 1 DEFAULT 1 ON EMPTY )", "error": "column \"v1\" does not exist at character 47"}, + {"id": "pg.functions.json.json-value.k7a0c95aaea0a", "category": "functions:semantic", "sql": "SELECT JSON_VALUE ( v1 , 1 ERROR ON EMPTY )", "error": "column \"v1\" does not exist at character 47"}, + {"id": "pg.functions.json.json-value.k7ca3eaf7f0b7", "category": "functions:semantic", "sql": "SELECT JSON_VALUE ( v1 , 1 NULL ON EMPTY )", "error": "column \"v1\" does not exist at character 47"}, + {"id": "pg.functions.json.json-value.k8f1711314ad2", "category": "functions:semantic", "sql": "SELECT JSON_VALUE ( v1 , 1 NULL ON ERROR )", "error": "column \"v1\" does not exist at character 47"}, + {"id": "pg.functions.json.json-value.kaf523a3f8564", "category": "functions:semantic", "sql": "SELECT JSON_VALUE ( v1 , 1 PASSING 1 AS v1 )", "error": "column \"v1\" does not exist at character 47"}, + {"id": "pg.functions.json.json-value.kb8577eabc901", "category": "functions:semantic", "sql": "SELECT JSON_VALUE ( v1 , 1 PASSING 1 AS v1 , 1 AS v1 RETURNING INT ERROR ON EMPTY ERROR ON ERROR )", "error": "column \"v1\" does not exist at character 47"}, + {"id": "pg.functions.json.json-value.kba55ed378e51", "category": "functions:semantic", "sql": "SELECT JSON_VALUE ( v1 , 1 )", "error": "column \"v1\" does not exist at character 47"}, + {"id": "pg.functions.json.json-value.kce9170629c96", "category": "functions:semantic", "sql": "SELECT JSON_VALUE ( v1 , 1 DEFAULT 1 ON ERROR )", "error": "column \"v1\" does not exist at character 47"}, + {"id": "pg.functions.json.json.k13b3cf4778c1", "category": "functions:semantic", "sql": "SELECT JSON ( 1 WITHOUT UNIQUE )", "error": "cannot cast type integer to json at character 41"}, + {"id": "pg.functions.json.json.k969e40303cd5", "category": "functions:semantic", "sql": "SELECT JSON ( 1 WITH UNIQUE )", "error": "cannot use non-string types with WITH UNIQUE KEYS clause at character 34"}, + {"id": "pg.functions.json.json.k96f608d610b2", "category": "functions:executed", "sql": "SELECT JSON ( 1 FORMAT JSON ENCODING UTF8 WITH UNIQUE KEYS )", "error": "cannot use JSON FORMAT ENCODING clause for non-bytea input types at character 43"}, + {"id": "pg.functions.json.json.kabf03d8f5eee", "category": "functions:semantic", "sql": "SELECT JSON ( 1 FORMAT JSON )", "error": "cannot cast type integer to json at character 41"}, + {"id": "pg.functions.json.json.kedd6c841e48d", "category": "functions:semantic", "sql": "SELECT JSON ( 1 )", "error": "cannot cast type integer to json at character 41"}, + {"id": "pg.functions.json.jsonb-array-elements-text.k7b519c79f6f1", "category": "functions:runtime", "sql": "SELECT JSONB_ARRAY_ELEMENTS_TEXT ( JSONB '{}' )", "type": "text"}, + {"id": "pg.functions.json.jsonb-array-elements.kd36f66b5cde4", "category": "functions:runtime", "sql": "SELECT JSONB_ARRAY_ELEMENTS ( JSONB '{}' )", "type": "jsonb"}, + {"id": "pg.functions.json.jsonb-array-length.kd2a0c71ee913", "category": "functions:runtime", "sql": "SELECT JSONB_ARRAY_LENGTH ( JSONB '{}' )", "type": "integer"}, + {"id": "pg.functions.json.jsonb-build-array.ka0f094a23a00", "category": "functions:semantic", "sql": "SELECT JSONB_BUILD_ARRAY ( VARIADIC 1 )", "error": "VARIADIC argument must be an array at character 63"}, + {"id": "pg.functions.json.jsonb-build-object.k7df464685666", "category": "functions:semantic", "sql": "SELECT JSONB_BUILD_OBJECT ( VARIADIC 1 )", "error": "VARIADIC argument must be an array at character 64"}, + {"id": "pg.functions.json.jsonb-each-text.kfff6b33dcfee", "category": "functions:executed", "sql": "SELECT JSONB_EACH_TEXT ( JSONB '{}' )", "error": "column \"jsonb_each_text\" has pseudo-type record"}, + {"id": "pg.functions.json.jsonb-each.k712278421d85", "category": "functions:executed", "sql": "SELECT JSONB_EACH ( JSONB '{}' )", "error": "column \"jsonb_each\" has pseudo-type record"}, + {"id": "pg.functions.json.jsonb-extract-path-text.k7769b08066dc", "category": "functions:semantic", "sql": "SELECT JSONB_EXTRACT_PATH_TEXT ( 1 , VARIADIC 1 )", "error": "function jsonb_extract_path_text(integer, integer) does not exist at character 34"}, + {"id": "pg.functions.json.jsonb-extract-path.ka508de29b69b", "category": "functions:semantic", "sql": "SELECT JSONB_EXTRACT_PATH ( 1 , VARIADIC 1 )", "error": "function jsonb_extract_path(integer, integer) does not exist at character 34"}, + {"id": "pg.functions.json.jsonb-insert.k62108515ddcc", "category": "functions:semantic", "sql": "SELECT JSONB_INSERT ( 1 , 1 , 1 , 1 )", "error": "function jsonb_insert(integer, integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.json.jsonb-insert.ke4a979a4cbeb", "category": "functions:semantic", "sql": "SELECT JSONB_INSERT ( 1 , 1 , 1 )", "error": "function jsonb_insert(integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.json.jsonb-object-keys.ka78e02853a95", "category": "functions:executed", "sql": "SELECT JSONB_OBJECT_KEYS ( JSONB '{}' )", "type": "text"}, + {"id": "pg.functions.json.jsonb-object.kb54e8719dab6", "category": "functions:semantic", "sql": "SELECT JSONB_OBJECT ( 1 , 1 )", "error": "function jsonb_object(integer, integer) does not exist at character 34"}, + {"id": "pg.functions.json.jsonb-object.kc83c7bd6aac5", "category": "functions:runtime", "sql": "SELECT JSONB_OBJECT ( ARRAY [ 'day' ] )", "type": "jsonb"}, + {"id": "pg.functions.json.jsonb-path-exists-tz.k09811c1bcd06", "category": "functions:semantic", "sql": "SELECT JSONB_PATH_EXISTS_TZ ( 1 , 1 , 1 )", "error": "function jsonb_path_exists_tz(integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.json.jsonb-path-exists-tz.kba9c3d688b9b", "category": "functions:semantic", "sql": "SELECT JSONB_PATH_EXISTS_TZ ( 1 , 1 )", "error": "function jsonb_path_exists_tz(integer, integer) does not exist at character 34"}, + {"id": "pg.functions.json.jsonb-path-exists-tz.kfc5565d7d2bd", "category": "functions:semantic", "sql": "SELECT JSONB_PATH_EXISTS_TZ ( 1 , 1 , 1 , 1 )", "error": "function jsonb_path_exists_tz(integer, integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.json.jsonb-path-exists.k1114d57528a9", "category": "functions:semantic", "sql": "SELECT JSONB_PATH_EXISTS ( 1 , 1 , 1 , 1 )", "error": "function jsonb_path_exists(integer, integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.json.jsonb-path-exists.k3665954e9f24", "category": "functions:semantic", "sql": "SELECT JSONB_PATH_EXISTS ( 1 , 1 )", "error": "function jsonb_path_exists(integer, integer) does not exist at character 34"}, + {"id": "pg.functions.json.jsonb-path-exists.k4a18338f3f28", "category": "functions:semantic", "sql": "SELECT JSONB_PATH_EXISTS ( 1 , 1 , 1 )", "error": "function jsonb_path_exists(integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.json.jsonb-path-match-tz.kacacbc8e7fe7", "category": "functions:semantic", "sql": "SELECT JSONB_PATH_MATCH_TZ ( 1 , 1 )", "error": "function jsonb_path_match_tz(integer, integer) does not exist at character 34"}, + {"id": "pg.functions.json.jsonb-path-match-tz.kbfd27a4a4a85", "category": "functions:semantic", "sql": "SELECT JSONB_PATH_MATCH_TZ ( 1 , 1 , 1 , 1 )", "error": "function jsonb_path_match_tz(integer, integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.json.jsonb-path-match-tz.ke2f21aae32c3", "category": "functions:semantic", "sql": "SELECT JSONB_PATH_MATCH_TZ ( 1 , 1 , 1 )", "error": "function jsonb_path_match_tz(integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.json.jsonb-path-match.k233596ce9fef", "category": "functions:semantic", "sql": "SELECT JSONB_PATH_MATCH ( 1 , 1 )", "error": "function jsonb_path_match(integer, integer) does not exist at character 34"}, + {"id": "pg.functions.json.jsonb-path-match.k4af9dbb1a99e", "category": "functions:semantic", "sql": "SELECT JSONB_PATH_MATCH ( 1 , 1 , 1 )", "error": "function jsonb_path_match(integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.json.jsonb-path-match.k502bc59a411c", "category": "functions:semantic", "sql": "SELECT JSONB_PATH_MATCH ( 1 , 1 , 1 , 1 )", "error": "function jsonb_path_match(integer, integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.json.jsonb-path-query-array-tz.ka74e5ff69f44", "category": "functions:semantic", "sql": "SELECT JSONB_PATH_QUERY_ARRAY_TZ ( 1 , 1 )", "error": "function jsonb_path_query_array_tz(integer, integer) does not exist at character 34"}, + {"id": "pg.functions.json.jsonb-path-query-array-tz.kb35f18651cef", "category": "functions:semantic", "sql": "SELECT JSONB_PATH_QUERY_ARRAY_TZ ( 1 , 1 , 1 , 1 )", "error": "function jsonb_path_query_array_tz(integer, integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.json.jsonb-path-query-array-tz.kedcc9bb2be7d", "category": "functions:semantic", "sql": "SELECT JSONB_PATH_QUERY_ARRAY_TZ ( 1 , 1 , 1 )", "error": "function jsonb_path_query_array_tz(integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.json.jsonb-path-query-array.k528bf99fd2a5", "category": "functions:semantic", "sql": "SELECT JSONB_PATH_QUERY_ARRAY ( 1 , 1 )", "error": "function jsonb_path_query_array(integer, integer) does not exist at character 34"}, + {"id": "pg.functions.json.jsonb-path-query-array.kcba53c75bf6e", "category": "functions:semantic", "sql": "SELECT JSONB_PATH_QUERY_ARRAY ( 1 , 1 , 1 , 1 )", "error": "function jsonb_path_query_array(integer, integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.json.jsonb-path-query-array.kf571322c1523", "category": "functions:semantic", "sql": "SELECT JSONB_PATH_QUERY_ARRAY ( 1 , 1 , 1 )", "error": "function jsonb_path_query_array(integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.json.jsonb-path-query-first-tz.kb009adef3831", "category": "functions:semantic", "sql": "SELECT JSONB_PATH_QUERY_FIRST_TZ ( 1 , 1 , 1 , 1 )", "error": "function jsonb_path_query_first_tz(integer, integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.json.jsonb-path-query-first-tz.ke79af2e75fe3", "category": "functions:semantic", "sql": "SELECT JSONB_PATH_QUERY_FIRST_TZ ( 1 , 1 , 1 )", "error": "function jsonb_path_query_first_tz(integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.json.jsonb-path-query-first-tz.kf324cefabe28", "category": "functions:semantic", "sql": "SELECT JSONB_PATH_QUERY_FIRST_TZ ( 1 , 1 )", "error": "function jsonb_path_query_first_tz(integer, integer) does not exist at character 34"}, + {"id": "pg.functions.json.jsonb-path-query-first.k300e07cfe452", "category": "functions:semantic", "sql": "SELECT JSONB_PATH_QUERY_FIRST ( 1 , 1 )", "error": "function jsonb_path_query_first(integer, integer) does not exist at character 34"}, + {"id": "pg.functions.json.jsonb-path-query-first.k74dc68b9da96", "category": "functions:semantic", "sql": "SELECT JSONB_PATH_QUERY_FIRST ( 1 , 1 , 1 , 1 )", "error": "function jsonb_path_query_first(integer, integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.json.jsonb-path-query-first.k9369a6fd97f9", "category": "functions:semantic", "sql": "SELECT JSONB_PATH_QUERY_FIRST ( 1 , 1 , 1 )", "error": "function jsonb_path_query_first(integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.json.jsonb-path-query-tz.k05a86e9ee2e7", "category": "functions:semantic", "sql": "SELECT JSONB_PATH_QUERY_TZ ( 1 , 1 , 1 , 1 )", "error": "function jsonb_path_query_tz(integer, integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.json.jsonb-path-query-tz.k3fba979de20e", "category": "functions:semantic", "sql": "SELECT JSONB_PATH_QUERY_TZ ( 1 , 1 , 1 )", "error": "function jsonb_path_query_tz(integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.json.jsonb-path-query-tz.kd37583378883", "category": "functions:semantic", "sql": "SELECT JSONB_PATH_QUERY_TZ ( 1 , 1 )", "error": "function jsonb_path_query_tz(integer, integer) does not exist at character 34"}, + {"id": "pg.functions.json.jsonb-path-query.k5edbbadd6f8b", "category": "functions:semantic", "sql": "SELECT JSONB_PATH_QUERY ( 1 , 1 , 1 , 1 )", "error": "function jsonb_path_query(integer, integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.json.jsonb-path-query.k68c8b4cac69e", "category": "functions:semantic", "sql": "SELECT JSONB_PATH_QUERY ( 1 , 1 , 1 )", "error": "function jsonb_path_query(integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.json.jsonb-path-query.k8ccc43f736d2", "category": "functions:semantic", "sql": "SELECT JSONB_PATH_QUERY ( 1 , 1 )", "error": "function jsonb_path_query(integer, integer) does not exist at character 34"}, + {"id": "pg.functions.json.jsonb-populate-record-valid.k5babd79ec938", "category": "functions:semantic", "sql": "SELECT JSONB_POPULATE_RECORD_VALID ( 1 , 1 )", "error": "function jsonb_populate_record_valid(integer, integer) does not exist at character 34"}, + {"id": "pg.functions.json.jsonb-populate-record.kb382f2517063", "category": "functions:semantic", "sql": "SELECT JSONB_POPULATE_RECORD ( 1 , 1 )", "error": "function jsonb_populate_record(integer, integer) does not exist at character 34"}, + {"id": "pg.functions.json.jsonb-populate-recordset.k475596e2cec1", "category": "functions:semantic", "sql": "SELECT JSONB_POPULATE_RECORDSET ( 1 , 1 )", "error": "function jsonb_populate_recordset(integer, integer) does not exist at character 34"}, + {"id": "pg.functions.json.jsonb-pretty.k494d301095ce", "category": "functions:executed", "sql": "SELECT JSONB_PRETTY ( JSONB '{}' )", "type": "text"}, + {"id": "pg.functions.json.jsonb-set-lax.k6585c7fadda7", "category": "functions:semantic", "sql": "SELECT JSONB_SET_LAX ( 1 , 1 , 1 , 1 , 1 )", "error": "function jsonb_set_lax(integer, integer, integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.json.jsonb-set-lax.kb8922bc8b0c7", "category": "functions:semantic", "sql": "SELECT JSONB_SET_LAX ( 1 , 1 , 1 )", "error": "function jsonb_set_lax(integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.json.jsonb-set-lax.ke785f12aa9f5", "category": "functions:semantic", "sql": "SELECT JSONB_SET_LAX ( 1 , 1 , 1 , 1 )", "error": "function jsonb_set_lax(integer, integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.json.jsonb-set.k6ceb13f18deb", "category": "functions:semantic", "sql": "SELECT JSONB_SET ( 1 , 1 , 1 , 1 )", "error": "function jsonb_set(integer, integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.json.jsonb-set.k9a27f758c4d0", "category": "functions:semantic", "sql": "SELECT JSONB_SET ( 1 , 1 , 1 )", "error": "function jsonb_set(integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.json.jsonb-strip-nulls.k2b602ffd6f84", "category": "functions:semantic", "sql": "SELECT JSONB_STRIP_NULLS ( 1 )", "error": "function jsonb_strip_nulls(integer) does not exist at character 34"}, + {"id": "pg.functions.json.jsonb-strip-nulls.k4cee338ba995", "category": "functions:semantic", "sql": "SELECT JSONB_STRIP_NULLS ( 1 , 1 )", "error": "function jsonb_strip_nulls(integer, integer) does not exist at character 34"}, + {"id": "pg.functions.json.jsonb-to-record.k25f093463d66", "category": "functions:executed", "sql": "SELECT JSONB_TO_RECORD ( JSONB '{}' )", "error": "column \"jsonb_to_record\" has pseudo-type record"}, + {"id": "pg.functions.json.jsonb-to-recordset.ke0833bb69874", "category": "functions:executed", "sql": "SELECT JSONB_TO_RECORDSET ( JSONB '{}' )", "error": "column \"jsonb_to_recordset\" has pseudo-type record"}, + {"id": "pg.functions.json.jsonb-typeof.kb75440d170b4", "category": "functions:executed", "sql": "SELECT JSONB_TYPEOF ( JSONB '{}' )", "type": "text"}, + {"id": "pg.functions.json.row-to-json.k016cf6e4325e", "category": "functions:executed", "sql": "SELECT ROW_TO_JSON ( ROW ( 1 , 2 ) )", "type": "json"}, + {"id": "pg.functions.json.row-to-json.k988c4dce7f09", "category": "functions:executed", "sql": "SELECT ROW_TO_JSON ( ROW ( 1 , 2 ) , TRUE )", "type": "json"}, + {"id": "pg.functions.json.to-json.kc72c412bad64", "category": "functions:executed", "sql": "SELECT TO_JSON ( 1 )", "type": "json"}, + {"id": "pg.functions.json.to-jsonb.kfd27dde96b21", "category": "functions:executed", "sql": "SELECT TO_JSONB ( 1 )", "type": "jsonb"}, + {"id": "pg.functions.matching.substring.k46c1b9f6d5ba", "category": "functions:semantic", "sql": "SELECT SUBSTRING ( 'm' , 'm' , v1 )", "error": "column \"v1\" does not exist at character 58"}, + {"id": "pg.functions.math.abs.kac433f439b19", "category": "functions:executed", "sql": "SELECT ABS ( 1 )", "type": "integer"}, + {"id": "pg.functions.math.acos.k560f8c4cc3f9", "category": "functions:runtime", "sql": "SELECT ACOS ( 1.5 )", "type": "double precision"}, + {"id": "pg.functions.math.acosd.kc84472bb1c40", "category": "functions:runtime", "sql": "SELECT ACOSD ( 1.5 )", "type": "double precision"}, + {"id": "pg.functions.math.acosh.kb381f8e68543", "category": "functions:executed", "sql": "SELECT ACOSH ( 1.5 )", "type": "double precision"}, + {"id": "pg.functions.math.asin.k35e1e890e004", "category": "functions:runtime", "sql": "SELECT ASIN ( 1.5 )", "type": "double precision"}, + {"id": "pg.functions.math.asind.k4d5a98e31dec", "category": "functions:runtime", "sql": "SELECT ASIND ( 1.5 )", "type": "double precision"}, + {"id": "pg.functions.math.asinh.k5e473a190ad5", "category": "functions:executed", "sql": "SELECT ASINH ( 1.5 )", "type": "double precision"}, + {"id": "pg.functions.math.atan.k658edc9bc305", "category": "functions:executed", "sql": "SELECT ATAN ( 1.5 )", "type": "double precision"}, + {"id": "pg.functions.math.atan2.kf714442a558f", "category": "functions:executed", "sql": "SELECT ATAN2 ( 1 , 1 )", "type": "double precision"}, + {"id": "pg.functions.math.atan2d.kbef3c88682cb", "category": "functions:executed", "sql": "SELECT ATAN2D ( 1 , 1 )", "type": "double precision"}, + {"id": "pg.functions.math.atand.k0d6ba729801d", "category": "functions:executed", "sql": "SELECT ATAND ( 1.5 )", "type": "double precision"}, + {"id": "pg.functions.math.atanh.k350a1f83e294", "category": "functions:runtime", "sql": "SELECT ATANH ( 1.5 )", "type": "double precision"}, + {"id": "pg.functions.math.cbrt.k4cd22ad6d437", "category": "functions:executed", "sql": "SELECT CBRT ( 1.5 )", "type": "double precision"}, + {"id": "pg.functions.math.ceil.k206a81ab4781", "category": "functions:executed", "sql": "SELECT CEIL ( 1.5 )", "type": "numeric"}, + {"id": "pg.functions.math.ceiling.keb60c0b07814", "category": "functions:executed", "sql": "SELECT CEILING ( 1.5 )", "type": "numeric"}, + {"id": "pg.functions.math.cos.ke76b0eeb3b51", "category": "functions:executed", "sql": "SELECT COS ( 1.5 )", "type": "double precision"}, + {"id": "pg.functions.math.cosd.k8d03cece2032", "category": "functions:executed", "sql": "SELECT COSD ( 1.5 )", "type": "double precision"}, + {"id": "pg.functions.math.cosh.k349887d96f28", "category": "functions:executed", "sql": "SELECT COSH ( 1.5 )", "type": "double precision"}, + {"id": "pg.functions.math.cot.k9a367f1bba30", "category": "functions:executed", "sql": "SELECT COT ( 1.5 )", "type": "double precision"}, + {"id": "pg.functions.math.cotd.ke4f3d9b92790", "category": "functions:executed", "sql": "SELECT COTD ( 1.5 )", "type": "double precision"}, + {"id": "pg.functions.math.degrees.k9673fd7a4b54", "category": "functions:executed", "sql": "SELECT DEGREES ( 1.5 )", "type": "double precision"}, + {"id": "pg.functions.math.div.k63d737a10390", "category": "functions:executed", "sql": "SELECT DIV ( 1 , 1 )", "type": "numeric"}, + {"id": "pg.functions.math.erf.k0c8920b8661c", "category": "functions:executed", "sql": "SELECT ERF ( 1.5 )", "type": "double precision"}, + {"id": "pg.functions.math.erfc.k4e521b80156d", "category": "functions:executed", "sql": "SELECT ERFC ( 1.5 )", "type": "double precision"}, + {"id": "pg.functions.math.exp.k4a191325d52a", "category": "functions:executed", "sql": "SELECT EXP ( 1.5 )", "type": "numeric"}, + {"id": "pg.functions.math.factorial.ka10f07a049f2", "category": "functions:executed", "sql": "SELECT FACTORIAL ( 1 )", "type": "numeric"}, + {"id": "pg.functions.math.floor.kc418d312e006", "category": "functions:executed", "sql": "SELECT FLOOR ( 1.5 )", "type": "numeric"}, + {"id": "pg.functions.math.gamma.k099267d48436", "category": "functions:executed", "sql": "SELECT GAMMA ( 1.5 )", "type": "double precision"}, + {"id": "pg.functions.math.gcd.kc6435891cd14", "category": "functions:executed", "sql": "SELECT GCD ( 1 , 1 )", "type": "integer"}, + {"id": "pg.functions.math.lcm.k3a3138151515", "category": "functions:executed", "sql": "SELECT LCM ( 1 , 1 )", "type": "integer"}, + {"id": "pg.functions.math.lgamma.ke45d696d715d", "category": "functions:executed", "sql": "SELECT LGAMMA ( 1.5 )", "type": "double precision"}, + {"id": "pg.functions.math.ln.kb0e9d5eb873d", "category": "functions:executed", "sql": "SELECT LN ( 1.5 )", "type": "numeric"}, + {"id": "pg.functions.math.log.kb9e90fc921be", "category": "functions:executed", "sql": "SELECT LOG ( 1.5 )", "type": "numeric"}, + {"id": "pg.functions.math.log.kc1105cb040a5", "category": "functions:runtime", "sql": "SELECT LOG ( 1 , 1 )", "type": "numeric"}, + {"id": "pg.functions.math.log10.ka73574eb1368", "category": "functions:executed", "sql": "SELECT LOG10 ( 1.5 )", "type": "numeric"}, + {"id": "pg.functions.math.min-scale.k914cfb0162d8", "category": "functions:executed", "sql": "SELECT MIN_SCALE ( 1.5 )", "type": "integer"}, + {"id": "pg.functions.math.mod.ke58dfff2c0f0", "category": "functions:executed", "sql": "SELECT MOD ( 1 , 1 )", "type": "integer"}, + {"id": "pg.functions.math.pi.kf5642d8f7bc2", "category": "functions:executed", "sql": "SELECT PI ( )", "type": "double precision"}, + {"id": "pg.functions.math.power.kee32b8ead4ac", "category": "functions:executed", "sql": "SELECT POWER ( 1 , 1 )", "type": "double precision"}, + {"id": "pg.functions.math.radians.k136e56f8ab4c", "category": "functions:executed", "sql": "SELECT RADIANS ( 1.5 )", "type": "double precision"}, + {"id": "pg.functions.math.random-normal.k49bf4e23f3c3", "category": "functions:executed", "sql": "SELECT RANDOM_NORMAL ( 1 , 1 )", "type": "double precision"}, + {"id": "pg.functions.math.random-normal.k5452bc962b54", "category": "functions:executed", "sql": "SELECT RANDOM_NORMAL ( 1 )", "type": "double precision"}, + {"id": "pg.functions.math.random-normal.kce01ad0fb14b", "category": "functions:executed", "sql": "SELECT RANDOM_NORMAL ( )", "type": "double precision"}, + {"id": "pg.functions.math.random.k3332491a4143", "category": "functions:executed", "sql": "SELECT RANDOM ( 1 , 1 )", "type": "integer"}, + {"id": "pg.functions.math.random.kc6b36ca8d4f5", "category": "functions:executed", "sql": "SELECT RANDOM ( )", "type": "double precision"}, + {"id": "pg.functions.math.round.kb5d30ea763c1", "category": "functions:executed", "sql": "SELECT ROUND ( 1.5 )", "type": "numeric"}, + {"id": "pg.functions.math.round.kc297f013cf17", "category": "functions:executed", "sql": "SELECT ROUND ( 1.5 , 1 )", "type": "numeric"}, + {"id": "pg.functions.math.scale.kef920065aa4d", "category": "functions:executed", "sql": "SELECT SCALE ( 1.5 )", "type": "integer"}, + {"id": "pg.functions.math.setseed.k6be0579fcb82", "category": "functions:runtime", "sql": "SELECT SETSEED ( 1.5 )", "error": "column \"setseed\" has pseudo-type void"}, + {"id": "pg.functions.math.sign.k5057e29ad2f5", "category": "functions:executed", "sql": "SELECT SIGN ( 1.5 )", "type": "numeric"}, + {"id": "pg.functions.math.sin.k4434bdafc048", "category": "functions:executed", "sql": "SELECT SIN ( 1.5 )", "type": "double precision"}, + {"id": "pg.functions.math.sind.k615a96406be6", "category": "functions:executed", "sql": "SELECT SIND ( 1.5 )", "type": "double precision"}, + {"id": "pg.functions.math.sinh.k4fcef0b2f76b", "category": "functions:executed", "sql": "SELECT SINH ( 1.5 )", "type": "double precision"}, + {"id": "pg.functions.math.sqrt.k14ce860397f3", "category": "functions:executed", "sql": "SELECT SQRT ( 1.5 )", "type": "numeric"}, + {"id": "pg.functions.math.tan.ka3aaa63d09e2", "category": "functions:executed", "sql": "SELECT TAN ( 1.5 )", "type": "double precision"}, + {"id": "pg.functions.math.tand.kaf4d00228e98", "category": "functions:executed", "sql": "SELECT TAND ( 1.5 )", "type": "double precision"}, + {"id": "pg.functions.math.tanh.k9137311e6bd6", "category": "functions:executed", "sql": "SELECT TANH ( 1.5 )", "type": "double precision"}, + {"id": "pg.functions.math.trim-scale.k06885862a089", "category": "functions:executed", "sql": "SELECT TRIM_SCALE ( 1.5 )", "type": "numeric"}, + {"id": "pg.functions.math.trunc.k38ffe3fd100e", "category": "functions:executed", "sql": "SELECT TRUNC ( 1.5 )", "type": "numeric"}, + {"id": "pg.functions.math.trunc.k3d0f003dbc9a", "category": "functions:executed", "sql": "SELECT TRUNC ( 1.5 , 1 )", "type": "numeric"}, + {"id": "pg.functions.math.width-bucket.k4a29c109ef76", "category": "functions:semantic", "sql": "SELECT WIDTH_BUCKET ( 1 , 1 )", "error": "function width_bucket(integer, integer) does not exist at character 34"}, + {"id": "pg.functions.math.width-bucket.kee62d2bf70ef", "category": "functions:runtime", "sql": "SELECT WIDTH_BUCKET ( 1 , 1 , 1 , 1 )", "type": "integer"}, + {"id": "pg.functions.merge-support.merge-action.k9709194d329b", "category": "functions:semantic", "sql": "SELECT MERGE_ACTION ( )", "error": "MERGE_ACTION() can only be used in the RETURNING list of a MERGE command at character 34"}, + {"id": "pg.functions.net.abbrev.k1a8dfb5f48f6", "category": "functions:executed", "sql": "SELECT ABBREV ( INET '10.0.0.1' )", "type": "text"}, + {"id": "pg.functions.net.abbrev.ke7975ec762f0", "category": "functions:semantic", "sql": "SELECT ABBREV ( v1 )", "error": "column \"v1\" does not exist at character 43"}, + {"id": "pg.functions.net.broadcast.k909153ddeeab", "category": "functions:executed", "sql": "SELECT BROADCAST ( INET '10.0.0.1' )", "type": "inet"}, + {"id": "pg.functions.net.family.k7a6345f04e6c", "category": "functions:executed", "sql": "SELECT FAMILY ( INET '10.0.0.1' )", "type": "integer"}, + {"id": "pg.functions.net.host.ka371e0931557", "category": "functions:executed", "sql": "SELECT HOST ( INET '10.0.0.1' )", "type": "text"}, + {"id": "pg.functions.net.hostmask.k6b761b97c1c1", "category": "functions:executed", "sql": "SELECT HOSTMASK ( INET '10.0.0.1' )", "type": "inet"}, + {"id": "pg.functions.net.inet-merge.k1a27d7947d8f", "category": "functions:executed", "sql": "SELECT INET_MERGE ( INET '10.0.0.1' , INET '10.0.0.1' )", "type": "cidr"}, + {"id": "pg.functions.net.inet-same-family.kf6015d3ae660", "category": "functions:executed", "sql": "SELECT INET_SAME_FAMILY ( INET '10.0.0.1' , INET '10.0.0.1' )", "type": "boolean"}, + {"id": "pg.functions.net.macaddr8-set7bit.k488547b1753f", "category": "functions:semantic", "sql": "SELECT MACADDR8_SET7BIT ( v1 )", "error": "column \"v1\" does not exist at character 53"}, + {"id": "pg.functions.net.masklen.k638b7cd5da0c", "category": "functions:executed", "sql": "SELECT MASKLEN ( INET '10.0.0.1' )", "type": "integer"}, + {"id": "pg.functions.net.netmask.k3de4b873a110", "category": "functions:executed", "sql": "SELECT NETMASK ( INET '10.0.0.1' )", "type": "inet"}, + {"id": "pg.functions.net.network.kc5ff233ecb2d", "category": "functions:executed", "sql": "SELECT NETWORK ( INET '10.0.0.1' )", "type": "cidr"}, + {"id": "pg.functions.net.set-masklen.k0cee5ee5aba4", "category": "functions:executed", "sql": "SELECT SET_MASKLEN ( INET '10.0.0.1' , 1 )", "type": "inet"}, + {"id": "pg.functions.net.set-masklen.k445b97fb44a9", "category": "functions:semantic", "sql": "SELECT SET_MASKLEN ( v1 , 1 )", "error": "column \"v1\" does not exist at character 48"}, + {"id": "pg.functions.net.text.k8de1a78debc3", "category": "functions:executed", "sql": "SELECT TEXT ( INET '10.0.0.1' )", "type": "text"}, + {"id": "pg.functions.net.trunc.kd3960200aa83", "category": "functions:semantic", "sql": "SELECT TRUNC ( v1 )", "error": "column \"v1\" does not exist at character 42"}, + {"id": "pg.functions.range.isempty.k9bc98e246432", "category": "functions:executed", "sql": "SELECT ISEMPTY ( INT4MULTIRANGE ( INT4RANGE ( 1 , 2 ) ) )", "type": "boolean"}, + {"id": "pg.functions.range.isempty.kc7d45bfbba99", "category": "functions:executed", "sql": "SELECT ISEMPTY ( INT4RANGE ( 1 , 2 ) )", "type": "boolean"}, + {"id": "pg.functions.range.lower-inc.k0f93e6527569", "category": "functions:executed", "sql": "SELECT LOWER_INC ( INT4RANGE ( 1 , 2 ) )", "type": "boolean"}, + {"id": "pg.functions.range.lower-inc.k71d8acd44d75", "category": "functions:executed", "sql": "SELECT LOWER_INC ( INT4MULTIRANGE ( INT4RANGE ( 1 , 2 ) ) )", "type": "boolean"}, + {"id": "pg.functions.range.lower-inf.k2e076edc6ceb", "category": "functions:executed", "sql": "SELECT LOWER_INF ( INT4RANGE ( 1 , 2 ) )", "type": "boolean"}, + {"id": "pg.functions.range.lower-inf.ke8cca732ef6f", "category": "functions:executed", "sql": "SELECT LOWER_INF ( INT4MULTIRANGE ( INT4RANGE ( 1 , 2 ) ) )", "type": "boolean"}, + {"id": "pg.functions.range.lower.k54cb954fa744", "category": "functions:executed", "sql": "SELECT LOWER ( INT4MULTIRANGE ( INT4RANGE ( 1 , 2 ) ) )", "type": "integer"}, + {"id": "pg.functions.range.lower.k5a66553ddf7a", "category": "functions:executed", "sql": "SELECT LOWER ( INT4RANGE ( 1 , 2 ) )", "type": "integer"}, + {"id": "pg.functions.range.multirange.k2aa9a6fde495", "category": "functions:executed", "sql": "SELECT MULTIRANGE ( INT4RANGE ( 1 , 2 ) )", "type": "int4multirange"}, + {"id": "pg.functions.range.range-merge.k035ea3863e73", "category": "functions:executed", "sql": "SELECT RANGE_MERGE ( INT4RANGE ( 1 , 2 ) , INT4RANGE ( 1 , 2 ) )", "type": "int4range"}, + {"id": "pg.functions.range.range-merge.k43693c4d6bb8", "category": "functions:executed", "sql": "SELECT RANGE_MERGE ( INT4MULTIRANGE ( INT4RANGE ( 1 , 2 ) ) )", "type": "int4range"}, + {"id": "pg.functions.range.unnest.k269f6582071b", "category": "functions:executed", "sql": "SELECT UNNEST ( INT4MULTIRANGE ( INT4RANGE ( 1 , 2 ) ) )", "type": "int4range"}, + {"id": "pg.functions.range.upper-inc.k1edf25dfa515", "category": "functions:executed", "sql": "SELECT UPPER_INC ( INT4RANGE ( 1 , 2 ) )", "type": "boolean"}, + {"id": "pg.functions.range.upper-inc.kbe5cfb310b69", "category": "functions:executed", "sql": "SELECT UPPER_INC ( INT4MULTIRANGE ( INT4RANGE ( 1 , 2 ) ) )", "type": "boolean"}, + {"id": "pg.functions.range.upper-inf.k09654889635e", "category": "functions:executed", "sql": "SELECT UPPER_INF ( INT4MULTIRANGE ( INT4RANGE ( 1 , 2 ) ) )", "type": "boolean"}, + {"id": "pg.functions.range.upper-inf.k6c6144929f4e", "category": "functions:executed", "sql": "SELECT UPPER_INF ( INT4RANGE ( 1 , 2 ) )", "type": "boolean"}, + {"id": "pg.functions.range.upper.k7cacc61995b7", "category": "functions:executed", "sql": "SELECT UPPER ( INT4RANGE ( 1 , 2 ) )", "type": "integer"}, + {"id": "pg.functions.range.upper.ka86e300091c6", "category": "functions:executed", "sql": "SELECT UPPER ( INT4MULTIRANGE ( INT4RANGE ( 1 , 2 ) ) )", "type": "integer"}, + {"id": "pg.functions.sequence.currval.kce059339b957", "category": "functions:semantic", "sql": "SELECT CURRVAL ( v1 )", "error": "column \"v1\" does not exist at character 44"}, + {"id": "pg.functions.sequence.lastval.k9ec70f1bda9a", "category": "functions:runtime", "sql": "SELECT LASTVAL ( )", "type": "bigint"}, + {"id": "pg.functions.sequence.nextval.k6a80051852ba", "category": "functions:semantic", "sql": "SELECT NEXTVAL ( v1 )", "error": "column \"v1\" does not exist at character 44"}, + {"id": "pg.functions.sequence.setval.k56bfb88c3fee", "category": "functions:semantic", "sql": "SELECT SETVAL ( v1 , 1 , TRUE )", "error": "column \"v1\" does not exist at character 43"}, + {"id": "pg.functions.sequence.setval.k95ce91112e2e", "category": "functions:semantic", "sql": "SELECT SETVAL ( v1 , 1 )", "error": "column \"v1\" does not exist at character 43"}, + {"id": "pg.functions.srf.generate-series.k16e03822c7c2", "category": "functions:semantic", "sql": "SELECT GENERATE_SERIES ( 1 , 1 , 1 , 1 )", "error": "function generate_series(integer, integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.srf.generate-series.k397f2469d883", "category": "functions:executed", "sql": "SELECT GENERATE_SERIES ( 1 , 1 )", "type": "integer"}, + {"id": "pg.functions.srf.generate-series.k4e62ca54a110", "category": "functions:executed", "sql": "SELECT GENERATE_SERIES ( 1 , 1 , 1 )", "type": "integer"}, + {"id": "pg.functions.srf.generate-subscripts.k2f6fef2f4374", "category": "functions:semantic", "sql": "SELECT GENERATE_SUBSCRIPTS ( 1 , 1 )", "error": "function generate_subscripts(integer, integer) does not exist at character 34"}, + {"id": "pg.functions.srf.generate-subscripts.kd2bc795f9900", "category": "functions:semantic", "sql": "SELECT GENERATE_SUBSCRIPTS ( 1 , 1 , 1 )", "error": "function generate_subscripts(integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.statistics.pg-mcv-list-items.k50a9899f198d", "category": "functions:semantic", "sql": "SELECT PG_MCV_LIST_ITEMS ( v1 )", "error": "column \"v1\" does not exist at character 54"}, + {"id": "pg.functions.string.ascii.kfc064e86e7d7", "category": "functions:executed", "sql": "SELECT ASCII ( 'day' )", "type": "integer"}, + {"id": "pg.functions.string.bit-length.k62ccbbbde6d0", "category": "functions:executed", "sql": "SELECT BIT_LENGTH ( 'day' )", "type": "integer"}, + {"id": "pg.functions.string.btrim.k12f7f1aecb78", "category": "functions:semantic", "sql": "SELECT BTRIM ( 1 )", "error": "function btrim(integer) does not exist at character 34"}, + {"id": "pg.functions.string.casefold.kd22ad591716c", "category": "functions:executed", "sql": "SELECT CASEFOLD ( 'day' )", "type": "text"}, + {"id": "pg.functions.string.char-length.k5df3f08ac0cc", "category": "functions:executed", "sql": "SELECT CHAR_LENGTH ( 'day' )", "type": "integer"}, + {"id": "pg.functions.string.character-length.kb9d0308284ea", "category": "functions:executed", "sql": "SELECT CHARACTER_LENGTH ( 'day' )", "type": "integer"}, + {"id": "pg.functions.string.chr.kc16f8458761d", "category": "functions:executed", "sql": "SELECT CHR ( 1 )", "type": "text"}, + {"id": "pg.functions.string.concat-ws.k707e114c4bad", "category": "functions:semantic", "sql": "SELECT CONCAT_WS ( 1 , 1 )", "error": "function concat_ws(integer, integer) does not exist at character 34"}, + {"id": "pg.functions.string.concat-ws.k838997faa2a8", "category": "functions:semantic", "sql": "SELECT CONCAT_WS ( 1 , 1 , 1 )", "error": "function concat_ws(integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.string.concat-ws.ke17852fd43d9", "category": "functions:semantic", "sql": "SELECT CONCAT_WS ( 1 , 1 , 1 , 1 )", "error": "function concat_ws(integer, integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.string.concat.k34c9f7319e4a", "category": "functions:executed", "sql": "SELECT CONCAT ( 1 )", "type": "text"}, + {"id": "pg.functions.string.concat.k738efa14d053", "category": "functions:executed", "sql": "SELECT CONCAT ( 1 , 1 , 1 )", "type": "text"}, + {"id": "pg.functions.string.concat.kf6e41e2c2970", "category": "functions:executed", "sql": "SELECT CONCAT ( 1 , 1 )", "type": "text"}, + {"id": "pg.functions.string.format.k3f770f3be01a", "category": "functions:semantic", "sql": "SELECT FORMAT ( 1 , 1 , 1 )", "error": "function format(integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.string.format.k95a142fb1f1a", "category": "functions:semantic", "sql": "SELECT FORMAT ( 1 , 1 )", "error": "function format(integer, integer) does not exist at character 34"}, + {"id": "pg.functions.string.format.kf70ac6464431", "category": "functions:semantic", "sql": "SELECT FORMAT ( 1 )", "error": "function format(integer) does not exist at character 34"}, + {"id": "pg.functions.string.initcap.k17dfa73a4f74", "category": "functions:executed", "sql": "SELECT INITCAP ( 'day' )", "type": "text"}, + {"id": "pg.functions.string.left.k375138ca988a", "category": "functions:semantic", "sql": "SELECT LEFT ( 1 , 1 )", "error": "function left(integer, integer) does not exist at character 34"}, + {"id": "pg.functions.string.length.kcadca8ab1604", "category": "functions:executed", "sql": "SELECT LENGTH ( 'day' )", "type": "integer"}, + {"id": "pg.functions.string.lower.k55cd5a4e64a5", "category": "functions:executed", "sql": "SELECT LOWER ( 'day' )", "type": "text"}, + {"id": "pg.functions.string.lpad.kcc64835eda5e", "category": "functions:semantic", "sql": "SELECT LPAD ( 1 , 1 )", "error": "function lpad(integer, integer) does not exist at character 34"}, + {"id": "pg.functions.string.lpad.kfa63c1567d50", "category": "functions:semantic", "sql": "SELECT LPAD ( 1 , 1 , 1 )", "error": "function lpad(integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.string.ltrim.ke3f9fdc0c6b8", "category": "functions:semantic", "sql": "SELECT LTRIM ( 1 )", "error": "function ltrim(integer) does not exist at character 34"}, + {"id": "pg.functions.string.md5.k3796743d4759", "category": "functions:executed", "sql": "SELECT MD5 ( 'day' )", "type": "text"}, + {"id": "pg.functions.string.normalize.k14f73dc9f1f4", "category": "functions:executed", "sql": "SELECT NORMALIZE ( 'day' , NFC )", "type": "text"}, + {"id": "pg.functions.string.normalize.k214125857017", "category": "functions:executed", "sql": "SELECT NORMALIZE ( 'day' )", "type": "text"}, + {"id": "pg.functions.string.octet-length.k34208d5d1fe3", "category": "functions:semantic", "sql": "SELECT OCTET_LENGTH ( v1 )", "error": "column \"v1\" does not exist at character 49"}, + {"id": "pg.functions.string.octet-length.k5b5953eef244", "category": "functions:executed", "sql": "SELECT OCTET_LENGTH ( 'day' )", "type": "integer"}, + {"id": "pg.functions.string.parse-ident.k62a8b96e1318", "category": "functions:semantic", "sql": "SELECT PARSE_IDENT ( 1 , 1 )", "error": "function parse_ident(integer, integer) does not exist at character 34"}, + {"id": "pg.functions.string.parse-ident.k9dfff64c2e0f", "category": "functions:semantic", "sql": "SELECT PARSE_IDENT ( 1 )", "error": "function parse_ident(integer) does not exist at character 34"}, + {"id": "pg.functions.string.pg-client-encoding.k19a8ba439d01", "category": "functions:executed", "sql": "SELECT PG_CLIENT_ENCODING ( )", "type": "name"}, + {"id": "pg.functions.string.quote-ident.ked3809b8ca7e", "category": "functions:executed", "sql": "SELECT QUOTE_IDENT ( 'day' )", "type": "text"}, + {"id": "pg.functions.string.quote-literal.kcc11c768d50c", "category": "functions:executed", "sql": "SELECT QUOTE_LITERAL ( 'day' )", "type": "text"}, + {"id": "pg.functions.string.quote-literal.kd2da21b2020d", "category": "functions:executed", "sql": "SELECT QUOTE_LITERAL ( 1 )", "type": "text"}, + {"id": "pg.functions.string.quote-nullable.k8e7a325b8bf7", "category": "functions:executed", "sql": "SELECT QUOTE_NULLABLE ( 'day' )", "type": "text"}, + {"id": "pg.functions.string.quote-nullable.ka0a1f2057f15", "category": "functions:executed", "sql": "SELECT QUOTE_NULLABLE ( 1 )", "type": "text"}, + {"id": "pg.functions.string.regexp-count.k6fbab60ce177", "category": "functions:semantic", "sql": "SELECT REGEXP_COUNT ( 1 , 1 )", "error": "function regexp_count(integer, integer) does not exist at character 34"}, + {"id": "pg.functions.string.regexp-count.k96c732e21c10", "category": "functions:semantic", "sql": "SELECT REGEXP_COUNT ( 1 , 1 , 1 )", "error": "function regexp_count(integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.string.regexp-count.kbecf577601e0", "category": "functions:semantic", "sql": "SELECT REGEXP_COUNT ( 1 , 1 , 1 , 1 )", "error": "function regexp_count(integer, integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.string.regexp-instr.k279faebaac5f", "category": "functions:semantic", "sql": "SELECT REGEXP_INSTR ( 1 , 1 , 1 , 1 , 1 )", "error": "function regexp_instr(integer, integer, integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.string.regexp-instr.k85322194a311", "category": "functions:semantic", "sql": "SELECT REGEXP_INSTR ( 1 , 1 , 1 , 1 )", "error": "function regexp_instr(integer, integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.string.regexp-instr.k9f92dc6c5964", "category": "functions:semantic", "sql": "SELECT REGEXP_INSTR ( 1 , 1 , 1 , 1 , 1 , 1 , 1 )", "error": "function regexp_instr(integer, integer, integer, integer, integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.string.regexp-instr.ka3f7a081bfc1", "category": "functions:semantic", "sql": "SELECT REGEXP_INSTR ( 1 , 1 )", "error": "function regexp_instr(integer, integer) does not exist at character 34"}, + {"id": "pg.functions.string.regexp-instr.ka7fc869425c8", "category": "functions:semantic", "sql": "SELECT REGEXP_INSTR ( 1 , 1 , 1 )", "error": "function regexp_instr(integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.string.regexp-instr.kea0e83d2c3ec", "category": "functions:semantic", "sql": "SELECT REGEXP_INSTR ( 1 , 1 , 1 , 1 , 1 , 1 )", "error": "function regexp_instr(integer, integer, integer, integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.string.regexp-like.k55e1bc1d7814", "category": "functions:semantic", "sql": "SELECT REGEXP_LIKE ( 1 , 1 , 1 )", "error": "function regexp_like(integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.string.regexp-like.kefb797596c36", "category": "functions:semantic", "sql": "SELECT REGEXP_LIKE ( 1 , 1 )", "error": "function regexp_like(integer, integer) does not exist at character 34"}, + {"id": "pg.functions.string.regexp-match.k237dfd15ed37", "category": "functions:semantic", "sql": "SELECT REGEXP_MATCH ( 1 , 1 , 1 )", "error": "function regexp_match(integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.string.regexp-match.kc349f9080047", "category": "functions:semantic", "sql": "SELECT REGEXP_MATCH ( 1 , 1 )", "error": "function regexp_match(integer, integer) does not exist at character 34"}, + {"id": "pg.functions.string.regexp-matches.k16ba98ba8129", "category": "functions:semantic", "sql": "SELECT REGEXP_MATCHES ( 1 , 1 )", "error": "function regexp_matches(integer, integer) does not exist at character 34"}, + {"id": "pg.functions.string.regexp-matches.kfc738c20d7ef", "category": "functions:semantic", "sql": "SELECT REGEXP_MATCHES ( 1 , 1 , 1 )", "error": "function regexp_matches(integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.string.regexp-replace.k66cdad448682", "category": "functions:semantic", "sql": "SELECT REGEXP_REPLACE ( 1 , 1 , 1 , 1 , 1 )", "error": "function regexp_replace(integer, integer, integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.string.regexp-replace.k6af01aebf6d1", "category": "functions:semantic", "sql": "SELECT REGEXP_REPLACE ( 1 , 1 , 1 )", "error": "function regexp_replace(integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.string.regexp-replace.k884a0b7b05a6", "category": "functions:semantic", "sql": "SELECT REGEXP_REPLACE ( 1 , 1 , 1 , 1 , 1 , 1 )", "error": "function regexp_replace(integer, integer, integer, integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.string.regexp-replace.kd6bd6c2a272c", "category": "functions:semantic", "sql": "SELECT REGEXP_REPLACE ( 1 , 1 , 1 , 1 )", "error": "function regexp_replace(integer, integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.string.regexp-split-to-array.k72985a7be95b", "category": "functions:semantic", "sql": "SELECT REGEXP_SPLIT_TO_ARRAY ( 1 , 1 , 1 )", "error": "function regexp_split_to_array(integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.string.regexp-split-to-array.k72ac5a12e5f1", "category": "functions:semantic", "sql": "SELECT REGEXP_SPLIT_TO_ARRAY ( 1 , 1 )", "error": "function regexp_split_to_array(integer, integer) does not exist at character 34"}, + {"id": "pg.functions.string.regexp-split-to-table.kd93d9c10ccbb", "category": "functions:semantic", "sql": "SELECT REGEXP_SPLIT_TO_TABLE ( 1 , 1 , 1 )", "error": "function regexp_split_to_table(integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.string.regexp-split-to-table.keb678ecfe9ae", "category": "functions:semantic", "sql": "SELECT REGEXP_SPLIT_TO_TABLE ( 1 , 1 )", "error": "function regexp_split_to_table(integer, integer) does not exist at character 34"}, + {"id": "pg.functions.string.regexp-substr.k2452be0710ef", "category": "functions:semantic", "sql": "SELECT REGEXP_SUBSTR ( 1 , 1 , 1 , 1 , 1 )", "error": "function regexp_substr(integer, integer, integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.string.regexp-substr.k2773953d2b82", "category": "functions:semantic", "sql": "SELECT REGEXP_SUBSTR ( 1 , 1 , 1 , 1 , 1 , 1 )", "error": "function regexp_substr(integer, integer, integer, integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.string.regexp-substr.k60015b846b8b", "category": "functions:semantic", "sql": "SELECT REGEXP_SUBSTR ( 1 , 1 , 1 )", "error": "function regexp_substr(integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.string.regexp-substr.k6cf387c8f345", "category": "functions:semantic", "sql": "SELECT REGEXP_SUBSTR ( 1 , 1 )", "error": "function regexp_substr(integer, integer) does not exist at character 34"}, + {"id": "pg.functions.string.regexp-substr.ke89596387dc0", "category": "functions:semantic", "sql": "SELECT REGEXP_SUBSTR ( 1 , 1 , 1 , 1 )", "error": "function regexp_substr(integer, integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.string.repeat.k899db36520fd", "category": "functions:semantic", "sql": "SELECT REPEAT ( 1 , 1 )", "error": "function repeat(integer, integer) does not exist at character 34"}, + {"id": "pg.functions.string.replace.k2b34a9cd8bde", "category": "functions:semantic", "sql": "SELECT REPLACE ( 1 , 1 , 1 )", "error": "function replace(integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.string.reverse.ka5e58ad4007d", "category": "functions:executed", "sql": "SELECT REVERSE ( 'day' )", "type": "text"}, + {"id": "pg.functions.string.right.kac8ffa89c038", "category": "functions:semantic", "sql": "SELECT RIGHT ( 1 , 1 )", "error": "function right(integer, integer) does not exist at character 34"}, + {"id": "pg.functions.string.rpad.k79e72eee7cb2", "category": "functions:semantic", "sql": "SELECT RPAD ( 1 , 1 , 1 )", "error": "function rpad(integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.string.rpad.kc337b9e37676", "category": "functions:semantic", "sql": "SELECT RPAD ( 1 , 1 )", "error": "function rpad(integer, integer) does not exist at character 34"}, + {"id": "pg.functions.string.rtrim.kbd3887789180", "category": "functions:semantic", "sql": "SELECT RTRIM ( 1 )", "error": "function rtrim(integer) does not exist at character 34"}, + {"id": "pg.functions.string.split-part.keebbbfa5f60e", "category": "functions:semantic", "sql": "SELECT SPLIT_PART ( 1 , 1 , 1 )", "error": "function split_part(integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.string.starts-with.k07d6f4a24f2a", "category": "functions:semantic", "sql": "SELECT STARTS_WITH ( 1 , 1 )", "error": "function starts_with(integer, integer) does not exist at character 34"}, + {"id": "pg.functions.string.string-to-array.k5cea0a049241", "category": "functions:semantic", "sql": "SELECT STRING_TO_ARRAY ( 1 , 1 )", "error": "function string_to_array(integer, integer) does not exist at character 34"}, + {"id": "pg.functions.string.string-to-array.kf78c2585f149", "category": "functions:semantic", "sql": "SELECT STRING_TO_ARRAY ( 1 , 1 , 1 )", "error": "function string_to_array(integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.string.string-to-table.k7305e4a746c9", "category": "functions:semantic", "sql": "SELECT STRING_TO_TABLE ( 1 , 1 )", "error": "function string_to_table(integer, integer) does not exist at character 34"}, + {"id": "pg.functions.string.string-to-table.k936fcc23905f", "category": "functions:semantic", "sql": "SELECT STRING_TO_TABLE ( 1 , 1 , 1 )", "error": "function string_to_table(integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.string.strpos.k42dfdfb98044", "category": "functions:semantic", "sql": "SELECT STRPOS ( 1 , 1 )", "error": "function strpos(integer, integer) does not exist at character 34"}, + {"id": "pg.functions.string.substring-from.ka7626992e3e3", "category": "functions:semantic", "sql": "SELECT SUBSTRING ( 1 FROM 1 )", "error": "function pg_catalog.substring(integer, integer) does not exist at character 34"}, + {"id": "pg.functions.string.substring-similar-escape.keaa36aa04e85", "category": "functions:semantic", "sql": "SELECT SUBSTRING ( 1 SIMILAR 1 ESCAPE 1 )", "error": "function pg_catalog.substring(integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.string.to-ascii.k1cb3b814e6d7", "category": "functions:semantic", "sql": "SELECT TO_ASCII ( 1 )", "error": "function to_ascii(integer) does not exist at character 34"}, + {"id": "pg.functions.string.to-ascii.kf36cf8ed3a6e", "category": "functions:semantic", "sql": "SELECT TO_ASCII ( 1 , 1 )", "error": "function to_ascii(integer, integer) does not exist at character 34"}, + {"id": "pg.functions.string.to-bin.k5c02dd502be5", "category": "functions:executed", "sql": "SELECT TO_BIN ( 1 )", "type": "text"}, + {"id": "pg.functions.string.to-hex.k41aa3a4cf525", "category": "functions:executed", "sql": "SELECT TO_HEX ( 1 )", "type": "text"}, + {"id": "pg.functions.string.to-oct.k0d55937c8ca0", "category": "functions:executed", "sql": "SELECT TO_OCT ( 1 )", "type": "text"}, + {"id": "pg.functions.string.translate.kf3f1c546b196", "category": "functions:semantic", "sql": "SELECT TRANSLATE ( 1 , 1 , 1 )", "error": "function translate(integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.string.trim-from.k08c64becf940", "category": "functions:semantic", "sql": "SELECT TRIM ( LEADING FROM 1 )", "error": "function pg_catalog.ltrim(integer) does not exist at character 34"}, + {"id": "pg.functions.string.trim-from.k873e54f0007e", "category": "functions:semantic", "sql": "SELECT TRIM ( TRAILING FROM 1 )", "error": "function pg_catalog.rtrim(integer) does not exist at character 34"}, + {"id": "pg.functions.string.trim-from.ka93cfc79563c", "category": "functions:semantic", "sql": "SELECT TRIM ( FROM 1 )", "error": "function pg_catalog.btrim(integer) does not exist at character 34"}, + {"id": "pg.functions.string.trim-from.kb9ee418ba36d", "category": "functions:semantic", "sql": "SELECT TRIM ( BOTH FROM 1 )", "error": "function pg_catalog.btrim(integer) does not exist at character 34"}, + {"id": "pg.functions.string.trim.k00af716873aa", "category": "functions:semantic", "sql": "SELECT TRIM ( TRAILING 1 )", "error": "function pg_catalog.rtrim(integer) does not exist at character 34"}, + {"id": "pg.functions.string.trim.k307274c1befa", "category": "functions:semantic", "sql": "SELECT TRIM ( 1 )", "error": "function pg_catalog.btrim(integer) does not exist at character 34"}, + {"id": "pg.functions.string.trim.k613aae221ea5", "category": "functions:semantic", "sql": "SELECT TRIM ( BOTH 1 )", "error": "function pg_catalog.btrim(integer) does not exist at character 34"}, + {"id": "pg.functions.string.trim.kb039baffe4e9", "category": "functions:semantic", "sql": "SELECT TRIM ( LEADING 1 )", "error": "function pg_catalog.ltrim(integer) does not exist at character 34"}, + {"id": "pg.functions.string.unicode-assigned.k27d51c39785c", "category": "functions:executed", "sql": "SELECT UNICODE_ASSIGNED ( 'day' )", "type": "boolean"}, + {"id": "pg.functions.string.unistr.k1ff70e3e288e", "category": "functions:executed", "sql": "SELECT UNISTR ( 'day' )", "type": "text"}, + {"id": "pg.functions.string.upper.k2c04493c42e0", "category": "functions:executed", "sql": "SELECT UPPER ( 'm' )", "type": "text"}, + {"id": "pg.functions.textsearch.array-to-tsvector.k7795c639a1de", "category": "functions:executed", "sql": "SELECT ARRAY_TO_TSVECTOR ( ARRAY [ 'day' ] )", "type": "tsvector"}, + {"id": "pg.functions.textsearch.get-current-ts-config.kbb2bac0d32dd", "category": "functions:executed", "sql": "SELECT GET_CURRENT_TS_CONFIG ( )", "type": "regconfig"}, + {"id": "pg.functions.textsearch.json-to-tsvector.k089fedabf6f8", "category": "functions:semantic", "sql": "SELECT JSON_TO_TSVECTOR ( 1 , 1 )", "error": "function json_to_tsvector(integer, integer) does not exist at character 34"}, + {"id": "pg.functions.textsearch.json-to-tsvector.kb7b7e1fcccdd", "category": "functions:semantic", "sql": "SELECT JSON_TO_TSVECTOR ( 1 , 1 , 1 )", "error": "function json_to_tsvector(integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.textsearch.jsonb-to-tsvector.k778b536c5cfd", "category": "functions:semantic", "sql": "SELECT JSONB_TO_TSVECTOR ( 1 , 1 , 1 )", "error": "function jsonb_to_tsvector(integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.textsearch.jsonb-to-tsvector.kb4568ee75b28", "category": "functions:semantic", "sql": "SELECT JSONB_TO_TSVECTOR ( 1 , 1 )", "error": "function jsonb_to_tsvector(integer, integer) does not exist at character 34"}, + {"id": "pg.functions.textsearch.length.k4b77f60940a5", "category": "functions:executed", "sql": "SELECT LENGTH ( TSVECTOR 'a' )", "type": "integer"}, + {"id": "pg.functions.textsearch.numnode.kb3ebd691c6fb", "category": "functions:executed", "sql": "SELECT NUMNODE ( TSQUERY 'a' )", "type": "integer"}, + {"id": "pg.functions.textsearch.phraseto-tsquery.k669cd5be0e54", "category": "functions:semantic", "sql": "SELECT PHRASETO_TSQUERY ( 1 )", "error": "function phraseto_tsquery(integer) does not exist at character 34"}, + {"id": "pg.functions.textsearch.phraseto-tsquery.kaffc4443e320", "category": "functions:semantic", "sql": "SELECT PHRASETO_TSQUERY ( 1 , 1 )", "error": "function phraseto_tsquery(integer, integer) does not exist at character 34"}, + {"id": "pg.functions.textsearch.plainto-tsquery.k21b2eb4ae318", "category": "functions:semantic", "sql": "SELECT PLAINTO_TSQUERY ( 1 )", "error": "function plainto_tsquery(integer) does not exist at character 34"}, + {"id": "pg.functions.textsearch.plainto-tsquery.k6b84991ebf63", "category": "functions:semantic", "sql": "SELECT PLAINTO_TSQUERY ( 1 , 1 )", "error": "function plainto_tsquery(integer, integer) does not exist at character 34"}, + {"id": "pg.functions.textsearch.querytree.kd9b944898160", "category": "functions:executed", "sql": "SELECT QUERYTREE ( TSQUERY 'a' )", "type": "text"}, + {"id": "pg.functions.textsearch.setweight.k753569f13ef6", "category": "functions:semantic", "sql": "SELECT SETWEIGHT ( 1 , 1 )", "error": "function setweight(integer, integer) does not exist at character 34"}, + {"id": "pg.functions.textsearch.setweight.kfb621db45d2f", "category": "functions:semantic", "sql": "SELECT SETWEIGHT ( 1 , 1 , 1 )", "error": "function setweight(integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.textsearch.strip.k26b6121585d9", "category": "functions:executed", "sql": "SELECT STRIP ( TSVECTOR 'a' )", "type": "tsvector"}, + {"id": "pg.functions.textsearch.to-tsquery.k33bdc6c54e34", "category": "functions:semantic", "sql": "SELECT TO_TSQUERY ( 1 , 1 )", "error": "function to_tsquery(integer, integer) does not exist at character 34"}, + {"id": "pg.functions.textsearch.to-tsquery.k72522edb1659", "category": "functions:semantic", "sql": "SELECT TO_TSQUERY ( 1 )", "error": "function to_tsquery(integer) does not exist at character 34"}, + {"id": "pg.functions.textsearch.to-tsvector.k1e9ee1ea15aa", "category": "functions:semantic", "sql": "SELECT TO_TSVECTOR ( 1 , 1 )", "error": "function to_tsvector(integer, integer) does not exist at character 34"}, + {"id": "pg.functions.textsearch.to-tsvector.kd8ff88064207", "category": "functions:semantic", "sql": "SELECT TO_TSVECTOR ( 1 )", "error": "function to_tsvector(integer) does not exist at character 34"}, + {"id": "pg.functions.textsearch.ts-debug.k1325c190e1eb", "category": "functions:semantic", "sql": "SELECT TS_DEBUG ( 1 , 1 )", "error": "function ts_debug(integer, integer) does not exist at character 34"}, + {"id": "pg.functions.textsearch.ts-debug.k36314e04fde6", "category": "functions:semantic", "sql": "SELECT TS_DEBUG ( 1 )", "error": "function ts_debug(integer) does not exist at character 34"}, + {"id": "pg.functions.textsearch.ts-delete.k2b1e95f7e79c", "category": "functions:semantic", "sql": "SELECT TS_DELETE ( 1 , 1 )", "error": "function ts_delete(integer, integer) does not exist at character 34"}, + {"id": "pg.functions.textsearch.ts-filter.k140917627400", "category": "functions:semantic", "sql": "SELECT TS_FILTER ( 1 , 1 )", "error": "function ts_filter(integer, integer) does not exist at character 34"}, + {"id": "pg.functions.textsearch.ts-headline.k1473a7cb499b", "category": "functions:semantic", "sql": "SELECT TS_HEADLINE ( 1 , 1 , 1 , 1 )", "error": "function ts_headline(integer, integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.textsearch.ts-headline.k331ca40be290", "category": "functions:semantic", "sql": "SELECT TS_HEADLINE ( 1 , 1 )", "error": "function ts_headline(integer, integer) does not exist at character 34"}, + {"id": "pg.functions.textsearch.ts-lexize.k1e050aca007f", "category": "functions:semantic", "sql": "SELECT TS_LEXIZE ( 1 , 1 )", "error": "function ts_lexize(integer, integer) does not exist at character 34"}, + {"id": "pg.functions.textsearch.ts-parse.kaa446ded1ca9", "category": "functions:semantic", "sql": "SELECT TS_PARSE ( 1 , 1 )", "error": "function ts_parse(integer, integer) does not exist at character 34"}, + {"id": "pg.functions.textsearch.ts-rank-cd.k73f02b3a2fef", "category": "functions:semantic", "sql": "SELECT TS_RANK_CD ( 1 , 1 , 1 , 1 )", "error": "function ts_rank_cd(integer, integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.textsearch.ts-rank-cd.kc3a2959e41b5", "category": "functions:semantic", "sql": "SELECT TS_RANK_CD ( 1 , 1 )", "error": "function ts_rank_cd(integer, integer) does not exist at character 34"}, + {"id": "pg.functions.textsearch.ts-rank.k51bec645fe65", "category": "functions:semantic", "sql": "SELECT TS_RANK ( 1 , 1 , 1 , 1 )", "error": "function ts_rank(integer, integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.textsearch.ts-rank.kb20cd65b6edc", "category": "functions:semantic", "sql": "SELECT TS_RANK ( 1 , 1 )", "error": "function ts_rank(integer, integer) does not exist at character 34"}, + {"id": "pg.functions.textsearch.ts-rewrite.ke927c7fe2cef", "category": "functions:semantic", "sql": "SELECT TS_REWRITE ( 1 , 1 )", "error": "function ts_rewrite(integer, integer) does not exist at character 34"}, + {"id": "pg.functions.textsearch.ts-rewrite.kf402620c99ec", "category": "functions:semantic", "sql": "SELECT TS_REWRITE ( 1 , 1 , 1 )", "error": "function ts_rewrite(integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.textsearch.ts-stat.k121ee3e69dc5", "category": "functions:semantic", "sql": "SELECT TS_STAT ( 1 )", "error": "function ts_stat(integer) does not exist at character 34"}, + {"id": "pg.functions.textsearch.ts-stat.k4351f8180ade", "category": "functions:semantic", "sql": "SELECT TS_STAT ( 1 , 1 )", "error": "function ts_stat(integer, integer) does not exist at character 34"}, + {"id": "pg.functions.textsearch.ts-token-type.ka31dfd2c60e1", "category": "functions:runtime", "sql": "SELECT TS_TOKEN_TYPE ( 1 )", "error": "column \"ts_token_type\" has pseudo-type record"}, + {"id": "pg.functions.textsearch.tsquery-phrase.k14b38b7b8d41", "category": "functions:semantic", "sql": "SELECT TSQUERY_PHRASE ( 1 , 1 , 1 )", "error": "function tsquery_phrase(integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.textsearch.tsquery-phrase.ka41a441b69eb", "category": "functions:semantic", "sql": "SELECT TSQUERY_PHRASE ( 1 , 1 )", "error": "function tsquery_phrase(integer, integer) does not exist at character 34"}, + {"id": "pg.functions.textsearch.tsvector-to-array.k5bd9f42ea34e", "category": "functions:executed", "sql": "SELECT TSVECTOR_TO_ARRAY ( TSVECTOR 'a' )", "type": "text[]"}, + {"id": "pg.functions.textsearch.unnest.k098b7236e4be", "category": "functions:executed", "sql": "SELECT UNNEST ( TSVECTOR 'a' )", "error": "column \"unnest\" has pseudo-type record"}, + {"id": "pg.functions.textsearch.websearch-to-tsquery.k09a3351b7bd6", "category": "functions:semantic", "sql": "SELECT WEBSEARCH_TO_TSQUERY ( 1 , 1 )", "error": "function websearch_to_tsquery(integer, integer) does not exist at character 34"}, + {"id": "pg.functions.textsearch.websearch-to-tsquery.k1e1849316760", "category": "functions:semantic", "sql": "SELECT WEBSEARCH_TO_TSQUERY ( 1 )", "error": "function websearch_to_tsquery(integer) does not exist at character 34"}, + {"id": "pg.functions.trigger.suppress-redundant-updates-trigger.k622c96e0461b", "category": "functions:runtime", "sql": "SELECT SUPPRESS_REDUNDANT_UPDATES_TRIGGER ( )", "error": "column \"suppress_redundant_updates_trigger\" has pseudo-type trigger"}, + {"id": "pg.functions.trigger.tsvector-update-trigger-column.kc070f0bce770", "category": "functions:runtime", "sql": "SELECT TSVECTOR_UPDATE_TRIGGER_COLUMN ( )", "error": "column \"tsvector_update_trigger_column\" has pseudo-type trigger"}, + {"id": "pg.functions.trigger.tsvector-update-trigger.k872d874b9564", "category": "functions:runtime", "sql": "SELECT TSVECTOR_UPDATE_TRIGGER ( )", "error": "column \"tsvector_update_trigger\" has pseudo-type trigger"}, + {"id": "pg.functions.uuid.gen-random-uuid.k23f7b0bbc3fe", "category": "functions:executed", "sql": "SELECT GEN_RANDOM_UUID ( )", "type": "uuid"}, + {"id": "pg.functions.uuid.uuid-extract-timestamp.k6518f2ac97dc", "category": "functions:semantic", "sql": "SELECT UUID_EXTRACT_TIMESTAMP ( v1 )", "error": "column \"v1\" does not exist at character 59"}, + {"id": "pg.functions.uuid.uuid-extract-version.kb25c69ce2447", "category": "functions:semantic", "sql": "SELECT UUID_EXTRACT_VERSION ( v1 )", "error": "column \"v1\" does not exist at character 57"}, + {"id": "pg.functions.uuid.uuidv4.k0d9f55460e66", "category": "functions:executed", "sql": "SELECT UUIDV4 ( )", "type": "uuid"}, + {"id": "pg.functions.uuid.uuidv7.k61393867bc6e", "category": "functions:executed", "sql": "SELECT UUIDV7 ( )", "type": "uuid"}, + {"id": "pg.functions.uuid.uuidv7.kbb04f32688b4", "category": "functions:semantic", "sql": "SELECT UUIDV7 ( 1 )", "error": "function uuidv7(integer) does not exist at character 34"}, + {"id": "pg.functions.window.cume-dist.k13d1e0d7ae51", "category": "functions:semantic", "sql": "SELECT CUME_DIST ( )", "error": "window function cume_dist requires an OVER clause at character 34"}, + {"id": "pg.functions.window.dense-rank.kf20be14d0097", "category": "functions:semantic", "sql": "SELECT DENSE_RANK ( )", "error": "window function dense_rank requires an OVER clause at character 34"}, + {"id": "pg.functions.window.first-value.ka17eaa5dbb8d", "category": "functions:semantic", "sql": "SELECT FIRST_VALUE ( 1 )", "error": "window function first_value requires an OVER clause at character 34"}, + {"id": "pg.functions.window.lag.k0a1c7bd34f59", "category": "functions:semantic", "sql": "SELECT LAG ( 1 , 1 , 1 )", "error": "window function lag requires an OVER clause at character 34"}, + {"id": "pg.functions.window.lag.k8edb38366aec", "category": "functions:semantic", "sql": "SELECT LAG ( 1 )", "error": "window function lag requires an OVER clause at character 34"}, + {"id": "pg.functions.window.lag.kde9ba60de6f2", "category": "functions:semantic", "sql": "SELECT LAG ( 1 , 1 )", "error": "window function lag requires an OVER clause at character 34"}, + {"id": "pg.functions.window.last-value.k8799552d378e", "category": "functions:semantic", "sql": "SELECT LAST_VALUE ( 1 )", "error": "window function last_value requires an OVER clause at character 34"}, + {"id": "pg.functions.window.lead.k1af1049e8108", "category": "functions:semantic", "sql": "SELECT LEAD ( 1 , 1 , 1 )", "error": "window function lead requires an OVER clause at character 34"}, + {"id": "pg.functions.window.lead.k2d06d0c83d98", "category": "functions:semantic", "sql": "SELECT LEAD ( 1 , 1 )", "error": "window function lead requires an OVER clause at character 34"}, + {"id": "pg.functions.window.lead.k8dd29b6d442d", "category": "functions:semantic", "sql": "SELECT LEAD ( 1 )", "error": "window function lead requires an OVER clause at character 34"}, + {"id": "pg.functions.window.nth-value.k29ce7cc72ecd", "category": "functions:semantic", "sql": "SELECT NTH_VALUE ( 1 , 1 )", "error": "window function nth_value requires an OVER clause at character 34"}, + {"id": "pg.functions.window.ntile.k7f584e98b253", "category": "functions:semantic", "sql": "SELECT NTILE ( 1 )", "error": "window function ntile requires an OVER clause at character 34"}, + {"id": "pg.functions.window.percent-rank.k7f3a597218ce", "category": "functions:semantic", "sql": "SELECT PERCENT_RANK ( )", "error": "window function percent_rank requires an OVER clause at character 34"}, + {"id": "pg.functions.window.rank.k4f9ef8d43b9e", "category": "functions:semantic", "sql": "SELECT RANK ( )", "error": "window function rank requires an OVER clause at character 34"}, + {"id": "pg.functions.window.row-number.kf4b727f42880", "category": "functions:semantic", "sql": "SELECT ROW_NUMBER ( )", "error": "window function row_number requires an OVER clause at character 34"}, + {"id": "pg.functions.xml.cursor-to-xml.kd04ad6968c64", "category": "functions:semantic", "sql": "SELECT CURSOR_TO_XML ( 1 , 1 , 1 , 1 , 1 )", "error": "function cursor_to_xml(integer, integer, integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.xml.cursor-to-xmlschema.k3caff454ba57", "category": "functions:semantic", "sql": "SELECT CURSOR_TO_XMLSCHEMA ( 1 , 1 , 1 , 1 )", "error": "function cursor_to_xmlschema(integer, integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.xml.database-to-xml-and-xmlschema.kcbaf3d82f010", "category": "functions:semantic", "sql": "SELECT DATABASE_TO_XML_AND_XMLSCHEMA ( 1 , 1 , 1 )", "error": "function database_to_xml_and_xmlschema(integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.xml.database-to-xml.k3f36a9da11b9", "category": "functions:semantic", "sql": "SELECT DATABASE_TO_XML ( 1 , 1 , 1 )", "error": "function database_to_xml(integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.xml.database-to-xmlschema.k25b659773bc3", "category": "functions:semantic", "sql": "SELECT DATABASE_TO_XMLSCHEMA ( 1 , 1 , 1 )", "error": "function database_to_xmlschema(integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.xml.query-to-xml-and-xmlschema.k72b8a2925368", "category": "functions:semantic", "sql": "SELECT QUERY_TO_XML_AND_XMLSCHEMA ( 1 , 1 , 1 , 1 )", "error": "function query_to_xml_and_xmlschema(integer, integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.xml.query-to-xml.kb19d7046bdab", "category": "functions:semantic", "sql": "SELECT QUERY_TO_XML ( 1 , 1 , 1 , 1 )", "error": "function query_to_xml(integer, integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.xml.query-to-xmlschema.k2bc6e54f1765", "category": "functions:semantic", "sql": "SELECT QUERY_TO_XMLSCHEMA ( 1 , 1 , 1 , 1 )", "error": "function query_to_xmlschema(integer, integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.xml.schema-to-xml-and-xmlschema.k8654478ba165", "category": "functions:semantic", "sql": "SELECT SCHEMA_TO_XML_AND_XMLSCHEMA ( 1 , 1 , 1 , 1 )", "error": "function schema_to_xml_and_xmlschema(integer, integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.xml.schema-to-xml.ke118243d49b3", "category": "functions:semantic", "sql": "SELECT SCHEMA_TO_XML ( 1 , 1 , 1 , 1 )", "error": "function schema_to_xml(integer, integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.xml.schema-to-xmlschema.k80b9e45117d1", "category": "functions:semantic", "sql": "SELECT SCHEMA_TO_XMLSCHEMA ( 1 , 1 , 1 , 1 )", "error": "function schema_to_xmlschema(integer, integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.xml.table-to-xml-and-xmlschema.kbf8486f8b51e", "category": "functions:semantic", "sql": "SELECT TABLE_TO_XML_AND_XMLSCHEMA ( 1 , 1 , 1 , 1 )", "error": "function table_to_xml_and_xmlschema(integer, integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.xml.table-to-xml.k0761aa49c645", "category": "functions:semantic", "sql": "SELECT TABLE_TO_XML ( 1 , 1 , 1 , 1 )", "error": "function table_to_xml(integer, integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.xml.table-to-xmlschema.kdc6362ef16d2", "category": "functions:semantic", "sql": "SELECT TABLE_TO_XMLSCHEMA ( 1 , 1 , 1 , 1 )", "error": "function table_to_xmlschema(integer, integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.xml.xml-is-well-formed-content.k2cf55c8492ca", "category": "functions:executed", "sql": "SELECT XML_IS_WELL_FORMED_CONTENT ( 'day' )", "type": "boolean"}, + {"id": "pg.functions.xml.xml-is-well-formed-document.k47d121422039", "category": "functions:executed", "sql": "SELECT XML_IS_WELL_FORMED_DOCUMENT ( 'day' )", "type": "boolean"}, + {"id": "pg.functions.xml.xml-is-well-formed.k3018f6d79900", "category": "functions:executed", "sql": "SELECT XML_IS_WELL_FORMED ( 'day' )", "type": "boolean"}, + {"id": "pg.functions.xml.xmlagg.kdb7575784879", "category": "functions:executed", "sql": "SELECT XMLAGG ( XML '' )", "type": "xml"}, + {"id": "pg.functions.xml.xmlcomment.kdd3fc5d8b80e", "category": "functions:executed", "sql": "SELECT XMLCOMMENT ( 'day' )", "type": "xml"}, + {"id": "pg.functions.xml.xmlconcat.k13566318c9ce", "category": "functions:executed", "sql": "SELECT XMLCONCAT ( XML '' )", "type": "xml"}, + {"id": "pg.functions.xml.xmlconcat.k79acf0a0b34f", "category": "functions:executed", "sql": "SELECT XMLCONCAT ( XML '' , XML '' )", "type": "xml"}, + {"id": "pg.functions.xml.xmlelement-name.k2d0dcfd6f7e7", "category": "functions:semantic", "sql": "SELECT XMLELEMENT ( NAME t1 , XMLATTRIBUTES ( 1 ) )", "error": "unnamed XML attribute value must be a column reference at character 73"}, + {"id": "pg.functions.xml.xmlelement-name.kace16966bb82", "category": "functions:semantic", "sql": "SELECT XMLELEMENT ( NAME t1 , v1 )", "error": "column \"v1\" does not exist at character 57"}, + {"id": "pg.functions.xml.xmlelement-name.kb7e3230b8575", "category": "functions:semantic", "sql": "SELECT XMLELEMENT ( NAME t1 , XMLATTRIBUTES ( 1 AS v1 , 1 AS v1 ) , v1 , v1 )", "error": "XML attribute name \"v1\" appears more than once at character 83"}, + {"id": "pg.functions.xml.xmlelement-name.kc4d0b5993519", "category": "functions:executed", "sql": "SELECT XMLELEMENT ( NAME t1 )", "type": "xml"}, + {"id": "pg.functions.xml.xmlexists-passing.k361efc80f214", "category": "functions:executed", "sql": "SELECT XMLEXISTS ( 'day' PASSING BY VALUE XML '' )", "type": "boolean"}, + {"id": "pg.functions.xml.xmlexists-passing.k4a8a979c3d92", "category": "functions:executed", "sql": "SELECT XMLEXISTS ( 'day' PASSING BY REF XML '' BY REF )", "type": "boolean"}, + {"id": "pg.functions.xml.xmlexists-passing.k5f0a10d0469d", "category": "functions:executed", "sql": "SELECT XMLEXISTS ( 'day' PASSING XML '' BY REF )", "type": "boolean"}, + {"id": "pg.functions.xml.xmlexists-passing.k9c73e8a125a7", "category": "functions:executed", "sql": "SELECT XMLEXISTS ( 'day' PASSING XML '' BY VALUE )", "type": "boolean"}, + {"id": "pg.functions.xml.xmlexists-passing.k9f0a4a72244c", "category": "functions:executed", "sql": "SELECT XMLEXISTS ( 'day' PASSING BY REF XML '' )", "type": "boolean"}, + {"id": "pg.functions.xml.xmlexists-passing.kcb53264d55dc", "category": "functions:executed", "sql": "SELECT XMLEXISTS ( 'day' PASSING XML '' )", "type": "boolean"}, + {"id": "pg.functions.xml.xmlforest.k4dc0d3ba417d", "category": "functions:semantic", "sql": "SELECT XMLFOREST ( v1 )", "error": "column \"v1\" does not exist at character 46"}, + {"id": "pg.functions.xml.xmlforest.k5c9d4277d1cb", "category": "functions:semantic", "sql": "SELECT XMLFOREST ( v1 AS t1 , v1 AS t1 )", "error": "column \"v1\" does not exist at character 46"}, + {"id": "pg.functions.xml.xmlpi-name.k2621f8daf3f1", "category": "functions:semantic", "sql": "SELECT XMLPI ( NAME t1 , v1 )", "error": "column \"v1\" does not exist at character 52"}, + {"id": "pg.functions.xml.xmlpi-name.kf6646027c8e3", "category": "functions:executed", "sql": "SELECT XMLPI ( NAME t1 )", "type": "xml"}, + {"id": "pg.functions.xml.xmlroot-version.k1ab8ee6708c6", "category": "functions:executed", "sql": "SELECT XMLROOT ( XML '' , VERSION 'day' , STANDALONE NO )", "type": "xml"}, + {"id": "pg.functions.xml.xmlroot-version.k2c03a9c96252", "category": "functions:executed", "sql": "SELECT XMLROOT ( XML '' , VERSION 'day' , STANDALONE NO VALUE )", "type": "xml"}, + {"id": "pg.functions.xml.xmlroot-version.k72d4a4205f62", "category": "functions:executed", "sql": "SELECT XMLROOT ( XML '' , VERSION 'day' )", "type": "xml"}, + {"id": "pg.functions.xml.xmlroot-version.k9b864cb56829", "category": "functions:executed", "sql": "SELECT XMLROOT ( XML '' , VERSION 'day' , STANDALONE YES )", "type": "xml"}, + {"id": "pg.functions.xml.xmlroot-version.kb55930a35a3c", "category": "functions:executed", "sql": "SELECT XMLROOT ( XML '' , VERSION NO VALUE )", "type": "xml"}, + {"id": "pg.functions.xml.xmltable-passing-columns.k1e8adce48066", "category": "functions:semantic", "sql": "SELECT * FROM XMLTABLE ( XMLNAMESPACES ( \"v1 Q\" AS v1 ) , 1 PASSING 1 COLUMNS t1 INT )", "error": "argument of XMLTABLE must be type xml, not type integer at character 95"}, + {"id": "pg.functions.xml.xmltable-passing-columns.k2a02abcf2658", "category": "functions:semantic", "sql": "SELECT * FROM XMLTABLE ( 1 PASSING 1 COLUMNS t1 INT )", "error": "argument of XMLTABLE must be type xml, not type integer at character 62"}, + {"id": "pg.functions.xml.xmltable-passing-columns.k2a49456a5d77", "category": "functions:semantic", "sql": "SELECT * FROM XMLTABLE ( 1 PASSING BY REF 1 COLUMNS t1 INT )", "error": "argument of XMLTABLE must be type xml, not type integer at character 69"}, + {"id": "pg.functions.xml.xmltable-passing-columns.k5f85a5250d14", "category": "functions:semantic", "sql": "SELECT * FROM XMLTABLE ( 1 PASSING 1 COLUMNS \"t1 Q\" INT )", "error": "argument of XMLTABLE must be type xml, not type integer at character 62"}, + {"id": "pg.functions.xml.xmltable-passing-columns.k77c2857c908a", "category": "functions:semantic", "sql": "SELECT * FROM XMLTABLE ( XMLNAMESPACES ( v1 AS v1 ) , 1 PASSING 1 COLUMNS t1 INT )", "error": "argument of XMLTABLE must be type xml, not type integer at character 91"}, + {"id": "pg.functions.xml.xmltable-passing-columns.k8584704d5a71", "category": "functions:semantic", "sql": "SELECT * FROM XMLTABLE ( 1 PASSING 1 COLUMNS t1 INT NOT NULL )", "error": "argument of XMLTABLE must be type xml, not type integer at character 62"}, + {"id": "pg.functions.xml.xmltable-passing-columns.k9de6050bc90c", "category": "functions:semantic", "sql": "SELECT * FROM XMLTABLE ( 1 PASSING 1 COLUMNS t1 FOR ORDINALITY )", "error": "argument of XMLTABLE must be type xml, not type integer at character 62"}, + {"id": "pg.functions.xml.xmltable-passing-columns.kac1f0f77f211", "category": "functions:semantic", "sql": "SELECT * FROM XMLTABLE ( 1 PASSING 1 COLUMNS t1 INT NULL )", "error": "argument of XMLTABLE must be type xml, not type integer at character 62"}, + {"id": "pg.functions.xml.xmltable-passing-columns.kb0fd5e1ea24d", "category": "functions:semantic", "sql": "SELECT * FROM XMLTABLE ( XMLNAMESPACES ( \"SELECT\" AS v1 ) , 1 PASSING 1 COLUMNS t1 INT )", "error": "argument of XMLTABLE must be type xml, not type integer at character 97"}, + {"id": "pg.functions.xml.xmltable-passing-columns.kcaac6b48cee4", "category": "functions:semantic", "sql": "SELECT * FROM XMLTABLE ( XMLNAMESPACES ( v1 AS v1 , v1 AS v1 ) , 1 PASSING BY REF 1 BY REF COLUMNS t1 INT PATH 1 DEFAULT 1 NOT NULL , t1 INT )", "error": "argument of XMLTABLE must be type xml, not type integer at character 109"}, + {"id": "pg.functions.xml.xmltable-passing-columns.kd6bdaa6ca509", "category": "functions:semantic", "sql": "SELECT * FROM XMLTABLE ( 1 PASSING 1 BY REF COLUMNS t1 INT )", "error": "argument of XMLTABLE must be type xml, not type integer at character 62"}, + {"id": "pg.functions.xml.xmltable-passing-columns.kddcda01be9f8", "category": "functions:semantic", "sql": "SELECT * FROM XMLTABLE ( 1 PASSING 1 BY VALUE COLUMNS t1 FOR ORDINALITY )", "error": "argument of XMLTABLE must be type xml, not type integer at character 62"}, + {"id": "pg.functions.xml.xmltable-passing-columns.ke33818e43458", "category": "functions:semantic", "sql": "SELECT * FROM XMLTABLE ( 1 PASSING BY VALUE 1 COLUMNS t1 FOR ORDINALITY )", "error": "argument of XMLTABLE must be type xml, not type integer at character 71"}, + {"id": "pg.functions.xml.xmltable-passing-columns.kfdd63bbcb35f", "category": "functions:semantic", "sql": "SELECT * FROM XMLTABLE ( 1 PASSING 1 COLUMNS \"SELECT\" INT )", "error": "argument of XMLTABLE must be type xml, not type integer at character 62"}, + {"id": "pg.functions.xml.xmltext.kf836bbfd83bc", "category": "functions:executed", "sql": "SELECT XMLTEXT ( 'day' )", "type": "xml"}, + {"id": "pg.functions.xml.xpath-exists.k3f8b395eb676", "category": "functions:semantic", "sql": "SELECT XPATH_EXISTS ( 1 , 1 )", "error": "function xpath_exists(integer, integer) does not exist at character 34"}, + {"id": "pg.functions.xml.xpath-exists.kef02667bd3d2", "category": "functions:semantic", "sql": "SELECT XPATH_EXISTS ( 1 , 1 , 1 )", "error": "function xpath_exists(integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.xml.xpath.k7538700b92e4", "category": "functions:semantic", "sql": "SELECT XPATH ( 1 , 1 , 1 )", "error": "function xpath(integer, integer, integer) does not exist at character 34"}, + {"id": "pg.functions.xml.xpath.ke9c194f8eceb", "category": "functions:semantic", "sql": "SELECT XPATH ( 1 , 1 )", "error": "function xpath(integer, integer) does not exist at character 34"}, + {"id": "pg.query.queries-table-expressions.join-on.k10de0ee8a3fd", "category": "query:semantic", "sql": "SELECT * FROM v1 INNER JOIN v1 ON TRUE", "error": "relation \"v1\" does not exist at character 41"}, + {"id": "pg.query.queries-table-expressions.join-on.k12ad69b452c1", "category": "query:semantic", "sql": "SELECT * FROM v1 FULL JOIN v1 ON TRUE", "error": "relation \"v1\" does not exist at character 41"}, + {"id": "pg.query.queries-table-expressions.join-on.k345bdd6d8fe9", "category": "query:semantic", "sql": "SELECT * FROM v1 LEFT OUTER JOIN v1 ON TRUE", "error": "relation \"v1\" does not exist at character 41"}, + {"id": "pg.query.queries-table-expressions.join-on.k60d8b91aede1", "category": "query:semantic", "sql": "SELECT * FROM v1 JOIN v1 ON TRUE", "error": "relation \"v1\" does not exist at character 41"}, + {"id": "pg.query.queries-table-expressions.join-on.k823fced165d3", "category": "query:semantic", "sql": "SELECT * FROM v1 LEFT JOIN v1 ON TRUE", "error": "relation \"v1\" does not exist at character 41"}, + {"id": "pg.query.queries-table-expressions.join-on.kc8dbbb69da86", "category": "query:semantic", "sql": "SELECT * FROM v1 RIGHT JOIN v1 ON TRUE", "error": "relation \"v1\" does not exist at character 41"}, + {"id": "pg.query.queries-table-expressions.join-using.k15bd8b5d4153", "category": "query:semantic", "sql": "SELECT * FROM v1 LEFT OUTER JOIN v1 USING ( c1 )", "error": "relation \"v1\" does not exist at character 41"}, + {"id": "pg.query.queries-table-expressions.join-using.k4a82d54e0982", "category": "query:semantic", "sql": "SELECT * FROM v1 JOIN v1 USING ( c1 )", "error": "relation \"v1\" does not exist at character 41"}, + {"id": "pg.query.queries-table-expressions.join-using.k4a9d5c711ece", "category": "query:semantic", "sql": "SELECT * FROM v1 INNER JOIN v1 USING ( c1 )", "error": "relation \"v1\" does not exist at character 41"}, + {"id": "pg.query.queries-table-expressions.join-using.k6c96eb7929e5", "category": "query:semantic", "sql": "SELECT * FROM v1 LEFT JOIN v1 USING ( c1 )", "error": "relation \"v1\" does not exist at character 41"}, + {"id": "pg.query.queries-table-expressions.join-using.k8af1e7094a67", "category": "query:semantic", "sql": "SELECT * FROM v1 RIGHT JOIN v1 USING ( c1 )", "error": "relation \"v1\" does not exist at character 41"}, + {"id": "pg.query.queries-table-expressions.join-using.kb60b20425385", "category": "query:semantic", "sql": "SELECT * FROM v1 FULL JOIN v1 USING ( c1 )", "error": "relation \"v1\" does not exist at character 41"}, + {"id": "pg.query.queries-table-expressions.natural-join.k34e376a6d204", "category": "query:semantic", "sql": "SELECT * FROM v1 NATURAL RIGHT JOIN v1", "error": "relation \"v1\" does not exist at character 41"}, + {"id": "pg.query.queries-table-expressions.natural-join.k4aa82cf92c69", "category": "query:semantic", "sql": "SELECT * FROM v1 NATURAL LEFT OUTER JOIN v1", "error": "relation \"v1\" does not exist at character 41"}, + {"id": "pg.query.queries-table-expressions.natural-join.k65a9c7767ff1", "category": "query:semantic", "sql": "SELECT * FROM v1 NATURAL JOIN v1", "error": "relation \"v1\" does not exist at character 41"}, + {"id": "pg.query.queries-table-expressions.natural-join.k6a2877108b81", "category": "query:semantic", "sql": "SELECT * FROM v1 NATURAL LEFT JOIN v1", "error": "relation \"v1\" does not exist at character 41"}, + {"id": "pg.query.queries-table-expressions.natural-join.k7beaa742fd0e", "category": "query:semantic", "sql": "SELECT * FROM v1 NATURAL FULL JOIN v1", "error": "relation \"v1\" does not exist at character 41"}, + {"id": "pg.query.queries-table-expressions.natural-join.ka61fe96a202d", "category": "query:semantic", "sql": "SELECT * FROM v1 NATURAL INNER JOIN v1", "error": "relation \"v1\" does not exist at character 41"}, + {"id": "pg.query.select-into.k16f33392daf5", "category": "query:executed", "sql": "SELECT INTO t2 FETCH FIRST ROW ONLY", "error": "views must not contain SELECT INTO"}, + {"id": "pg.query.select-into.k1d1656737a8e", "category": "query:executed", "sql": "SELECT INTO t2", "error": "views must not contain SELECT INTO"}, + {"id": "pg.query.select-into.k224d25673d64", "category": "query:executed", "sql": "SELECT INTO t2 OFFSET 1 ROW", "error": "views must not contain SELECT INTO"}, + {"id": "pg.query.select-into.k2e3e9358cab2", "category": "query:executed", "sql": "WITH \"SELECT\" AS ( SELECT 1 ) SELECT INTO t2", "error": "views must not contain SELECT INTO"}, + {"id": "pg.query.select-into.k2f4e2c0b57c9", "category": "query:executed", "sql": "SELECT INTO t2 FOR UPDATE", "error": "views must not contain SELECT INTO"}, + {"id": "pg.query.select-into.k3bb30987cfe7", "category": "query:semantic", "sql": "SELECT INTO t2 FOR UPDATE OF \"t1 Q\"", "error": "relation \"t1 Q\" in FOR UPDATE clause not found in FROM clause at character 56"}, + {"id": "pg.query.select-into.k41cdc87cdf2c", "category": "query:semantic", "sql": "SELECT INTO t2 INTERSECT SELECT 1", "error": "each INTERSECT query must have the same number of columns at character 59"}, + {"id": "pg.query.select-into.k4a6ece152783", "category": "query:semantic", "sql": "SELECT INTO t2 ORDER BY 1 NULLS FIRST", "error": "ORDER BY position 1 is not in select list at character 51"}, + {"id": "pg.query.select-into.k4a9b468b494e", "category": "query:semantic", "sql": "SELECT INTO t2 ORDER BY 1 DESC", "error": "ORDER BY position 1 is not in select list at character 51"}, + {"id": "pg.query.select-into.k4e0c247811e2", "category": "query:executed", "sql": "SELECT 1 INTO t2", "error": "views must not contain SELECT INTO"}, + {"id": "pg.query.select-into.k561ea764fa16", "category": "query:executed", "sql": "WITH RECURSIVE w1 AS ( SELECT 1 ) , w1 AS ( SELECT 1 ) SELECT DISTINCT ON ( 1 , 1 ) * , 1 INTO TEMPORARY TABLE t2 FROM t1 , t1 WHERE TRUE GROUP BY 1 , 1 HAVING TRUE WINDOW w1 AS ( ORDER BY c1 ) , w1 AS ( ORDER BY c1 ) UNION ALL SELECT 1 ORDER BY 1 ASC NULLS FIRST , 1 LIMIT 1 OFFSET 1 ROW FOR UPDATE OF t1 , t1 NOWAIT", "error": "FOR UPDATE is not allowed with UNION/INTERSECT/EXCEPT"}, + {"id": "pg.query.select-into.k5dffaea6f3b5", "category": "query:semantic", "sql": "SELECT * INTO t2", "error": "SELECT * with no tables specified is not valid at character 34"}, + {"id": "pg.query.select-into.k5e2a47176722", "category": "query:semantic", "sql": "SELECT INTO t2 UNION SELECT 1", "error": "each UNION query must have the same number of columns at character 55"}, + {"id": "pg.query.select-into.k5e4e146fd96b", "category": "query:executed", "sql": "WITH w1 AS ( SELECT * FROM ( SELECT 1 ) ) SELECT INTO t2", "error": "views must not contain SELECT INTO"}, + {"id": "pg.query.select-into.k5e844b8b30d8", "category": "query:executed", "sql": "SELECT INTO t2 OFFSET 1", "error": "views must not contain SELECT INTO"}, + {"id": "pg.query.select-into.k605030160c00", "category": "query:executed", "sql": "SELECT DISTINCT 1 INTO t2 FETCH NEXT ROWS ONLY", "error": "views must not contain SELECT INTO"}, + {"id": "pg.query.select-into.k625fa01996c6", "category": "query:semantic", "sql": "SELECT INTO t2 WINDOW w1 AS ( ) , w1 AS ( )", "error": "window \"w1\" is already defined at character 67"}, + {"id": "pg.query.select-into.k67b056fbe568", "category": "query:executed", "sql": "SELECT DISTINCT 1 INTO t2", "error": "views must not contain SELECT INTO"}, + {"id": "pg.query.select-into.k67b1f4792a22", "category": "query:semantic", "sql": "SELECT INTO t2 GROUP BY 1", "error": "GROUP BY position 1 is not in select list at character 51"}, + {"id": "pg.query.select-into.k70b5e3f142df", "category": "query:semantic", "sql": "SELECT DISTINCT ON ( 1 ) * INTO t2", "error": "SELECT * with no tables specified is not valid at character 52"}, + {"id": "pg.query.select-into.k736d1709de6c", "category": "query:semantic", "sql": "SELECT INTO t2 ORDER BY 1", "error": "ORDER BY position 1 is not in select list at character 51"}, + {"id": "pg.query.select-into.k795aaa6505d2", "category": "query:semantic", "sql": "SELECT INTO t2 ORDER BY 1 ASC", "error": "ORDER BY position 1 is not in select list at character 51"}, + {"id": "pg.query.select-into.k7a9f4d53248f", "category": "query:executed", "sql": "WITH RECURSIVE w1 AS ( SELECT 1 ) , w1 AS ( SELECT 1 ) SELECT ALL * , * INTO TEMPORARY TABLE t2 FROM t1 , t1 WHERE TRUE GROUP BY 1 , 1 HAVING TRUE WINDOW w1 AS ( ORDER BY c1 ) , w1 AS ( ORDER BY c1 ) UNION ALL SELECT 1 ORDER BY 1 ASC NULLS FIRST , 1 FETCH FIRST 1 ROW ONLY OFFSET 1 ROW FOR UPDATE OF t1 , t1 NOWAIT", "error": "FOR UPDATE is not allowed with UNION/INTERSECT/EXCEPT"}, + {"id": "pg.query.select-into.k7b2fd6abba5f", "category": "query:executed", "sql": "SELECT INTO t2 WINDOW \"w1 Q\" AS ( )", "error": "views must not contain SELECT INTO"}, + {"id": "pg.query.select-into.k7b356fabc8c1", "category": "query:executed", "sql": "SELECT DISTINCT 1 INTO t2 LIMIT ALL", "error": "views must not contain SELECT INTO"}, + {"id": "pg.query.select-into.k7f1fdb16135e", "category": "query:semantic", "sql": "SELECT INTO t2 ORDER BY 1 USING <", "error": "ORDER BY position 1 is not in select list at character 51"}, + {"id": "pg.query.select-into.k82c06fc3f6d1", "category": "query:semantic", "sql": "SELECT INTO t2 FOR UPDATE OF \"SELECT\"", "error": "relation \"SELECT\" in FOR UPDATE clause not found in FROM clause at character 56"}, + {"id": "pg.query.select-into.k89b30c8df156", "category": "query:executed", "sql": "SELECT INTO t2 WINDOW w1 AS ( )", "error": "views must not contain SELECT INTO"}, + {"id": "pg.query.select-into.k998ab0309bd3", "category": "query:executed", "sql": "SELECT INTO t2 WINDOW \"SELECT\" AS ( )", "error": "views must not contain SELECT INTO"}, + {"id": "pg.query.select-into.k9d0c42a879ee", "category": "query:semantic", "sql": "SELECT DISTINCT * INTO t2", "error": "SELECT * with no tables specified is not valid at character 43"}, + {"id": "pg.query.select-into.k9d89e4d454fc", "category": "query:executed", "sql": "SELECT DISTINCT 1 INTO t2 FOR SHARE", "error": "FOR SHARE is not allowed with DISTINCT clause"}, + {"id": "pg.query.select-into.ka23493b54299", "category": "query:semantic", "sql": "SELECT INTO t2 UNION ALL SELECT 1", "error": "each UNION query must have the same number of columns at character 59"}, + {"id": "pg.query.select-into.ka887cd87a012", "category": "query:executed", "sql": "SELECT INTO UNLOGGED t2", "error": "views must not contain SELECT INTO"}, + {"id": "pg.query.select-into.kac979809dc0d", "category": "query:executed", "sql": "WITH w1 AS ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT 1 ) ) ) ) ) ) ) ) SELECT INTO t2", "error": "views must not contain SELECT INTO"}, + {"id": "pg.query.select-into.kb650d0a68c93", "category": "query:executed", "sql": "SELECT DISTINCT 1 a1 INTO t2", "error": "views must not contain SELECT INTO"}, + {"id": "pg.query.select-into.kb8d7a49acf60", "category": "query:semantic", "sql": "SELECT INTO t2 FROM t1", "error": "relation \"t1\" does not exist at character 47"}, + {"id": "pg.query.select-into.kb9a3778e93d8", "category": "query:executed", "sql": "SELECT 1 a1 INTO t2", "error": "views must not contain SELECT INTO"}, + {"id": "pg.query.select-into.kc6b14c77a046", "category": "query:executed", "sql": "SELECT INTO TEMP t2", "error": "views must not contain SELECT INTO"}, + {"id": "pg.query.select-into.kc915bc61d209", "category": "query:executed", "sql": "WITH w1 AS ( SELECT 1 ) SELECT INTO t2", "error": "views must not contain SELECT INTO"}, + {"id": "pg.query.select-into.kcfca2c061449", "category": "query:executed", "sql": "SELECT DISTINCT 1 INTO t2 ORDER BY 1 NULLS LAST", "error": "views must not contain SELECT INTO"}, + {"id": "pg.query.select-into.kd6452a4ef1b0", "category": "query:semantic", "sql": "SELECT INTO t2 EXCEPT SELECT 1", "error": "each EXCEPT query must have the same number of columns at character 56"}, + {"id": "pg.query.select-into.kd85d877cb1d5", "category": "query:executed", "sql": "WITH RECURSIVE w1 AS ( SELECT 1 ) , w1 AS ( SELECT 1 ) SELECT ALL * , * INTO TEMPORARY TABLE t2 FROM t1 , t1 WHERE TRUE GROUP BY 1 , 1 HAVING TRUE WINDOW w1 AS ( ORDER BY c1 ) , w1 AS ( ORDER BY c1 ) UNION ALL SELECT 1 ORDER BY 1 ASC NULLS FIRST , 1 LIMIT 1 OFFSET 1 ROW FOR UPDATE OF t1 , t1 NOWAIT", "error": "FOR UPDATE is not allowed with UNION/INTERSECT/EXCEPT"}, + {"id": "pg.query.select-into.kd96c236e06e9", "category": "query:executed", "sql": "SELECT INTO t2 LIMIT 1", "error": "views must not contain SELECT INTO"}, + {"id": "pg.query.select-into.ke3a86f851ec2", "category": "query:executed", "sql": "WITH \"w1 Q\" AS ( SELECT 1 ) SELECT INTO t2", "error": "views must not contain SELECT INTO"}, + {"id": "pg.query.select-into.ke765d2565635", "category": "query:executed", "sql": "WITH RECURSIVE w1 AS ( SELECT 1 ) , w1 AS ( SELECT 1 ) SELECT DISTINCT ON ( 1 , 1 ) 1 AS a1 , 1 INTO TEMPORARY TABLE t2 FROM t1 , t1 WHERE TRUE GROUP BY 1 , 1 HAVING TRUE WINDOW w1 AS ( ORDER BY c1 ) , w1 AS ( ORDER BY c1 ) UNION ALL SELECT 1 ORDER BY 1 ASC NULLS FIRST , 1 LIMIT 1 OFFSET 1 ROW FOR UPDATE OF t1 , t1 NOWAIT", "error": "FOR UPDATE is not allowed with UNION/INTERSECT/EXCEPT"}, + {"id": "pg.query.select-into.ke7ed9bf6e998", "category": "query:executed", "sql": "WITH RECURSIVE w1 AS ( SELECT 1 ) , w1 AS ( SELECT 1 ) SELECT ALL 1 AS a1 , 1 AS a1 INTO TEMPORARY TABLE t2 FROM t1 , t1 WHERE TRUE GROUP BY 1 , 1 HAVING TRUE WINDOW w1 AS ( ORDER BY c1 ) , w1 AS ( ORDER BY c1 ) UNION ALL SELECT 1 ORDER BY 1 ASC NULLS FIRST , 1 LIMIT 1 OFFSET 1 ROW FOR UPDATE OF t1 , t1 NOWAIT", "error": "FOR UPDATE is not allowed with UNION/INTERSECT/EXCEPT"}, + {"id": "pg.query.select-into.keb0f86962def", "category": "query:executed", "sql": "WITH RECURSIVE w1 AS ( SELECT 1 ) , w1 AS ( SELECT 1 ) SELECT ALL * , * INTO TEMPORARY TABLE t2 FROM t1 , t1 WHERE TRUE GROUP BY 1 , 1 HAVING TRUE WINDOW w1 AS ( ORDER BY c1 ) , w1 AS ( ORDER BY c1 ) UNION ALL SELECT 1 ORDER BY 1 USING < NULLS FIRST , 1 LIMIT 1 OFFSET 1 ROW FOR UPDATE OF t1 , t1 NOWAIT", "error": "FOR UPDATE is not allowed with UNION/INTERSECT/EXCEPT"}, + {"id": "pg.query.select-into.keb7bec8f2ced", "category": "query:executed", "sql": "SELECT INTO TEMPORARY t2", "error": "views must not contain SELECT INTO"}, + {"id": "pg.query.select-into.kf885b7c69af2", "category": "query:executed", "sql": "SELECT DISTINCT 1 INTO t2 OFFSET 1 ROWS", "error": "views must not contain SELECT INTO"}, + {"id": "pg.query.select-into.kf9ea79873929", "category": "query:semantic", "sql": "SELECT INTO t2 FOR UPDATE OF t1", "error": "relation \"t1\" in FOR UPDATE clause not found in FROM clause at character 56"}, + {"id": "pg.query.select-into.kfc860eed69c4", "category": "query:executed", "sql": "SELECT DISTINCT 1 INTO t2 UNION DISTINCT SELECT 1", "error": "views must not contain SELECT INTO"}, + {"id": "pg.query.select.select.k04aa7f7e903a", "category": "query:semantic", "sql": "SELECT EXCEPT SELECT 1", "error": "each EXCEPT query must have the same number of columns at character 48"}, + {"id": "pg.query.select.select.k0a11fa1b2c3c", "category": "query:semantic", "sql": "SELECT UNION SELECT 1", "error": "each UNION query must have the same number of columns at character 47"}, + {"id": "pg.query.select.select.k0aee91019008", "category": "query:executed", "sql": "WITH RECURSIVE w1 AS ( SELECT 1 ) , w1 AS ( SELECT 1 ) SELECT DISTINCT ON ( 1 , 1 ) * , 1 FROM t1 , t1 WHERE TRUE GROUP BY ALL c1 , c1 HAVING TRUE WINDOW w1 AS ( ORDER BY c1 ) , w1 AS ( ORDER BY c1 ) UNION ALL SELECT 1 ORDER BY 1 ASC NULLS FIRST , 1 LIMIT 1 OFFSET 1 ROW FOR UPDATE OF t1 , t1 NOWAIT", "error": "FOR UPDATE is not allowed with UNION/INTERSECT/EXCEPT"}, + {"id": "pg.query.select.select.k0be019defeae", "category": "query:executed", "sql": "SELECT DISTINCT 1 FOR UPDATE SKIP LOCKED", "error": "FOR UPDATE is not allowed with DISTINCT clause"}, + {"id": "pg.query.select.select.k119d08b4062b", "category": "query:executed", "sql": "SELECT FOR UPDATE NOWAIT", "error": ""}, + {"id": "pg.query.select.select.k13bb5ab2368b", "category": "query:semantic", "sql": "SELECT GROUP BY ALL c1", "error": "column \"c1\" does not exist at character 47"}, + {"id": "pg.query.select.select.k14155ba6f06f", "category": "query:executed", "sql": "SELECT 1 a1", "type": "integer"}, + {"id": "pg.query.select.select.k185a7490d05e", "category": "query:semantic", "sql": "SELECT DISTINCT 1 GROUP BY DISTINCT c1", "error": "column \"c1\" does not exist at character 63"}, + {"id": "pg.query.select.select.k1de7243bbe00", "category": "query:semantic", "sql": "SELECT GROUP BY c1", "error": "column \"c1\" does not exist at character 43"}, + {"id": "pg.query.select.select.k1fbbecf59752", "category": "query:executed", "sql": "WITH RECURSIVE w1 AS ( SELECT 1 ) , w1 AS ( SELECT 1 ) SELECT ALL * , * FROM t1 , t1 WHERE TRUE GROUP BY ALL c1 , c1 HAVING TRUE WINDOW w1 AS ( ORDER BY c1 ) , w1 AS ( ORDER BY c1 ) UNION ALL SELECT 1 ORDER BY 1 ASC NULLS FIRST , 1 FETCH FIRST 1 ROW ONLY OFFSET 1 ROW FOR UPDATE OF t1 , t1 NOWAIT", "error": "FOR UPDATE is not allowed with UNION/INTERSECT/EXCEPT"}, + {"id": "pg.query.select.select.k28ace6c4fc6a", "category": "query:semantic", "sql": "SELECT DISTINCT ON ( 1 ) *", "error": "SELECT * with no tables specified is not valid at character 52"}, + {"id": "pg.query.select.select.k2ec85b085977", "category": "query:executed", "sql": "SELECT DISTINCT 1 FETCH NEXT ROWS ONLY", "type": "integer"}, + {"id": "pg.query.select.select.k36289e525193", "category": "query:semantic", "sql": "SELECT ORDER BY 1 NULLS FIRST", "error": "ORDER BY position 1 is not in select list at character 43"}, + {"id": "pg.query.select.select.k39da71924483", "category": "query:executed", "sql": "SELECT OFFSET 1 ROW", "error": ""}, + {"id": "pg.query.select.select.k420c4ab253ff", "category": "query:executed", "sql": "WITH RECURSIVE w1 AS ( SELECT 1 ) , w1 AS ( SELECT 1 ) SELECT ALL * , * FROM t1 , t1 WHERE TRUE GROUP BY ALL c1 , c1 HAVING TRUE WINDOW w1 AS ( ORDER BY c1 ) , w1 AS ( ORDER BY c1 ) UNION ALL SELECT 1 ORDER BY 1 USING < NULLS FIRST , 1 LIMIT 1 OFFSET 1 ROW FOR UPDATE OF t1 , t1 NOWAIT", "error": "FOR UPDATE is not allowed with UNION/INTERSECT/EXCEPT"}, + {"id": "pg.query.select.select.k480474c20790", "category": "query:executed", "sql": "SELECT DISTINCT 1 UNION DISTINCT SELECT 1", "type": "integer"}, + {"id": "pg.query.select.select.k4af18614cbaa", "category": "query:executed", "sql": "SELECT FOR SHARE", "error": ""}, + {"id": "pg.query.select.select.k4b66aaca0814", "category": "query:semantic", "sql": "SELECT FOR UPDATE OF t1", "error": "relation \"t1\" in FOR UPDATE clause not found in FROM clause at character 48"}, + {"id": "pg.query.select.select.k4e3ff2b481fe", "category": "query:executed", "sql": "SELECT DISTINCT 1 a1", "type": "integer"}, + {"id": "pg.query.select.select.k4ffb79a3339b", "category": "query:semantic", "sql": "SELECT FROM t1", "error": "relation \"t1\" does not exist at character 39"}, + {"id": "pg.query.select.select.k518e10f8d7ff", "category": "query:semantic", "sql": "SELECT ORDER BY 1 USING <", "error": "ORDER BY position 1 is not in select list at character 43"}, + {"id": "pg.query.select.select.k56ce9c319149", "category": "query:executed", "sql": "WITH RECURSIVE w1 AS ( SELECT 1 ) , w1 AS ( SELECT 1 ) SELECT ALL 1 AS a1 , 1 AS a1 FROM t1 , t1 WHERE TRUE GROUP BY ALL c1 , c1 HAVING TRUE WINDOW w1 AS ( ORDER BY c1 ) , w1 AS ( ORDER BY c1 ) UNION ALL SELECT 1 ORDER BY 1 ASC NULLS FIRST , 1 LIMIT 1 OFFSET 1 ROW FOR UPDATE OF t1 , t1 NOWAIT", "error": "FOR UPDATE is not allowed with UNION/INTERSECT/EXCEPT"}, + {"id": "pg.query.select.select.k58d83915ca70", "category": "query:executed", "sql": "SELECT DISTINCT 1", "type": "integer"}, + {"id": "pg.query.select.select.k5cc19578a161", "category": "query:executed", "sql": "SELECT DISTINCT 1 LIMIT ALL", "type": "integer"}, + {"id": "pg.query.select.select.k6152fd19944a", "category": "query:executed", "sql": "SELECT OFFSET 1", "error": ""}, + {"id": "pg.query.select.select.k6153d726f878", "category": "query:executed", "sql": "SELECT WINDOW \"SELECT\" AS ( )", "error": ""}, + {"id": "pg.query.select.select.k67d3704d5219", "category": "query:executed", "sql": "WITH RECURSIVE w1 AS ( SELECT 1 ) , w1 AS ( SELECT 1 ) SELECT DISTINCT ON ( 1 , 1 ) 1 AS a1 , 1 FROM t1 , t1 WHERE TRUE GROUP BY ALL c1 , c1 HAVING TRUE WINDOW w1 AS ( ORDER BY c1 ) , w1 AS ( ORDER BY c1 ) UNION ALL SELECT 1 ORDER BY 1 ASC NULLS FIRST , 1 LIMIT 1 OFFSET 1 ROW FOR UPDATE OF t1 , t1 NOWAIT", "error": "FOR UPDATE is not allowed with UNION/INTERSECT/EXCEPT"}, + {"id": "pg.query.select.select.k6c60712decf3", "category": "query:executed", "sql": "SELECT FETCH FIRST ROW ONLY", "error": ""}, + {"id": "pg.query.select.select.k6e4261695ad1", "category": "query:executed", "sql": "SELECT", "error": ""}, + {"id": "pg.query.select.select.k72973206760f", "category": "query:executed", "sql": "SELECT FOR UPDATE", "error": ""}, + {"id": "pg.query.select.select.k76d8d00b4e51", "category": "query:executed", "sql": "WITH \"SELECT\" AS ( SELECT 1 ) SELECT", "error": ""}, + {"id": "pg.query.select.select.k79977c7e790a", "category": "query:semantic", "sql": "SELECT ORDER BY 1 ASC", "error": "ORDER BY position 1 is not in select list at character 43"}, + {"id": "pg.query.select.select.k7999c69e7090", "category": "query:executed", "sql": "WITH RECURSIVE w1 AS ( SELECT 1 ) , w1 AS ( SELECT 1 ) SELECT ALL * , * FROM t1 , t1 WHERE TRUE GROUP BY ALL c1 , c1 HAVING TRUE WINDOW w1 AS ( ORDER BY c1 ) , w1 AS ( ORDER BY c1 ) UNION ALL SELECT 1 ORDER BY 1 ASC NULLS FIRST , 1 LIMIT 1 OFFSET 1 ROW FOR UPDATE OF t1 , t1 NOWAIT", "error": "FOR UPDATE is not allowed with UNION/INTERSECT/EXCEPT"}, + {"id": "pg.query.select.select.k7f1da39d42c7", "category": "query:executed", "sql": "SELECT DISTINCT 1 OFFSET 1 ROWS", "type": "integer"}, + {"id": "pg.query.select.select.k7f6569f8d6cf", "category": "query:semantic", "sql": "SELECT ORDER BY 1 DESC", "error": "ORDER BY position 1 is not in select list at character 43"}, + {"id": "pg.query.select.select.k87092fdbfd91", "category": "query:executed", "sql": "SELECT 1 ORDER BY 1 FETCH FIRST 1 ROW WITH TIES", "type": "integer"}, + {"id": "pg.query.select.select.k8985ead52e79", "category": "query:semantic", "sql": "SELECT WINDOW w1 AS ( ) , w1 AS ( )", "error": "window \"w1\" is already defined at character 59"}, + {"id": "pg.query.select.select.k8d50bd816c2c", "category": "query:executed", "sql": "SELECT LIMIT 1", "error": ""}, + {"id": "pg.query.select.select.k906fd5e4b35c", "category": "query:executed", "sql": "SELECT FOR KEY SHARE", "error": ""}, + {"id": "pg.query.select.select.k9a83e216549c", "category": "query:executed", "sql": "WITH \"w1 Q\" AS ( SELECT 1 ) SELECT", "error": ""}, + {"id": "pg.query.select.select.k9e43d568486a", "category": "query:semantic", "sql": "SELECT *", "error": "SELECT * with no tables specified is not valid at character 34"}, + {"id": "pg.query.select.select.k9f73bd4dbe86", "category": "query:executed", "sql": "WITH w1 AS ( SELECT * FROM ( SELECT 1 ) ) SELECT", "error": ""}, + {"id": "pg.query.select.select.ka0f925def1a9", "category": "query:semantic", "sql": "SELECT INTERSECT SELECT 1", "error": "each INTERSECT query must have the same number of columns at character 51"}, + {"id": "pg.query.select.select.kcb96ae581121", "category": "query:semantic", "sql": "SELECT DISTINCT *", "error": "SELECT * with no tables specified is not valid at character 43"}, + {"id": "pg.query.select.select.kcbc8e09fbc7e", "category": "query:executed", "sql": "SELECT WINDOW w1 AS ( )", "error": ""}, + {"id": "pg.query.select.select.kcc44cfa1b249", "category": "query:semantic", "sql": "SELECT ORDER BY 1", "error": "ORDER BY position 1 is not in select list at character 43"}, + {"id": "pg.query.select.select.kded890a38344", "category": "query:executed", "sql": "WITH w1 AS ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT * FROM ( SELECT 1 ) ) ) ) ) ) ) ) SELECT", "error": ""}, + {"id": "pg.query.select.select.ke004ebd5b553", "category": "query:executed", "sql": "SELECT 1", "type": "integer"}, + {"id": "pg.query.select.select.ke0c345befe23", "category": "query:executed", "sql": "SELECT DISTINCT 1 ORDER BY 1 NULLS LAST", "type": "integer"}, + {"id": "pg.query.select.select.ke1185164ca6e", "category": "query:semantic", "sql": "SELECT UNION ALL SELECT 1", "error": "each UNION query must have the same number of columns at character 51"}, + {"id": "pg.query.select.select.ke2044a1d32ca", "category": "query:executed", "sql": "SELECT FOR NO KEY UPDATE", "error": ""}, + {"id": "pg.query.select.select.kedba8c2d1ec6", "category": "query:executed", "sql": "SELECT WINDOW \"w1 Q\" AS ( )", "error": ""}, + {"id": "pg.query.select.select.kf1eb264549a7", "category": "query:executed", "sql": "WITH w1 AS ( SELECT 1 ) SELECT", "error": ""}, + {"id": "pg.query.select.table.k77b0d0f37076", "category": "query:semantic", "sql": "TABLE ONLY \"t1 Q\"", "error": "relation \"t1 Q\" does not exist at character 38"}, + {"id": "pg.query.select.table.k8a50671c7da9", "category": "query:semantic", "sql": "TABLE t1", "error": "relation \"t1\" does not exist at character 33"}, + {"id": "pg.query.select.table.k995be2b5e7bb", "category": "query:semantic", "sql": "TABLE ONLY t1", "error": "relation \"t1\" does not exist at character 38"}, + {"id": "pg.query.select.table.kf4b80fb96baa", "category": "query:semantic", "sql": "TABLE ONLY \"SELECT\"", "error": "relation \"SELECT\" does not exist at character 38"}, + {"id": "pg.query.select.table.kfc1e061f1f7e", "category": "query:semantic", "sql": "TABLE t1 *", "error": "relation \"t1\" does not exist at character 33"}, + {"id": "pg.query.values.k2776e9a80b04", "category": "query:executed", "sql": "VALUES ( 1 ) LIMIT ALL", "type": "integer"}, + {"id": "pg.query.values.k3151602da9a6", "category": "query:executed", "sql": "VALUES ( 1 ) ORDER BY 1 DESC", "type": "integer"}, + {"id": "pg.query.values.k353088783b8b", "category": "query:executed", "sql": "VALUES ( 1 ) OFFSET 1 ROWS", "type": "integer"}, + {"id": "pg.query.values.k59ede97cc216", "category": "query:executed", "sql": "VALUES ( 1 ) OFFSET 1 ROW", "type": "integer"}, + {"id": "pg.query.values.k62d2f75b84b2", "category": "query:executed", "sql": "VALUES ( 1 ) OFFSET 1", "type": "integer"}, + {"id": "pg.query.values.k7af66f141ef5", "category": "query:semantic", "sql": "VALUES ( 1 , 1 ) , ( 1 ) ORDER BY 1 ASC , 1 LIMIT 1 OFFSET 1 ROW", "error": "VALUES lists must all be the same length at character 48"}, + {"id": "pg.query.values.kaf84fd29a12e", "category": "query:executed", "sql": "VALUES ( 1 )", "type": "integer"}, + {"id": "pg.query.values.kb4ada2255dd5", "category": "query:semantic", "sql": "VALUES ( 1 , 1 ) , ( 1 ) ORDER BY 1 ASC , 1 FETCH FIRST 1 ROW ONLY OFFSET 1 ROW", "error": "VALUES lists must all be the same length at character 48"}, + {"id": "pg.query.values.kb6f6f10dfdf2", "category": "query:executed", "sql": "VALUES ( 1 ) ORDER BY 1 ASC", "type": "integer"}, + {"id": "pg.query.values.kca0ce12b43c2", "category": "query:executed", "sql": "VALUES ( 1 ) ORDER BY 1", "type": "integer"}, + {"id": "pg.query.values.kcb74adc1a283", "category": "query:executed", "sql": "VALUES ( 1 ) ORDER BY 1 USING <", "type": "integer"}, + {"id": "pg.query.values.kd10c5ef3b041", "category": "query:executed", "sql": "VALUES ( 1 ) LIMIT 1", "type": "integer"}, + {"id": "pg.query.values.kd1809acc0f9f", "category": "query:semantic", "sql": "VALUES ( 1 , 1 ) , ( 1 ) ORDER BY 1 USING < , 1 LIMIT 1 OFFSET 1 ROW", "error": "VALUES lists must all be the same length at character 48"}, + {"id": "pg.query.values.kdf7aa6eafe96", "category": "query:executed", "sql": "VALUES ( 1 ) FETCH FIRST ROW ONLY", "type": "integer"}, + {"id": "pg.query.values.ke489c4ea4313", "category": "query:executed", "sql": "VALUES ( 1 ) FETCH NEXT ROWS ONLY", "type": "integer"} + ] +} diff --git a/crates/sqlquack-semantics/src/lineage/tests/helpers.rs b/crates/sqlquack-semantics/src/lineage/tests/helpers.rs index 0eabc4d0e..7ffa31235 100644 --- a/crates/sqlquack-semantics/src/lineage/tests/helpers.rs +++ b/crates/sqlquack-semantics/src/lineage/tests/helpers.rs @@ -8,6 +8,7 @@ use crate::dialects::constants::{DUCKDB, POSTGRES}; use crate::dialects::types::DialectProfile; use crate::lineage::_helpers::findings::statement::statement_findings; use crate::lineage::main::query_lineage::query_lineage; +use crate::lineage::main::statement_lineage::statement_lineage; use crate::lineage::models::{LineageContext, TransformKind}; use crate::lineage::tests::test_types::{ EngineTypeFixture, EngineTypeReplay, EngineTypeTally, ShopSchema, TypedShopSchema, @@ -314,6 +315,11 @@ pub(crate) fn replayed_postgres_engine_types(fixture: &str) -> EngineTypeReplay replayed_types(fixture, canonical_postgres, postgres_output_type) } +/// Each recorded PostgreSQL result type against the type of the native PostgreSQL parser's tree. +pub(crate) fn replayed_native_postgres_engine_types(fixture: &str) -> EngineTypeReplay { + replayed_types(fixture, canonical_postgres, native_postgres_output_type) +} + /// Each recorded engine type, in canonical form, against the type the lineage reports. fn replayed_types( fixture: &str, @@ -357,8 +363,28 @@ fn postgres_output_type(schema: &TypedShopSchema, sql: &str) -> Option { lineage.outputs.first()?.data_type.clone() } +/// The first output's type under Engine::Postgres, when the native parser reads one statement whole. +pub(crate) fn native_postgres_output_type(schema: &TypedShopSchema, sql: &str) -> Option { + let parsed = sqlquack_syntax_postgres::parse_strict(sql) + .ok() + .filter(|parsed| parsed.gaps.is_empty())?; + let [statement] = parsed.statements.as_slice() else { + return None; + }; + let context = LineageContext { + profile: &POSTGRES, + schema, + sql: Some(sql), + }; + statement_lineage(statement, context) + .outputs + .first()? + .data_type + .clone() +} + /// A PostgreSQL type spelling in one canonical form, keeping its modifiers as `format_type` does. -fn canonical_postgres(raw: &str) -> String { +pub(crate) fn canonical_postgres(raw: &str) -> String { let upper: String = raw.trim().to_ascii_uppercase().replace(", ", ","); upper.strip_suffix("[]").map_or_else( || { diff --git a/crates/sqlquack-semantics/src/lineage/tests/test_duckdb_types.rs b/crates/sqlquack-semantics/src/lineage/tests/test_duckdb_types.rs index 45db8c9ae..c89342014 100644 --- a/crates/sqlquack-semantics/src/lineage/tests/test_duckdb_types.rs +++ b/crates/sqlquack-semantics/src/lineage/tests/test_duckdb_types.rs @@ -13,19 +13,24 @@ fn given_engine_recorded_duckdb_types_when_typing_outputs_then_none_is_wrong() { let test_cases = [EngineTypeReplayTestCase { description: "every recorded DuckDB result type, replayed", fixture: ENGINE_TYPES, + replayed: replayed_engine_types, expected_wrong: &[], expected_minimum_typed: 2556, + expected_maximum_untyped: 2, }]; for test_case in test_cases { - let replay = replayed_engine_types(test_case.fixture); + let replay = (test_case.replayed)(test_case.fixture); + let untyped: usize = replay.tally.values().map(|tally| tally.untyped).sum(); assert_eq!( ( replay.wrong.as_slice(), - replay.typed >= test_case.expected_minimum_typed + replay.typed >= test_case.expected_minimum_typed, + untyped <= test_case.expected_maximum_untyped ), - (test_case.expected_wrong, true), - "{}: {:?}", + (test_case.expected_wrong, true, true), + "{}: typed {}, untyped {untyped} {:?}", test_case.description, + replay.typed, replay.tally ); } diff --git a/crates/sqlquack-semantics/src/lineage/tests/test_recorded_types.rs b/crates/sqlquack-semantics/src/lineage/tests/test_recorded_types.rs index bb16e8699..f84b268b4 100644 --- a/crates/sqlquack-semantics/src/lineage/tests/test_recorded_types.rs +++ b/crates/sqlquack-semantics/src/lineage/tests/test_recorded_types.rs @@ -1,3 +1,5 @@ +use std::collections::HashMap; + use sqlquack_syntax::{Dialect, ParseOptions}; use crate::dialects::constants::{DUCKDB, POSTGRES, SNOWFLAKE}; @@ -5,12 +7,17 @@ use crate::lineage::main::query_lineage::query_lineage; use crate::lineage::models::LineageContext; use crate::lineage::models::Nullability::{NonNull, Nullable, Unknown}; use crate::lineage::tests::helpers::{ - replayed_postgres_engine_types, typed_postgres_shop_schema, typed_shop_schema, + canonical_postgres, native_postgres_output_type, replayed_native_postgres_engine_types, + replayed_postgres_engine_types, typed_column, typed_postgres_shop_schema, typed_shop_schema, +}; +use crate::lineage::tests::test_types::{ + DialectTypeTestCase, EngineTypeReplayTestCase, PostgresTypeTestCase, TypedShopSchema, }; -use crate::lineage::tests::test_types::{DialectTypeTestCase, EngineTypeReplayTestCase}; /// Result types the PostgreSQL 18.6 server bound for synthetic expressions, recorded through views. const POSTGRES_ENGINE_TYPES: &str = include_str!("fixtures/postgres_engine_types.json"); +/// Result types the PostgreSQL 18.6 server bound for the accepted query-shaped syntax cases. +const POSTGRES_SYNTAX_TYPES: &str = include_str!("fixtures/postgres_syntax_types.json"); #[test] fn given_a_query_when_typing_outputs_then_nulls_and_numbers_follow_the_recorded_engines() { @@ -287,23 +294,151 @@ fn given_a_postgres_query_when_typing_outputs_then_types_follow_postgresql_18_6( } } +#[test] +fn given_a_native_postgres_tree_when_typing_outputs_then_types_follow_postgresql_18_6() { + let test_cases = [ + PostgresTypeTestCase { + description: "an array joined to an array keeps the array type", + sql: "SELECT c_int_array || c_int_array AS v FROM t", + expected_type: Some("integer[]"), + }, + PostgresTypeTestCase { + description: "an array joined to its element keeps the array type", + sql: "SELECT c_int_array || c_integer AS v FROM t", + expected_type: Some("integer[]"), + }, + PostgresTypeTestCase { + description: "jsonb joined to jsonb is jsonb", + sql: "SELECT c_jsonb || c_jsonb AS v FROM t", + expected_type: Some("jsonb"), + }, + PostgresTypeTestCase { + description: "bytea joined to bytea is bytea", + sql: "SELECT c_bytea || c_bytea AS v FROM t", + expected_type: Some("bytea"), + }, + PostgresTypeTestCase { + description: "lag drops its argument's length", + sql: "SELECT lag(c_varchar) OVER () AS v FROM t", + expected_type: Some("character varying"), + }, + PostgresTypeTestCase { + description: "lead drops its argument's precision and scale", + sql: "SELECT lead(c_num10_2, 1, c_num10_2) OVER () AS v FROM t", + expected_type: Some("numeric"), + }, + PostgresTypeTestCase { + description: "lower of a range is its element type", + sql: "SELECT lower(int4range(1, 5)) AS v", + expected_type: Some("integer"), + }, + PostgresTypeTestCase { + description: "upper of a multirange is its element type", + sql: "SELECT upper(int8multirange(int8range(1, 5))) AS v", + expected_type: Some("bigint"), + }, + PostgresTypeTestCase { + description: "a hexadecimal literal that fits four bytes is integer", + sql: "SELECT 0x1F AS v", + expected_type: Some("integer"), + }, + PostgresTypeTestCase { + description: "a separated hexadecimal literal past four bytes is bigint", + sql: "SELECT 0x_FFFF_FFFF AS v", + expected_type: Some("bigint"), + }, + PostgresTypeTestCase { + description: "a binary literal is integer", + sql: "SELECT 0b101 AS v", + expected_type: Some("integer"), + }, + PostgresTypeTestCase { + description: "current_timestamp keeps the precision it is given", + sql: "SELECT current_timestamp(3) AS v", + expected_type: Some("timestamp(3) with time zone"), + }, + PostgresTypeTestCase { + description: "localtime keeps the precision it is given", + sql: "SELECT localtime(2) AS v", + expected_type: Some("time(2) without time zone"), + }, + PostgresTypeTestCase { + description: "a cast to a two-dimensional array is the one array type", + sql: "SELECT CAST(c_int_array AS integer[][]) AS v FROM t", + expected_type: Some("integer[]"), + }, + PostgresTypeTestCase { + description: "a cast to unknown abstains: a view column of it is text", + sql: "SELECT CAST(NULL AS unknown) AS v", + expected_type: None, + }, + ]; + let schema: TypedShopSchema = TypedShopSchema { + closed: HashMap::from([( + "t".to_owned(), + vec![ + typed_column("c_integer", "integer"), + typed_column("c_varchar", "varchar(20)"), + typed_column("c_num10_2", "numeric(10,2)"), + typed_column("c_jsonb", "jsonb"), + typed_column("c_bytea", "bytea"), + typed_column("c_int_array", "integer[]"), + ], + )]), + ..TypedShopSchema::default() + }; + for test_case in test_cases { + assert_eq!( + native_postgres_output_type(&schema, test_case.sql) + .as_deref() + .map(canonical_postgres), + test_case.expected_type.map(canonical_postgres), + "{}", + test_case.description + ); + } +} + #[test] fn given_engine_recorded_postgres_types_when_typing_outputs_then_none_is_wrong() { - let test_cases = [EngineTypeReplayTestCase { - description: "every recorded PostgreSQL 18.6 result type, replayed", - fixture: POSTGRES_ENGINE_TYPES, - expected_wrong: &[], - expected_minimum_typed: 1315, - }]; + let test_cases = [ + EngineTypeReplayTestCase { + description: "every recorded PostgreSQL 18.6 result type, replayed", + fixture: POSTGRES_ENGINE_TYPES, + replayed: replayed_postgres_engine_types, + expected_wrong: &[], + expected_minimum_typed: 1322, + expected_maximum_untyped: 45, + }, + EngineTypeReplayTestCase { + description: "every recorded PostgreSQL 18.6 result type, replayed through the native parser", + fixture: POSTGRES_ENGINE_TYPES, + replayed: replayed_native_postgres_engine_types, + expected_wrong: &[], + expected_minimum_typed: 1345, + expected_maximum_untyped: 22, + }, + EngineTypeReplayTestCase { + description: "every typed query of the PostgreSQL syntax cases, replayed through the native parser \ + (a query the parser cannot read whole counts as untyped)", + fixture: POSTGRES_SYNTAX_TYPES, + replayed: replayed_native_postgres_engine_types, + expected_wrong: &[], + expected_minimum_typed: 683, + expected_maximum_untyped: 276, + }, + ]; for test_case in test_cases { - let replay = replayed_postgres_engine_types(test_case.fixture); + let replay = (test_case.replayed)(test_case.fixture); + let untyped: usize = replay.tally.values().map(|tally| tally.untyped).sum(); assert_eq!( ( replay.wrong.as_slice(), - replay.typed >= test_case.expected_minimum_typed + replay.typed >= test_case.expected_minimum_typed, + untyped <= test_case.expected_maximum_untyped ), - (test_case.expected_wrong, true), - "{}: typed {} {:?}", + (test_case.expected_wrong, true, true), + "{}: typed {}, untyped {untyped} {:?}", test_case.description, replay.typed, replay.tally diff --git a/crates/sqlquack-semantics/src/lineage/tests/test_statement_findings.rs b/crates/sqlquack-semantics/src/lineage/tests/test_statement_findings.rs index df4c3c577..6f9c264ba 100644 --- a/crates/sqlquack-semantics/src/lineage/tests/test_statement_findings.rs +++ b/crates/sqlquack-semantics/src/lineage/tests/test_statement_findings.rs @@ -1,6 +1,6 @@ use sqlquack_syntax::{CallMode, Dialect, ParseOptions, parse_statements_with}; -use crate::dialects::constants::{DUCKDB, SNOWFLAKE}; +use crate::dialects::constants::{DUCKDB, POSTGRES, SNOWFLAKE}; use crate::lineage::_helpers::findings::statement::statement_findings; use crate::lineage::models::LineageContext; use crate::lineage::tests::helpers::{ @@ -280,6 +280,77 @@ fn given_a_duckdb_name_not_definitely_unresolved_when_resolving_names_then_nothi } } +#[test] +fn given_a_postgres_relation_with_a_finding_when_resolving_names_then_only_its_follow_ons_are_dropped() + { + let test_cases = [ + QueryFindingsTestCase { + description: "a name read through a star of a faulted CTE is a follow-on of the root finding", + sql: "WITH kept AS (SELECT customer_id_missing FROM orders), again AS (SELECT * FROM kept) \ + SELECT customer_id FROM again", + expected_findings: &[( + "E201", + "Unknown column 'customer_id_missing' in table 'orders'", + 21, + )], + }, + QueryFindingsTestCase { + description: "the root finding and a finding independent of the faulted CTE both appear", + sql: "WITH kept AS (SELECT customer_id_missing FROM orders), again AS (SELECT * FROM kept) \ + SELECT a.customer_id, c.nam FROM again a, customers c", + expected_findings: &[ + ("E201", "Unknown column 'nam' in table 'customers'", 109), + ( + "E201", + "Unknown column 'customer_id_missing' in table 'orders'", + 21, + ), + ], + }, + QueryFindingsTestCase { + description: "a name read from a derived table with a finding is a follow-on of the root finding", + sql: "SELECT d.customer_id FROM (SELECT customer_id_missing FROM orders) d", + expected_findings: &[( + "E201", + "Unknown column 'customer_id_missing' in table 'orders'", + 34, + )], + }, + QueryFindingsTestCase { + description: "a derived table reading a faulted CTE is faulted; an independent error still appears", + sql: "WITH kept AS (SELECT customer_id_missing FROM orders) \ + SELECT d.customer_id, c.nam FROM (SELECT * FROM kept) d, customers c", + expected_findings: &[ + ("E201", "Unknown column 'nam' in table 'customers'", 78), + ( + "E201", + "Unknown column 'customer_id_missing' in table 'orders'", + 21, + ), + ], + }, + QueryFindingsTestCase { + description: "a derived table without a finding still has its unknown columns found", + sql: "SELECT d.nope FROM (SELECT customer_id FROM orders) d", + expected_findings: &[("E201", "Unknown column 'nope' in table 'd'", 9)], + }, + QueryFindingsTestCase { + description: "a CTE without a finding still has its unknown columns found", + sql: "WITH kept AS (SELECT customer_id FROM orders) SELECT k.nope FROM kept k", + expected_findings: &[("E201", "Unknown column 'nope' in table 'kept'", 55)], + }, + ]; + let schema = duckdb_shop_schema(); + for test_case in test_cases { + assert_eq!( + found_findings(test_case.sql, (Dialect::PostgreSQL, &POSTGRES, &schema)), + owned_findings(test_case.expected_findings), + "{}", + test_case.description + ); + } +} + #[test] fn given_a_duckdb_query_when_a_name_is_definitely_unresolved_then_it_is_still_found() { let test_cases = [ diff --git a/crates/sqlquack-semantics/src/lineage/tests/test_types.rs b/crates/sqlquack-semantics/src/lineage/tests/test_types.rs index 85a068f27..07d22d229 100644 --- a/crates/sqlquack-semantics/src/lineage/tests/test_types.rs +++ b/crates/sqlquack-semantics/src/lineage/tests/test_types.rs @@ -80,6 +80,12 @@ pub(crate) struct DuckdbTypeTestCase { pub(crate) expected_type: Option<&'static str>, } +pub(crate) struct PostgresTypeTestCase { + pub(crate) description: &'static str, + pub(crate) sql: &'static str, + pub(crate) expected_type: Option<&'static str>, +} + /// Engine-recorded result types: the schema the cases read and each case's bound type. #[derive(serde::Deserialize)] pub(crate) struct EngineTypeFixture { @@ -124,8 +130,10 @@ pub(crate) struct EngineTypeTally { pub(crate) struct EngineTypeReplayTestCase { pub(crate) description: &'static str, pub(crate) fixture: &'static str, + pub(crate) replayed: fn(&str) -> EngineTypeReplay, pub(crate) expected_wrong: &'static [String], pub(crate) expected_minimum_typed: usize, + pub(crate) expected_maximum_untyped: usize, } /// A replay's wrong types, its exact count and the per-category tally. diff --git a/scripts/postgres_catalog/_helpers/matrix.py b/scripts/postgres_catalog/_helpers/matrix.py index 30b875845..833af825c 100644 --- a/scripts/postgres_catalog/_helpers/matrix.py +++ b/scripts/postgres_catalog/_helpers/matrix.py @@ -2,9 +2,12 @@ from __future__ import annotations +import json from itertools import product +from pathlib import Path from scripts.postgres_catalog.constants import ( + ACCEPTED, AGGREGATE_INPUTS, AGGREGATES, ARITHMETIC, @@ -14,6 +17,7 @@ LITERALS, NILADIC, NUMERIC_COLUMNS, + QUERY_HEADS, SCALARS, SHAPES, TABLE_COLUMNS, @@ -92,3 +96,17 @@ def expression_cases() -> list[tuple[str, str, str]]: for name, sql in SHAPES: cases.append((f"shape: {name}", "shape", sql)) return cases + + +def syntax_cases(directory: Path) -> list[tuple[str, str, str]]: + """Each accepted case of the syntax corpus that reads like a query, as (id, category, sql).""" + cases: list[tuple[str, str, str]] = [] + for path in sorted(directory.glob("*.jsonl")): + for line in path.read_text().splitlines(): + case: dict[str, object] = json.loads(line) + sql: str = str(case["sql"]) + words: list[str] = sql.lstrip().lstrip("(").split(None, 1) + if case["expect"] == ACCEPTED and words and words[0].upper() in QUERY_HEADS: + category: str = f"{path.stem}:{case.get('stage') or 'executed'}" + cases.append((str(case["case_id"]), category, sql)) + return cases diff --git a/scripts/postgres_catalog/_helpers/recording.py b/scripts/postgres_catalog/_helpers/recording.py index 5d04117eb..3285069d5 100644 --- a/scripts/postgres_catalog/_helpers/recording.py +++ b/scripts/postgres_catalog/_helpers/recording.py @@ -3,13 +3,13 @@ from __future__ import annotations import json +from pathlib import Path from scripts.postgres_catalog.constants import ( TABLE_COLUMNS, TYPE_ERROR_MARKER, TYPE_FIELD, TYPE_MARKER, - TYPES_FIXTURE, ) @@ -52,14 +52,15 @@ def recorded_cases(*, cases: list[tuple[str, str, str]], output: str) -> list[di return records -def write_fixture(*, records: list[dict[str, str]], version: str, image: str) -> None: +def write_fixture( + *, records: list[dict[str, str]], version: str, image: str, path: Path, method: str +) -> None: """Write the fixture: the engine, its image, the table t and one line per case.""" header: dict[str, object] = { "engine": "postgres", "engine_version": version, "engine_image_sha256": image, - "method": "format_type of a temporary view's first column over the empty table t, " - "recorded by scripts/record_postgres_types.py", + "method": method, "schema": { "tables": [ { @@ -70,6 +71,4 @@ def write_fixture(*, records: list[dict[str, str]], version: str, image: str) -> }, } body: str = ",\n".join(" " + json.dumps(record) for record in records) - TYPES_FIXTURE.write_text( - json.dumps(header, indent=1)[:-2] + f',\n "cases": [\n{body}\n ]\n}}\n' - ) + path.write_text(json.dumps(header, indent=1)[:-2] + f',\n "cases": [\n{body}\n ]\n}}\n') diff --git a/scripts/postgres_catalog/constants.py b/scripts/postgres_catalog/constants.py index 204a852dd..fe8616765 100644 --- a/scripts/postgres_catalog/constants.py +++ b/scripts/postgres_catalog/constants.py @@ -40,6 +40,21 @@ TYPES_FIXTURE: Path = Path( "crates/sqlquack-semantics/src/lineage/tests/fixtures/postgres_engine_types.json" ) +SYNTAX_TYPES_FIXTURE: Path = Path( + "crates/sqlquack-semantics/src/lineage/tests/fixtures/postgres_syntax_types.json" +) +SYNTAX_CASES: Path = Path("coverage/syntax-postgres/cases") +QUERY_HEADS: tuple[str, ...] = ("SELECT", "WITH", "VALUES", "TABLE") +ACCEPTED: str = "accept" +MATRIX_METHOD: str = ( + "format_type of a temporary view's first column over the empty table t, " + "recorded by scripts/record_postgres_types.py" +) +SYNTAX_METHOD: str = ( + "format_type of a temporary view's first column for each accepted query-shaped case of " + "coverage/syntax-postgres/cases, over the empty table t, recorded by " + "scripts/record_postgres_types.py --syntax-cases" +) TABLE_COLUMNS: tuple[tuple[str, str], ...] = ( ("c_smallint", "smallint"), ("c_integer", "integer"), diff --git a/scripts/postgres_catalog/main/record_types.py b/scripts/postgres_catalog/main/record_types.py index bf9862167..041fe92d9 100644 --- a/scripts/postgres_catalog/main/record_types.py +++ b/scripts/postgres_catalog/main/record_types.py @@ -1,29 +1,43 @@ -"""Engine-type entry point: the 18.6 server's result type for each expression of the matrix.""" +"""Engine-type entry point: the 18.6 server's result type for each matrix or syntax case.""" from __future__ import annotations import argparse -from scripts.postgres_catalog._helpers.matrix import expression_cases +from scripts.postgres_catalog._helpers.matrix import expression_cases, syntax_cases from scripts.postgres_catalog._helpers.psql import image_digest, psql, psql_script from scripts.postgres_catalog._helpers.recording import ( recorded_cases, recording_script, write_fixture, ) -from scripts.postgres_catalog.constants import TYPE_FIELD +from scripts.postgres_catalog.constants import ( + MATRIX_METHOD, + SYNTAX_CASES, + SYNTAX_METHOD, + SYNTAX_TYPES_FIXTURE, + TYPE_FIELD, + TYPES_FIXTURE, +) def run_type_recording(argv: list[str] | None = None) -> int: - """Write each case's type, read through a temporary view, into the semantics test fixture.""" + """Write each case's type, read through a temporary view, into a semantics test fixture.""" parser: argparse.ArgumentParser = argparse.ArgumentParser(description=__doc__) parser.add_argument("--container", required=True) parser.add_argument( "--docker", default="docker", help="the docker command, such as 'sudo docker'" ) + parser.add_argument( + "--syntax-cases", + action="store_true", + help="record the accepted query-shaped syntax cases instead of the expression matrix", + ) options: argparse.Namespace = parser.parse_args(argv) docker: list[str] = options.docker.split() - cases: list[tuple[str, str, str]] = expression_cases() + cases: list[tuple[str, str, str]] = ( + syntax_cases(SYNTAX_CASES) if options.syntax_cases else expression_cases() + ) script: str = recording_script(cases=cases) output: str = psql_script(container=options.container, docker=docker, script=script) records: list[dict[str, str]] = recorded_cases(cases=cases, output=output) @@ -31,7 +45,13 @@ def run_type_recording(argv: list[str] | None = None) -> int: container=options.container, docker=docker, arguments=["-At"], sql="SHOW server_version" ).strip() image: str = image_digest(container=options.container, docker=docker) - write_fixture(records=records, version=version, image=image) + write_fixture( + records=records, + version=version, + image=image, + path=SYNTAX_TYPES_FIXTURE if options.syntax_cases else TYPES_FIXTURE, + method=SYNTAX_METHOD if options.syntax_cases else MATRIX_METHOD, + ) typed: int = sum(TYPE_FIELD in record for record in records) print(f"{len(records)} cases, {typed} typed, {len(records) - typed} engine errors") return 0