Skip site navigation (1) Skip section navigation (2)

pgsql-server/src/backend/utils/adt formatting.c

From: momjian(at)postgresql(dot)org (Bruce Momjian - CVS)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql-server/src/backend/utils/adt formatting.c
Date: 2003-03-20 05:19:27
Message-ID: 20030320051927.3A293475C15@postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
CVSROOT:	/cvsroot
Module name:	pgsql-server
Changes by:	momjian(at)postgresql(dot)org	03/03/20 00:19:27

Modified files:
	src/backend/utils/adt: formatting.c 

Log message:
	Peter found bug in the to_char() routine for PL/MI options. This
	patch fix it -- but this patch doesn't contains tests or docs fixes. I
	will send it later.
	
	Fixed outputs:
	
	select  to_char(x, '9999.999')  as x,
	to_char(x, 'S9999.999') as s,
	to_char(x, 'SG9999.999') as sg,
	to_char(x, 'MI9999.999') as mi,
	to_char(x, 'PL9999.999') as pl,
	to_char(x, 'PLMI9999.999') as plmi,
	to_char(x, '9999.999SG') as sg2,
	to_char(x, '9999.999PL') as pl2,
	to_char(x, '9999.999MI') as mi2 from num;
	
	Karel Zak


pgsql-committers by date

Next:From: Bruce Momjian - CVSDate: 2003-03-20 06:00:12
Subject: pgsql-server/src/bin/psql common.c common.h co ...
Previous:From: Bruce Momjian - CVSDate: 2003-03-20 05:18:15
Subject: pgsql-server/src backend/commands/sequence.c b ...

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group