]> granicus.if.org Git - postgresql/commit
Hi,
authorBruce Momjian <bruce@momjian.us>
Wed, 8 Mar 2000 01:34:41 +0000 (01:34 +0000)
committerBruce Momjian <bruce@momjian.us>
Wed, 8 Mar 2000 01:34:41 +0000 (01:34 +0000)
commiteae5184d11d67edf49c114e15abc0223df8f5432
treef25e2fde02b1329f555a02c92e18c95a03fb58ae
parent0c5422912ef1892c7d34e425e03a4bafe9a960e9
Hi,

 the to_char() source code is large, here are regression tests for
numeric/timestamp/int8 part. It is probably enough test for formatting
code in the formatting.c module. The others (float4/float8/int4) types
share this formatting code and eventual bugs for these types aren't
few probable.

 Patch fix timestamp_to_char() for infinity/invalid timestamp too.

                                                Karel
src/backend/utils/adt/formatting.c
src/test/regress/expected/int8.out
src/test/regress/expected/numeric.out
src/test/regress/expected/timestamp.out
src/test/regress/sql/int8.sql
src/test/regress/sql/numeric.sql
src/test/regress/sql/timestamp.sql