Hi,
I have a problem with my script: error: pq: value too long for type character(1)
My database is built like this:
CREATE TABLE ip_logs (
ip_id INT PRIMARY KEY,
nickname TEXT NOT NULL,
ip_adress TEXT NOT NULL);
My script:
dbc.exec("INSERT INTO ip_logs(ip_id, nickname, ip_adress) VALUES...