Mailing List Archive

CVS: Postgres: ERROR: Bad timestamp external representation
Hi,

there seems to be a problem with postgres and the current cvs version.
When I try to copy a message to the imap server I get:

B00019 SELECT INBOX/Test.
* 0 EXISTS.
* 0 RECENT.
* FLAGS (\Seen \Answered \Deleted \Flagged \Draft \Recent ).
* OK [PERMANENTFLAGS (\Seen \Answered \Deleted \Flagged \Draft \Recent
* )].
* OK [UIDVALIDITY 13] UID value.
B00019 OK [READ-WRITE] SELECT completed.
B00020 APPEND INBOX/Test (\Seen) {7523}.
+ OK gimme that string.
Return-Path: ...
<mail content deleted>
.
* BYE internal dbase error storing message.
B00020 OK completed.

syslog with trace set to 5:
Jan 19 18:38:27 server dbmail/imap4d[28987]: dbpgsql.c,db_query:
executing query [INSERT INTO physmessage (messagesize, rfcsize,
internal_date) VALUES ('0', '0', '^P^N')]
Jan 19 18:38:27 server postgres[28988]: [3] ERROR: Bad timestamp
external representation '^P^N'
Jan 19 18:38:27 server dbmail/imap4d[28987]: dbpgsql.c, db_query: Error
executing query [INSERT INTO physmessage (messagesize, rfcsize,
internal_date) VALUES ('0', '0', '^P^N')] : [ERROR: Bad timestamp
external representation '^P^N'
]


--
MfG Thomas Mueller - http://www.tmueller.com for pgp key (95702B3B)