Skip to content

Support and default to UUID for PostgreSQL uuid #120

Support and default to UUID for PostgreSQL uuid

Support and default to UUID for PostgreSQL uuid #120

Triggered via pull request December 31, 2023 03:27
Status Failure
Total duration 1m 9s
Artifacts

blue_style_formatter.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 8 warnings
format
Process completed with exit code 1.
format: test/runtests.jl#L1170
[JuliaFormatter] reported by reviewdog 🐶 Raw Output: test/runtests.jl:1170:- @testset for binary_format in (LibPQ.TEXT, LibPQ.BINARY) test/runtests.jl:1171:- @testset "Default Types" begin test/runtests.jl:1172:- conn = LibPQ.Connection("dbname=postgres user=$DATABASE_USER"; throw_error=true) test/runtests.jl:1173:- test/runtests.jl:1174:- test_data = [ test/runtests.jl:1175:- ("3", Cint(3)), test/runtests.jl:1176:- ("3::int8", Int64(3)), test/runtests.jl:1177:- ("3::int4", Int32(3)), test/runtests.jl:1178:- ("3::int2", Int16(3)), test/runtests.jl:1179:- ("3::float8", Float64(3)), test/runtests.jl:1180:- ("3::float4", Float32(3)), test/runtests.jl:1181:- ("3::oid", LibPQ.Oid(3)), test/runtests.jl:1182:- ("3::numeric", decimal("3")), test/runtests.jl:1183:- ("$(BigFloat(pi))::numeric", decimal(BigFloat(pi))), test/runtests.jl:1184:- ("$(big"4608230166434464229556241992703")::numeric", parse(Decimal, "4608230166434464229556241992703")), test/runtests.jl:1185:- ("E'\\\\xDEADBEEF'::bytea", hex2bytes("DEADBEEF")), test/runtests.jl:1186:- ("E'\\\\000'::bytea", UInt8[0o000]), test/runtests.jl:1187:- ("E'\\\\047'::bytea", UInt8[0o047]), test/runtests.jl:1188:- ("E'\\''::bytea", UInt8[0o047]), test/runtests.jl:1189:- ("E'\\\\134'::bytea", UInt8[0o134]), test/runtests.jl:1190:- ("E'\\\\\\\\'::bytea", UInt8[0o134]), test/runtests.jl:1191:- ("E'\\\\001'::bytea", UInt8[0o001]), test/runtests.jl:1192:- ("E'\\\\176'::bytea", UInt8[0o176]), test/runtests.jl:1193:- ("'hello'::char(10)", "hello"), test/runtests.jl:1194:- ("'hello '::char(10)", "hello"), test/runtests.jl:1195:- ("'hello '::varchar(10)", "hello "), test/runtests.jl:1196:- ("'3'::\"char\"", LibPQ.PQChar('3')), test/runtests.jl:1197:- ("'6dc2b682-a411-a51f-ce9e-af63d1ef7c1a'::uuid", UUID("6dc2b682-a411-a51f-ce9e-af63d1ef7c1a")), test/runtests.jl:1198:- ("'t'::bool", true), test/runtests.jl:1199:- ("'T'::bool", true), test/runtests.jl:1200:- ("'true'::bool", true), test/runtests.jl:1201:- ("'TRUE'::bool", true), test/runtests.jl:1202:- ("'tRuE'::bool", true), test/runtests.jl:1203:- ("'y'::bool", true), test/runtests.jl:1204:- ("'YEs'::bool", true), test/runtests.jl:1205:- ("'on'::bool", true), test/runtests.jl:1206:- ("1::bool", true), test/runtests.jl:1207:- ("true", true), test/runtests.jl:1208:- ("'f'::bool", false), test/runtests.jl:1209:- ("'F'::bool", false), test/runtests.jl:1210:- ("'false'::bool", false), test/runtests.jl:1211:- ("'FALSE'::bool", false), test/runtests.jl:1212:- ("'fAlsE'::bool", false), test/runtests.jl:1213:- ("'n'::bool", false), test/runtests.jl:1214:- ("'nO'::bool", false), test/runtests.jl:1215:- ("'off'::bool", false), test/runtests.jl:1216:- ("0::bool", false), test/runtests.jl:1217:- ("false", false), test/runtests.jl:1218:- ("TIMESTAMP '2004-10-19 10:23:54'", DateTime(2004, 10, 19, 10, 23, 54
format: test/runtests.jl#L1430
[JuliaFormatter] reported by reviewdog 🐶 Raw Output: test/runtests.jl:1430:- end test/runtests.jl:1431:- test/runtests.jl:1432:- @testset "Parameters" begin test/runtests.jl:1433:- conn = LibPQ.Connection("dbname=postgres user=$DATABASE_USER"; throw_error=true)
format: test/runtests.jl#L1435
[JuliaFormatter] reported by reviewdog 🐶 Raw Output: test/runtests.jl:1435:- @testset "UUID" begin test/runtests.jl:1436:- tests = ( test/runtests.jl:1437:- ("'6dc2b682-a411-a51f-ce9e-af63d1ef7c1a'::uuid", UUID("6dc2b682-a411-a51f-ce9e-af63d1ef7c1a")), test/runtests.jl:1913:+ @testset "Parameters" begin test/runtests.jl:1914:+ conn = LibPQ.Connection( test/runtests.jl:1915:+ "dbname=postgres user=$DATABASE_USER"; throw_error=true
format: test/runtests.jl#L1440
[JuliaFormatter] reported by reviewdog 🐶 Raw Output: test/runtests.jl:1440:- @testset for (pg_str, obj) in tests test/runtests.jl:1441:- result = execute(conn, "SELECT $pg_str = \$1", [obj]) test/runtests.jl:1442:- @test first(first(result)) test/runtests.jl:1443:- close(result) test/runtests.jl:1918:+ @testset "UUID" begin test/runtests.jl:1919:+ tests = (( test/runtests.jl:1920:+ "'6dc2b682-a411-a51f-ce9e-af63d1ef7c1a'::uuid", test/runtests.jl:1921:+ UUID("6dc2b682-a411-a51f-ce9e-af63d1ef7c1a"), test/runtests.jl:1922:+ ),) test/runtests.jl:1923:+ test/runtests.jl:1924:+ @testset for (pg_str, obj) in tests test/runtests.jl:1925:+ result = execute(conn, "SELECT $pg_str = \$1", [obj]) test/runtests.jl:1926:+ @test first(first(result)) test/runtests.jl:1927:+ close(result) test/runtests.jl:1928:+ end
format: test/runtests.jl#L1445
[JuliaFormatter] reported by reviewdog 🐶 Raw Output: test/runtests.jl:1445:- end
format: test/runtests.jl#L1447
[JuliaFormatter] reported by reviewdog 🐶 Raw Output: test/runtests.jl:1447:- @testset "Arrays" begin test/runtests.jl:1448:- tests = ( test/runtests.jl:1449:- ("SELECT 'foo' = ANY(\$1)", [["bar", "foo"]]), test/runtests.jl:1450:- ("SELECT 'foo' = ANY(\$1)", (["bar", "foo"],)), test/runtests.jl:1451:- ("SELECT 'foo' = ANY(\$1)", [Any["bar", "foo"]]), test/runtests.jl:1452:- ("SELECT 'foo' = ANY(\$1)", Any[Any["bar", "foo"]]), test/runtests.jl:1453:- ("SELECT 'f\"oo' = ANY(\$1)", [["b\"ar", "f\"oo"]]), test/runtests.jl:1454:- ("SELECT 'f\\oo' = ANY(\$1)", [["b\\ar", "f\\oo"]]), test/runtests.jl:1455:- ("SELECT 'f\\\\oo' = ANY(\$1)", [["b\\\\ar", "f\\\\oo"]]), test/runtests.jl:1456:- ("SELECT 'f\\\"oo' = ANY(\$1)", [["b\\\"ar", "f\\\"oo"]]), test/runtests.jl:1457:- ("SELECT 'f\"\\oo' = ANY(\$1)", [["b\"\\ar", "f\"\\oo"]]), test/runtests.jl:1458:- ("SELECT ARRAY[1, 2] = \$1", [[1, 2]]), test/runtests.jl:1459:- ("SELECT ARRAY[1, 2] = \$1", Any[Any[1, 2]]), test/runtests.jl:1460:- ("SELECT '{6dc2b682-a411-a51f-ce9e-af63d1ef7c1a}'::uuid[] = \$1", [[UUID("6dc2b682-a411-a51f-ce9e-af63d1ef7c1a")]]), test/runtests.jl:1461:- ) test/runtests.jl:1931:+ @testset "Arrays" begin test/runtests.jl:1932:+ tests = ( test/runtests.jl:1933:+ ("SELECT 'foo' = ANY(\$1)", [["bar", "foo"]]), test/runtests.jl:1934:+ ("SELECT 'foo' = ANY(\$1)", (["bar", "foo"],)), test/runtests.jl:1935:+ ("SELECT 'foo' = ANY(\$1)", [Any["bar", "foo"]]), test/runtests.jl:1936:+ ("SELECT 'foo' = ANY(\$1)", Any[Any["bar", "foo"]]), test/runtests.jl:1937:+ ("SELECT 'f\"oo' = ANY(\$1)", [["b\"ar", "f\"oo"]]), test/runtests.jl:1938:+ ("SELECT 'f\\oo' = ANY(\$1)", [["b\\ar", "f\\oo"]]), test/runtests.jl:1939:+ ("SELECT 'f\\\\oo' = ANY(\$1)", [["b\\\\ar", "f\\\\oo"]]), test/runtests.jl:1940:+ ("SELECT 'f\\\"oo' = ANY(\$1)", [["b\\\"ar", "f\\\"oo"]]), test/runtests.jl:1941:+ ("SELECT 'f\"\\oo' = ANY(\$1)", [["b\"\\ar", "f\"\\oo"]]), test/runtests.jl:1942:+ ("SELECT ARRAY[1, 2] = \$1", [[1, 2]]), test/runtests.jl:1943:+ ("SELECT ARRAY[1, 2] = \$1", Any[Any[1, 2]]), test/runtests.jl:1944:+ ( test/runtests.jl:1945:+ "SELECT '{6dc2b682-a411-a51f-ce9e-af63d1ef7c1a}'::uuid[] = \$1", test/runtests.jl:1946:+ [[UUID("6dc2b682-a411-a51f-ce9e-af63d1ef7c1a")]], test/runtests.jl:1947:+ ), test/runtests.jl:1948:+ )
format: test/runtests.jl#L1463
[JuliaFormatter] reported by reviewdog 🐶 Raw Output: test/runtests.jl:1463:- @testset for (query, arr) in tests test/runtests.jl:1464:- result = execute(conn, query, arr) test/runtests.jl:1465:- @test first(first(result)) test/runtests.jl:1466:- close(result) test/runtests.jl:1467:- end test/runtests.jl:1950:+ @testset for (query, arr) in tests test/runtests.jl:1951:+ result = execute(conn, query, arr) test/runtests.jl:1952:+ @test first(first(result)) test/runtests.jl:1953:+ close(result) test/runtests.jl:1954:+ end
format
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/