--- C:/work/psqlodbc-a2def3d/convert.c.orig	Wed Sep 23 16:14:10 2015
+++ C:/work/psqlodbc-a2def3d/convert.c	Thu Sep 24 09:01:50 2015
@@ -1247,8 +1247,7 @@
 			case PG_TYPE_TIMESTAMP:
 				/* sprintf(rgbValueBindRow, "%.4d-%.2d-%.2d %.2d:%.2d:%.2d",
 					std_time.y, std_time.m, std_time.d, std_time.hh, std_time.mm, std_time.ss); */
-				len = stime2timestamp(&std_time, rgbValueBindRow, cbValueMax, FALSE,
-									  (int) (cbValueMax - len - 2) );
+				len = stime2timestamp(&std_time, rgbValueBindRow, cbValueMax, FALSE, 6 );
 				if (len + 1 > cbValueMax)
 					result = COPY_RESULT_TRUNCATED;
 				break;
