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

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

From: "Marc G(dot) Fournier" <scrappy(at)hub(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql/src/backend/utils/adt formatting.c
Date: 2001-09-12 04:01:57
Message-ID: 200109120401.f8C41vm67019@hub.org (view raw or flat)
Thread:
Lists: pgsql-committers
CVSROOT:	/home/projects/pgsql/cvsroot
Module name:	pgsql
Changes by:	scrappy(at)hub(dot)org	01/09/12 00:01:57

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

Log message:
	It is not fixed and I doubt that it is working fine in current CVS. The
	bugfix is in the attached patch. Please apply it. Thanks.
	
	Output must be:
	
	test=# SELECT to_char(485, 'RN');
	to_char
	-----------------
	CDLXXXV
	(1 row)
	
	test=# SELECT to_char(485, 'FMRN');
	to_char
	---------
	CDLXXXV
	(1 row)
	
	test=# SELECT to_char(1000, 'RN');
	to_char
	-----------------
	M
	(1 row)
	
	test=# SELECT to_char(7.2, '"Welcome to"9.9 "release! :-)"');
	to_char
	-----------------------------
	Welcome to 7.2 release! :-)
	(1 row)
	
	Karel Zak


pgsql-committers by date

Next:From: Marc G. FournierDate: 2001-09-12 12:14:42
Subject: pgsql/. configure configure.in
Previous:From: Marc G. FournierDate: 2001-09-12 03:58:15
Subject: pgsql/doc/src/sgml plpython.sgml

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