ОШИБКА:  повторяющееся значение ключа нарушает ограничение уникальности "opgx_cdr_pkey"
DETAIL:  Ключ "(callid)=(003eb21f-988d-4d4f-8535-1e09440e1fcb)" уже существует.


ОШИБКА:  повторяющееся значение ключа нарушает ограничение уникальности "opgx_cdr_pkey"
DETAIL:  Ключ "(callid)=(003eb221-705e-474a-a5c8-55e1e0ebd923)" уже существует.


ОШИБКА:  ошибка синтаксиса в конце
LINE 1: SELECT * FROM xcalls.opgx_calls  WHERE id =
                                                    ^


SELECT * FROM xcalls.opgx_calls  WHERE id =


ОШИБКА:  ошибка синтаксиса (примерное положение: ".3")
LINE 1: ...or_id FROM opg_cr_credit WHERE credit_id = АСВ_135.3.4_10971...
                                                             ^

SELECT * FROM opg_dt_debtor WHERE debtor_id IN (SELECT debtor_id FROM opg_phones_book WHERE normalized_phone LIKE '%9296422190%') AND debtor_id IN (SELECT debtor_id FROM opg_cr_credit WHERE credit_id = АСВ_135.3.4_109711950 ) ORDER BY debtor_id DESC LIMIT 30


SELECT COUNT(*) as _count FROM opg_dt_debtor WHERE debtor_id IN (SELECT debtor_id FROM opg_phones_book WHERE normalized_phone LIKE '%9296422190%') AND debtor_id IN (SELECT debtor_id FROM opg_cr_credit WHERE credit_id = АСВ_135.3.4_109711950 );


ОШИБКА:  столбец "АСВ_151_1903939296" не существует
LINE 1: ...CT debtor_id FROM opg_cr_credit WHERE credit_id = АСВ_151_19...
                                                             ^

SELECT * FROM opg_dt_debtor WHERE debtor_id IN (SELECT debtor_id FROM opg_cr_credit WHERE credit_id = АСВ_151_1903939296) ORDER BY debtor_id DESC LIMIT 30


SELECT COUNT(*) as _count FROM opg_dt_debtor WHERE debtor_id IN (SELECT debtor_id FROM opg_cr_credit WHERE credit_id = АСВ_151_1903939296);


server closed the connection unexpectedly
	This probably means the server terminated abnormally
	before or while processing the request.

SELECT status_key FROM xcalls.opgx_user_status WHERE user_id = 100060


INSERT INTO xcalls.opgx_user_status (user_id, status_key, update_ts) VALUES (100060, 'not_available', current_timestamp);


SELECT key, name FROM xcalls.opgx_user_status_list;


SELECT * FROM xcalls.opgx_notice WHERE user_id = '100060' AND status = '';