mirror of
https://github.com/postgres/postgres.git
synced 2025-07-07 00:36:50 +03:00
Support EEEE (scientific notation) in to_char().
Pavel Stehule, Brendan Jurd
This commit is contained in:
@ -7,7 +7,7 @@
|
||||
*
|
||||
* Copyright (c) 1998-2009, PostgreSQL Global Development Group
|
||||
*
|
||||
* $PostgreSQL: pgsql/src/include/utils/numeric.h,v 1.27 2009/01/01 17:24:02 momjian Exp $
|
||||
* $PostgreSQL: pgsql/src/include/utils/numeric.h,v 1.28 2009/08/10 18:29:27 tgl Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -84,4 +84,9 @@ typedef NumericData *Numeric;
|
||||
#define PG_GETARG_NUMERIC_COPY(n) DatumGetNumericCopy(PG_GETARG_DATUM(n))
|
||||
#define PG_RETURN_NUMERIC(x) return NumericGetDatum(x)
|
||||
|
||||
/*
|
||||
* Utility functions in numeric.c
|
||||
*/
|
||||
extern char *numeric_out_sci(Numeric num, int scale);
|
||||
|
||||
#endif /* _PG_NUMERIC_H_ */
|
||||
|
Reference in New Issue
Block a user