Add Support for DBInterface #274
Merged
Annotations
1 error and 8 warnings
|
test/runtests.jl#L1895
[JuliaFormatter] reported by reviewdog 🐶
Raw Output:
test/runtests.jl:1895:- close(conn)
test/runtests.jl:1896:- end
test/runtests.jl:2444:+ @testset "FDWatcher: bad file descriptor (EBADF)" begin
test/runtests.jl:2445:+ conn = LibPQ.Connection(
test/runtests.jl:2446:+ "dbname=postgres user=$DATABASE_USER"; throw_error=true
test/runtests.jl:2447:+ )
|
test/runtests.jl#L1898
[JuliaFormatter] reported by reviewdog 🐶
Raw Output:
test/runtests.jl:1898:- @testset "DBInterface integration" begin
test/runtests.jl:1899:- conn = DBInterface.connect(LibPQ.Connection, "dbname=postgres user=$DATABASE_USER")
test/runtests.jl:1900:- @test conn isa LibPQ.Connection
test/runtests.jl:2449:+ ar = async_execute(conn, "SELECT pg_sleep(3); SELECT * FROM pg_type;")
test/runtests.jl:2450:+ yield()
test/runtests.jl:2451:+ @async Base.throwto(
test/runtests.jl:2452:+ ar.result_task,
test/runtests.jl:2453:+ Base.IOError("FDWatcher: bad file descriptor (EBADF)", -9),
test/runtests.jl:2454:+ )
test/runtests.jl:2455:+ try
test/runtests.jl:2456:+ wait(ar)
test/runtests.jl:2457:+ @test false
test/runtests.jl:2458:+ catch err
test/runtests.jl:2459:+ while err isa TaskFailedException
test/runtests.jl:2460:+ err = err.task.exception
test/runtests.jl:2461:+ end
test/runtests.jl:2462:+ @test err isa LibPQ.Errors.JLConnectionError
test/runtests.jl:2463:+ end
|
test/runtests.jl#L1902
[JuliaFormatter] reported by reviewdog 🐶
Raw Output:
test/runtests.jl:1902:- result = DBInterface.execute(
test/runtests.jl:1903:- conn,
test/runtests.jl:1904:- "SELECT typname FROM pg_type WHERE oid = 16";
test/runtests.jl:1905:- )
test/runtests.jl:1906:- @test result isa LibPQ.Result
test/runtests.jl:1907:- @test status(result) == LibPQ.libpq_c.PGRES_TUPLES_OK
test/runtests.jl:1908:- @test isopen(result)
test/runtests.jl:1909:- @test LibPQ.num_columns(result) == 1
test/runtests.jl:1910:- @test LibPQ.num_rows(result) == 1
test/runtests.jl:1911:- @test LibPQ.column_name(result, 1) == "typname"
test/runtests.jl:1912:- @test LibPQ.column_number(result, "typname") == 1
test/runtests.jl:1913:- data = columntable(result)
test/runtests.jl:1914:- @test data[:typname][1] == "bool"
test/runtests.jl:2465:+ close(conn)
test/runtests.jl:2466:+ end
|
test/runtests.jl#L1916
[JuliaFormatter] reported by reviewdog 🐶
Raw Output:
test/runtests.jl:1916:- qstr = "SELECT \$1::double precision as foo, typname FROM pg_type WHERE oid = \$2"
test/runtests.jl:1917:- stmt = DBInterface.prepare(conn, qstr)
test/runtests.jl:1918:- result = DBInterface.execute(
test/runtests.jl:1919:- conn,
test/runtests.jl:1920:- qstr,
test/runtests.jl:1921:- (1.0, 16);
test/runtests.jl:1922:- )
test/runtests.jl:1923:- @test result isa LibPQ.Result
test/runtests.jl:1924:- @test status(result) == LibPQ.libpq_c.PGRES_TUPLES_OK
test/runtests.jl:1925:- @test isopen(result)
test/runtests.jl:1926:- @test LibPQ.num_columns(result) == 2
test/runtests.jl:1927:- @test LibPQ.num_rows(result) == 1
test/runtests.jl:1928:- @test LibPQ.column_name(result, 1) == "foo"
test/runtests.jl:1929:- @test LibPQ.column_name(result, 2) == "typname"
test/runtests.jl:2468:+ @testset "DBInterface integration" begin
test/runtests.jl:2469:+ conn = DBInterface.connect(
test/runtests.jl:2470:+ LibPQ.Connection, "dbname=postgres user=$DATABASE_USER"
test/runtests.jl:2471:+ )
test/runtests.jl:2472:+ @test conn isa LibPQ.Connection
|
test/runtests.jl#L1931
[JuliaFormatter] reported by reviewdog 🐶
Raw Output:
test/runtests.jl:1931:- DBInterface.close!(conn)
test/runtests.jl:1932:- @test !isopen(conn)
test/runtests.jl:2474:+ result = DBInterface.execute(
test/runtests.jl:2475:+ conn, "SELECT typname FROM pg_type WHERE oid = 16";
test/runtests.jl:2476:+ )
test/runtests.jl:2477:+ @test result isa LibPQ.Result
test/runtests.jl:2478:+ @test status(result) == LibPQ.libpq_c.PGRES_TUPLES_OK
test/runtests.jl:2479:+ @test isopen(result)
test/runtests.jl:2480:+ @test LibPQ.num_columns(result) == 1
test/runtests.jl:2481:+ @test LibPQ.num_rows(result) == 1
test/runtests.jl:2482:+ @test LibPQ.column_name(result, 1) == "typname"
test/runtests.jl:2483:+ @test LibPQ.column_number(result, "typname") == 1
test/runtests.jl:2484:+ data = columntable(result)
test/runtests.jl:2485:+ @test data[:typname][1] == "bool"
|
test/runtests.jl#L1934
[JuliaFormatter] reported by reviewdog 🐶
Raw Output:
test/runtests.jl:2487:+ qstr = "SELECT \$1::double precision as foo, typname FROM pg_type WHERE oid = \$2"
test/runtests.jl:2488:+ stmt = DBInterface.prepare(conn, qstr)
test/runtests.jl:2489:+ result = DBInterface.execute(conn, qstr, (1.0, 16);)
test/runtests.jl:2490:+ @test result isa LibPQ.Result
test/runtests.jl:2491:+ @test status(result) == LibPQ.libpq_c.PGRES_TUPLES_OK
test/runtests.jl:2492:+ @test isopen(result)
test/runtests.jl:2493:+ @test LibPQ.num_columns(result) == 2
test/runtests.jl:2494:+ @test LibPQ.num_rows(result) == 1
test/runtests.jl:2495:+ @test LibPQ.column_name(result, 1) == "foo"
test/runtests.jl:2496:+ @test LibPQ.column_name(result, 2) == "typname"
test/runtests.jl:2497:+
test/runtests.jl:2498:+ DBInterface.close!(conn)
test/runtests.jl:2499:+ @test !isopen(conn)
test/runtests.jl:2500:+ end
|
test/runtests.jl#L1937
[JuliaFormatter] reported by reviewdog 🐶
Raw Output:
test/runtests.jl:1937:-
test/runtests.jl:1938:-end
|
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/
|
The logs for this run have expired and are no longer available.
Loading