/
githubmirror
/
postgres
Обзор
Документация
Войти
/
githubmirror
/
postgres
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
src/interfaces/ecpg/test/expected/connect-test6.stderr
50 строк
3 KB
Andrew Dunstan
Add missing connection validation in ECPG
01 май 2026, 22:12
01 май 2026, 22:12
c34a280
Код
Авторство
О чём код?
[NO_PID]: ECPGdebug: set to 1 [NO_PID]: sqlca: code: 0, state: 00000 [NO_PID]: ECPGconnect: opening database ecpg1_regression on <DEFAULT> port <DEFAULT> [NO_PID]: sqlca: code: 0, state: 00000 [NO_PID]: ecpg_execute on line 30: query: create table test1 ( a int , b text ); with 0 parameter(s) on connection myconn [NO_PID]: sqlca: code: 0, state: 00000 [NO_PID]: ecpg_execute on line 30: using PQexec [NO_PID]: sqlca: code: 0, state: 00000 [NO_PID]: ecpg_process_output on line 30: OK: CREATE TABLE [NO_PID]: sqlca: code: 0, state: 00000 [NO_PID]: ecpg_execute on line 31: query: insert into test1 ( a , b ) values ( 1 , 'data1' ); with 0 parameter(s) on connection myconn [NO_PID]: sqlca: code: 0, state: 00000 [NO_PID]: ecpg_execute on line 31: using PQexec [NO_PID]: sqlca: code: 0, state: 00000 [NO_PID]: ecpg_process_output on line 31: OK: INSERT 0 1 [NO_PID]: sqlca: code: 0, state: 00000 [NO_PID]: prepare_common on line 36: name foo2; query: "SELECT * from test1 where a = $1 and b = $2" [NO_PID]: sqlca: code: 0, state: 00000 [NO_PID]: ecpg_execute on line 41: query: SELECT * from test1 where a = $1 and b = $2; with 2 parameter(s) on connection myconn [NO_PID]: sqlca: code: 0, state: 00000 [NO_PID]: ecpg_execute on line 41: using PQexecPrepared for "SELECT * from test1 where a = $1 and b = $2" [NO_PID]: sqlca: code: 0, state: 00000 [NO_PID]: ecpg_free_params on line 41: parameter 1 = 1 [NO_PID]: sqlca: code: 0, state: 00000 [NO_PID]: ecpg_free_params on line 41: parameter 2 = data1 [NO_PID]: sqlca: code: 0, state: 00000 [NO_PID]: ecpg_process_output on line 41: correctly got 1 tuples with 2 fields [NO_PID]: sqlca: code: 0, state: 00000 [NO_PID]: ecpg_process_output on line 41: putting result (1 tuples) into descriptor outdesc [NO_PID]: sqlca: code: 0, state: 00000 [NO_PID]: ECPGtrans on line 43: action "rollback"; connection "myconn" [NO_PID]: sqlca: code: 0, state: 00000 [NO_PID]: deallocate_one on line 0: name foo2 [NO_PID]: sqlca: code: 0, state: 00000 [NO_PID]: ecpg_finish: connection myconn closed [NO_PID]: sqlca: code: 0, state: 00000 [NO_PID]: ECPGget_desc: reading items for tuple 1 [NO_PID]: sqlca: code: 0, state: 00000 [NO_PID]: raising sqlcode -220 on line 45: connection "NULL" does not exist on line 45 [NO_PID]: sqlca: code: -220, state: 08003 [NO_PID]: raising sqlcode -220 on line 50: connection "nonexistent" does not exist on line 50 [NO_PID]: sqlca: code: -220, state: 08003 [NO_PID]: raising sqlcode -220 on line 55: connection "NULL" does not exist on line 55 [NO_PID]: sqlca: code: -220, state: 08003 [NO_PID]: raising sqlcode -220 on line 60: connection "nonexistent" does not exist on line 60 [NO_PID]: sqlca: code: -220, state: 08003 [NO_PID]: raising sqlcode -220 on line 63: connection "nonexistent" does not exist on line 63 [NO_PID]: sqlca: code: -220, state: 08003 [NO_PID]: raising sqlcode -220 on line 62: connection "nonexistent" does not exist on line 62 [NO_PID]: sqlca: code: -220, state: 08003