Fixed FLOAT_SHORTEST_DECIMAL_LEN for Postgres < 12 [skip ci]

This commit is contained in:
Andrew Kane
2022-12-02 10:54:14 -08:00
parent 7a13a6cd3c
commit 84a8bdd661

View File

@@ -203,7 +203,7 @@ vector_out(PG_FUNCTION_ARGS)
if (ndig < 1)
ndig = 1;
#define FLOAT_SHORTEST_DECIMAL_LEN ndig + 10
#define FLOAT_SHORTEST_DECIMAL_LEN (ndig + 10)
#endif
/*