knizhnikv » 07 дек 2009, 07:35
Кассиры не смогли сказать была ли такая ошибка 21. На всякий случай я скопировал необходимые файлы для анализа.
Файл transactions24-Nov-2009.log содержит:
24-Nov-2009-16:46:11 Trans::Trans - Connect to db parameters form path = /etc/dancy/Trans_db.conf
24-Nov-2009-18:37:32 ERROR : Error exec command = INSERT INTO Transaction(tr_type, tr_date_time, n_pc, n_kkm, seller, n_session, n_check, n_doc, check_type, code, barcode, value_1, value_2) VALUES (11, CAST ('2009-11-24 15:24:105' AS TIMESTAMP), 1, 00090121, 3, 20, 168, 202, 0, 122, '4893156059338', 949.00, 1.000)
PQresultStatus = PGRES_FATAL_ERROR
dbname = Transaction
user = kassir
24-Nov-2009-18:37:32 ERROR : Error exec command = INSERT INTO Transaction(tr_type, tr_date_time, n_pc, n_kkm, seller, n_session, n_check, n_doc, check_type, payment_type, value_1, value_2) VALUES (40, CAST ('2009-11-24 15:24:105' AS TIMESTAMP), 1, 00090121, 3, 20, 168, 202, 0, 1, 2000.00, 102.00)
PQresultStatus = PGRES_FATAL_ERROR
dbname = Transaction
user = kassir
24-Nov-2009-18:56:59 ERROR : Error exec command = INSERT INTO Transaction(tr_type, tr_date_time, n_pc, n_kkm, seller, n_session, n_check, n_doc, check_type, value_1) VALUES (51, CAST ('2009-11-24 15:24:105' AS TIMESTAMP), 1, 00090121, 3, 20, 169, 203, 5, 533.38)
PQresultStatus = PGRES_FATAL_ERROR
dbname = Transaction
user = kassir
24-Nov-2009-18:57:43 ERROR : Error exec command = INSERT INTO Transaction(tr_type, tr_date_time, n_pc, n_kkm, seller, n_session, n_doc, gain, value_1, value_2) VALUES (63, CAST ('2009-11-24 15:24:105' AS TIMESTAMP), 1, 00090121, 63833032, 20, 204, 38579.00, 38579.00, 38579.00)
PQresultStatus = PGRES_FATAL_ERROR
dbname = Transaction
user = kassir
---------------------------
Вот такого файла /var/log/postgres/postgresql.1.gz не было, был только /var/log/postgres/postgresql
Дамп отправлю на ваш ящик.