Skip to content

Commit

Permalink
Update SQL snapshot impacted by this update
Browse files Browse the repository at this point in the history
  • Loading branch information
benjie committed Feb 26, 2025
1 parent 104f8e7 commit a84a502
Showing 1 changed file with 1 addition and 70 deletions.
71 changes: 1 addition & 70 deletions postgraphile/postgraphile/__tests__/queries/v4/types.sql
Original file line number Diff line number Diff line change
Expand Up @@ -258,71 +258,6 @@ where (
__post__."id" = $1::"int4"
);

select
__types__."id"::text as "0",
__types__."smallint"::text as "1",
__types__."bigint"::text as "2",
__types__."numeric"::text as "3",
__types__."decimal"::text as "4",
__types__."boolean"::text as "5",
__types__."varchar" as "6",
__types__."enum"::text as "7",
__types__."enum_array"::text as "8",
__types__."domain"::text as "9",
__types__."domain2"::text as "10",
__types__."text_array"::text as "11",
__types__."json"::text as "12",
__types__."jsonb"::text as "13",
__types__."nullable_range"::text as "14",
__types__."numrange"::text as "15",
json_build_array(
lower_inc(__types__."daterange"),
to_char(lower(__types__."daterange"), 'YYYY-MM-DD'::text),
to_char(upper(__types__."daterange"), 'YYYY-MM-DD'::text),
upper_inc(__types__."daterange")
)::text as "16",
__types__."an_int_range"::text as "17",
to_char(__types__."timestamp", 'YYYY-MM-DD"T"HH24:MI:SS.US'::text) as "18",
to_char(__types__."timestamptz", 'YYYY-MM-DD"T"HH24:MI:SS.USTZH:TZM'::text) as "19",
to_char(__types__."date", 'YYYY-MM-DD'::text) as "20",
to_char(date '1970-01-01' + __types__."time", 'HH24:MI:SS.US'::text) as "21",
to_char(date '1970-01-01' + __types__."timetz", 'HH24:MI:SS.USTZH:TZM'::text) as "22",
to_char(__types__."interval", 'YYYY_MM_DD_HH24_MI_SS.US'::text) as "23",
array(
select to_char(__entry__, 'YYYY_MM_DD_HH24_MI_SS.US'::text)
from unnest(__types__."interval_array") __entry__
)::text as "24",
__types__."money"::numeric::text as "25",
case when (__types__."compound_type") is not distinct from null then null::text else json_build_array((((__types__."compound_type")."a"))::text, ((__types__."compound_type")."b"), (((__types__."compound_type")."c"))::text, ((__types__."compound_type")."d"), (((__types__."compound_type")."e"))::text, (((__types__."compound_type")."f"))::text, to_char(((__types__."compound_type")."g"), 'YYYY_MM_DD_HH24_MI_SS.US'::text), (((__types__."compound_type")."foo_bar"))::text)::text end as "26",
case when (__types__."nested_compound_type") is not distinct from null then null::text else json_build_array(case when (((__types__."nested_compound_type")."a")) is not distinct from null then null::text else json_build_array((((((__types__."nested_compound_type")."a"))."a"))::text, ((((__types__."nested_compound_type")."a"))."b"), (((((__types__."nested_compound_type")."a"))."c"))::text, ((((__types__."nested_compound_type")."a"))."d"), (((((__types__."nested_compound_type")."a"))."e"))::text, (((((__types__."nested_compound_type")."a"))."f"))::text, to_char(((((__types__."nested_compound_type")."a"))."g"), 'YYYY_MM_DD_HH24_MI_SS.US'::text), (((((__types__."nested_compound_type")."a"))."foo_bar"))::text)::text end, case when (((__types__."nested_compound_type")."b")) is not distinct from null then null::text else json_build_array((((((__types__."nested_compound_type")."b"))."a"))::text, ((((__types__."nested_compound_type")."b"))."b"), (((((__types__."nested_compound_type")."b"))."c"))::text, ((((__types__."nested_compound_type")."b"))."d"), (((((__types__."nested_compound_type")."b"))."e"))::text, (((((__types__."nested_compound_type")."b"))."f"))::text, to_char(((((__types__."nested_compound_type")."b"))."g"), 'YYYY_MM_DD_HH24_MI_SS.US'::text), (((((__types__."nested_compound_type")."b"))."foo_bar"))::text)::text end, (((__types__."nested_compound_type")."baz_buz"))::text)::text end as "27",
case when (__types__."nullable_compound_type") is not distinct from null then null::text else json_build_array((((__types__."nullable_compound_type")."a"))::text, ((__types__."nullable_compound_type")."b"), (((__types__."nullable_compound_type")."c"))::text, ((__types__."nullable_compound_type")."d"), (((__types__."nullable_compound_type")."e"))::text, (((__types__."nullable_compound_type")."f"))::text, to_char(((__types__."nullable_compound_type")."g"), 'YYYY_MM_DD_HH24_MI_SS.US'::text), (((__types__."nullable_compound_type")."foo_bar"))::text)::text end as "28",
case when (__types__."nullable_nested_compound_type") is not distinct from null then null::text else json_build_array(case when (((__types__."nullable_nested_compound_type")."a")) is not distinct from null then null::text else json_build_array((((((__types__."nullable_nested_compound_type")."a"))."a"))::text, ((((__types__."nullable_nested_compound_type")."a"))."b"), (((((__types__."nullable_nested_compound_type")."a"))."c"))::text, ((((__types__."nullable_nested_compound_type")."a"))."d"), (((((__types__."nullable_nested_compound_type")."a"))."e"))::text, (((((__types__."nullable_nested_compound_type")."a"))."f"))::text, to_char(((((__types__."nullable_nested_compound_type")."a"))."g"), 'YYYY_MM_DD_HH24_MI_SS.US'::text), (((((__types__."nullable_nested_compound_type")."a"))."foo_bar"))::text)::text end, case when (((__types__."nullable_nested_compound_type")."b")) is not distinct from null then null::text else json_build_array((((((__types__."nullable_nested_compound_type")."b"))."a"))::text, ((((__types__."nullable_nested_compound_type")."b"))."b"), (((((__types__."nullable_nested_compound_type")."b"))."c"))::text, ((((__types__."nullable_nested_compound_type")."b"))."d"), (((((__types__."nullable_nested_compound_type")."b"))."e"))::text, (((((__types__."nullable_nested_compound_type")."b"))."f"))::text, to_char(((((__types__."nullable_nested_compound_type")."b"))."g"), 'YYYY_MM_DD_HH24_MI_SS.US'::text), (((((__types__."nullable_nested_compound_type")."b"))."foo_bar"))::text)::text end, (((__types__."nullable_nested_compound_type")."baz_buz"))::text)::text end as "29",
__types__."point"::text as "30",
__types__."nullablePoint"::text as "31",
__types__."inet"::text as "32",
__types__."cidr"::text as "33",
__types__."macaddr"::text as "34",
__types__."regproc"::text as "35",
__types__."regprocedure"::text as "36",
__types__."regoper"::text as "37",
__types__."regoperator"::text as "38",
__types__."regclass"::text as "39",
__types__."regtype"::text as "40",
__types__."regconfig"::text as "41",
__types__."regdictionary"::text as "42",
__types__."text_array_domain"::text as "43",
__types__."int8_array_domain"::text as "44",
__types__."bytea"::text as "45",
__types__."bytea_array"::text as "46",
__types__."ltree"::text as "47",
__types__."ltree_array"::text as "48",
array(
select to_char(__entry_2, 'YYYY_MM_DD_HH24_MI_SS.US'::text)
from unnest(__types__."interval_array") __entry_2
)::text as "49"
from "b"."types" as __types__
order by __types__."id" asc;

select
(count(*))::text as "0"
from "b"."types" as __types__;
Expand Down Expand Up @@ -771,11 +706,7 @@ select
__types__."bytea"::text as "45",
__types__."bytea_array"::text as "46",
__types__."ltree"::text as "47",
__types__."ltree_array"::text as "48",
array(
select to_char(__entry_2, 'YYYY_MM_DD_HH24_MI_SS.US'::text)
from unnest(__types__."interval_array") __entry_2
)::text as "49"
__types__."ltree_array"::text as "48"
from "b"."types" as __types__
where (
__types__."smallint" = $1::"int2"
Expand Down

0 comments on commit a84a502

Please sign in to comment.