mirror of
https://github.com/postgres/postgres.git
synced 2026-04-29 10:11:47 -04:00
Sorry my previous change was a mistake.
This commit is contained in:
parent
54329ac4a0
commit
7bba7a5c06
1 changed files with 2 additions and 2 deletions
|
|
@ -893,12 +893,12 @@ copy_statement_with_parameters(StatementClass *stmt)
|
|||
break;
|
||||
|
||||
case SQL_C_DOUBLE:
|
||||
sprintf(param_string, "%15g",
|
||||
sprintf(param_string, "%.15g",
|
||||
*((SDOUBLE *) buffer));
|
||||
break;
|
||||
|
||||
case SQL_C_FLOAT:
|
||||
sprintf(param_string, "%6g",
|
||||
sprintf(param_string, "%.6g",
|
||||
*((SFLOAT *) buffer));
|
||||
break;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue