summaryrefslogtreecommitdiff
path: root/src/backend/port/snprintf.c
AgeCommit message (Collapse)Author
2002-07-18Move libc replacement files from src/backend/port to src/port.Bruce Momjian
2001-10-25pgindent run on all C files. Java run to follow. initdb/regressionBruce Momjian
tests pass.
2001-02-10Restructure the key include files per recent pghackers discussion: thereTom Lane
are now separate files "postgres.h" and "postgres_fe.h", which are meant to be the primary include files for backend .c files and frontend .c files respectively. By default, only include files meant for frontend use are installed into the installation include directory. There is a new make target 'make install-all-headers' that adds the whole content of the src/include tree to the installed fileset, for use by people who want to develop server-side code without keeping the complete source tree on hand. Cleaned up a whole lot of crufty and inconsistent header inclusions.
2000-12-30Be more careful about the difference between signed and unsigned ints.Tom Lane
Bug is revealed by OID regress test on 64-bit platforms.
2000-12-03Ensure that all uses of <ctype.h> functions are applied to unsigned-charTom Lane
values, whether the local char type is signed or not. This is necessary for portability. Per discussion on pghackers around 9/16/00.
1999-09-09Get rid of elog(DEBUG) in snprintf emulation ... it's justTom Lane
cluttering the log file...
1999-08-31Minor improvements to stringinfo package to make it moreTom Lane
robust, since it's about to get used much more heavily.
1999-07-17 Move some system includes into c.h, and remove duplicates.Bruce Momjian
1999-07-16Final cleanup.Bruce Momjian
1999-07-15Remove unused #includes in *.c files.Bruce Momjian
1999-05-25pgindent run over code.Bruce Momjian
1999-02-21From: Tatsuo Ishii <[email protected]>Marc G. Fournier
Ok. I made patches replacing all of "#if FALSE" or "#if 0" to "#ifdef NOT_USED" for current. I have tested these patches in that the postgres binaries are identical.
1999-02-06Add floating-point support to our emulation of snprintfTom Lane
so that EXPLAIN works again.
1999-02-03Cleanup of source files where 'return' or 'var =' is alone on a line.Bruce Momjian
1999-01-17Reverse out yesterday's patch from Horak Daniel, sinceTom Lane
it fails to compile on any machine without a <features.h> header. If this header is actually necessary on Windows, perhaps an #if test is in order.
1999-01-17Apply Win32 patch from Horak Daniel.Bruce Momjian
1999-01-17Add configure test to see whether vsnprintf() is present,Tom Lane
separately from snprintf() --- HPUX, for one, has snprintf but not vsnprintf. Fix a minor typo in snprintf.c, too.
1998-12-24Fix for snprintf and long long unsigned.Bruce Momjian
1998-12-18Attached is a patch with some fixes that (I think that) should go intoBruce Momjian
6.4.1. Here is the list: - The type int8 now works. In fact, the bug(s) were in src/backend/port/snprintf.c, so int8 is probably broken in every platform that hasn't a native snprintf/vsnprintf. The type itself worked as expected, only the output was wrong. Anyway, this patch should be checked in other platforms. - The regression tests for int2 and int4, which were broken due to differences in the error messages, are fixed. - The regression test for float8, which was broken in the reference platform, is also fixed. I don't know if the new file (float8-OSF1.out) will work on other platforms, but it might be worth to try it. - Two new template files are provided (alpha_cc, which includes optimization, and alpha_gcc), and src/templates/.similar is updated accordingly. src/templates/alpha should be removed from the distribution. *IMPORTANT NOTE*: I don't know if you can use gcc to compile postgres; I've written the alpha_gcc file because alpha_cc has some flags that are specific to DEC C. - There is a (very basic) Digital Unix specific FAQ in doc/FAQ_DigitalUnix. -- ------------------------------------------------------------------- Pedro José Lobo Perea Tel: +34 91 336 78 19
1998-12-18Fix for HAVE_LONG bug in snprintf.c.Bruce Momjian
1998-12-18Fix for snprintf with long long's, define problem.Bruce Momjian
1998-12-12Fix prototype for 64-bit platforms.Bruce Momjian
1998-10-08Cleanup for snprintf for long long's.Bruce Momjian
1998-10-07Fix snprintf.c for machines that don't have long long, like some Irix.Bruce Momjian
1998-10-02Fixes for Irix from Robert BruccoleriBruce Momjian
1998-09-23Add in, I think, support for %lld in snprintf(), specifically withMarc G. Fournier
Irix in mind...
1998-09-18fix for aix snprintfBruce Momjian
1998-09-10Porting efforts... :)Vadim B. Mikheev
1998-09-04Try this snprintf() implementation, used in sendmail...Marc G. Fournier
1998-09-01OK, folks, here is the pgindent output.Bruce Momjian
1998-09-01Renaming cleanup, no pgindent yet.Bruce Momjian
1998-08-01Adrian Hall reported a problem to me that snprintf() doesn't exist in, atMarc G. Fournier
least, Solaris 2.5.1. We use it in backend/utils/adt/int8.c. Add a check to configure so that we see if it exists or not, and, if not, compile in snprintf.c from backend/port, which was taken from, and falls under the same Berkeley license as us, the FreeBSD libc/stdio ...