From c653de3d100a9e600a6ce22da90564da0ac4e25e Mon Sep 17 00:00:00 2001 From: Hiroshi Inoue Date: Thu, 3 Oct 2002 08:16:57 +0000 Subject: [PATCH] Change the default precision of Timestamp type. --- pgtypes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pgtypes.c b/pgtypes.c index 57a34bd..5dc9604 100644 --- a/pgtypes.c +++ b/pgtypes.c @@ -758,7 +758,7 @@ getTimestampDecimalDigits(StatementClass *stmt, Int4 type, int col) else atttypmod = QR_get_atttypmod(result, col); mylog("atttypmod2=%d\n", atttypmod); - return (atttypmod > -1 ? atttypmod : 0); + return (atttypmod > -1 ? atttypmod : 6); } -- 2.39.5