Commit Graph

32 Commits (c15de02f6193edf6a1f014efbe88c4ce47c64201)

Author SHA1 Message Date
Bruce Momjian f99a569a2e pgindent run for 8.2. 19 years ago
Tom Lane 1daac8e165 Document return-value conventions used by this implementation, per 20 years ago
Tom Lane 3311c7669a Fix a rather sizable number of problems in our homegrown snprintf, such as 20 years ago
Bruce Momjian 1dc3498251 Standard pgindent run for 8.1. 20 years ago
Tom Lane 06e1d62689 Fix a whole bunch of #includes that were either wrong or redundant. 20 years ago
Tom Lane b79a718fac Must count '*' characters as potential arguments. 21 years ago
Bruce Momjian 683f60da3d Add mention of why malloc() has to be used in snprintf.c. 21 years ago
Bruce Momjian 8c72526fe9 Department of second thoughts. Remove FRONTEND from snprintf.c because 21 years ago
Bruce Momjian 7111a14fba Factor duplicate snprintf code into functions. 21 years ago
Bruce Momjian 712f053587 Add sprintf support, that were were missing. 21 years ago
Bruce Momjian ca66797308 pgindent snprintf.c for consistency. 21 years ago
Bruce Momjian 2306f63dea Fix snprintf for %*$. 21 years ago
Bruce Momjian 888271ed15 Fix snprintf to handle %$ properly by storing and reordering the 21 years ago
Bruce Momjian c82f76e1ac Fix snprintf() to properly handle precision specification for %f. 21 years ago
Bruce Momjian caad817d1c Add fprintf() custom version to libpgport. 21 years ago
Bruce Momjian 3bc6bdf322 Define snprintf() to call pg_snprintf() so our own snprintf-like 21 years ago
Bruce Momjian 5592a6cf46 Move snprintf int64 compatibility letters into a NOT_USED block. 21 years ago
Bruce Momjian f8aca046bb Fix for %I64d snprintf. 21 years ago
Bruce Momjian 022ece2cf1 snprintf() %I64d code fix. 21 years ago
Bruce Momjian bb7a3a740c Use our own snprintf() only if NLS is enabled, and support %qd and %I64d. 21 years ago
Bruce Momjian 70d4a9343f Prevent large allocation in snprintf to hold positional parameters. 21 years ago
Bruce Momjian 47ea7148e3 Fix snprintf on Win32: 21 years ago
Bruce Momjian 9989e90490 Make port snprintf.c finally thread-safe. 21 years ago
Bruce Momjian 03b8efa540 Make snprintf() use already-defined int64/uint64 typedefs rather than 21 years ago
Bruce Momjian 295dd338c3 And while we are on it, I would like to submit minor 21 years ago
Bruce Momjian 949ab3c9b3 snprintf.c has no sys/ioctl.h. Trivial patch below: 21 years ago
Bruce Momjian e3ebe2521e Add semicolon so snprintf.c goto has a statement to attach to: 21 years ago
Bruce Momjian b4feafb6ff Add support to port/snprintf.c for position parameter specification: 21 years ago
Bruce Momjian b6b71b85bc Pgindent run for 8.0. 21 years ago
Bruce Momjian 49c534fccb Throw compile error if our non-thread-safe snprintf is used. 22 years ago
PostgreSQL Daemon 55b113257c make sure the $Id tags are converted to $PostgreSQL as well ... 22 years ago
Bruce Momjian 404e9a12a5 Move libc replacement files from src/backend/port to src/port. 24 years ago
Bruce Momjian b81844b173 pgindent run on all C files. Java run to follow. initdb/regression 24 years ago
Tom Lane d08741eab5 Restructure the key include files per recent pghackers discussion: there 25 years ago
Tom Lane 4723b2b99b Be more careful about the difference between signed and unsigned ints. 25 years ago
Tom Lane a27b691e29 Ensure that all uses of <ctype.h> functions are applied to unsigned-char 25 years ago
Tom Lane 9e713ddb99 Get rid of elog(DEBUG) in snprintf emulation ... it's just 26 years ago
Tom Lane 130e372b5d Minor improvements to stringinfo package to make it more 26 years ago
Bruce Momjian 3406901a29 Move some system includes into c.h, and remove duplicates. 27 years ago
Bruce Momjian a71802e12e Final cleanup. 27 years ago
Bruce Momjian 2e6b1e63a3 Remove unused #includes in *.c files. 27 years ago
Bruce Momjian 07842084fe pgindent run over code. 27 years ago
Marc G. Fournier 8c3e8a8a0e From: Tatsuo Ishii <t-ishii@sra.co.jp> 27 years ago
Tom Lane 3fd3d028fb Add floating-point support to our emulation of snprintf 27 years ago
Bruce Momjian 9322950aa4 Cleanup of source files where 'return' or 'var =' is alone on a line. 27 years ago
Tom Lane d1a391c332 Reverse out yesterday's patch from Horak Daniel, since 27 years ago
Bruce Momjian 7a6b562fdf Apply Win32 patch from Horak Daniel. 27 years ago
Tom Lane 7fab608205 Add configure test to see whether vsnprintf() is present, 27 years ago
Bruce Momjian cb6331901c Fix for snprintf and long long unsigned. 27 years ago
Bruce Momjian 03f1648872 Attached is a patch with some fixes that (I think that) should go into 27 years ago