Commit Graph

82 Commits (07bae9c099f08e9c8af4212f8c636ab6c96ed2dc)

Author SHA1 Message Date
Tom Lane 9bf2ac2a40 Clean up signedness warnings and 64-bit bugs in recent psql printing 20 years ago
Bruce Momjian 1a7be5cc7e Fix psql after newline patch for calloc(0). 20 years ago
Bruce Momjian c01999a557 Allow psql multi-line column values to align in the proper columns 20 years ago
Bruce Momjian 3332e38189 Disable expanded mode only for \d tablename, not for all backslash 20 years ago
Bruce Momjian 1dc3498251 Standard pgindent run for 8.1. 20 years ago
Peter Eisentraut a8da71e0c4 Clean up some messages and fix missing translation support. Option --log 21 years ago
Bruce Momjian 8ddd22f245 Fix incorrect psql \x memory allocation for numericlocale. Redesign API 21 years ago
Bruce Momjian c23240ecbe Rename variable for clarity. 21 years ago
Tom Lane 8889685555 Suppress signed-vs-unsigned-char warnings. 21 years ago
Bruce Momjian d7a06c2ac8 Fix psql \x by removing puts(). 21 years ago
Bruce Momjian 507465525e \pset numericsep -> numericlocale. 21 years ago
Bruce Momjian 71d0cabecd Fix len so decimal length is only added when a period appears in the output. 21 years ago
Bruce Momjian adeede1391 Fix numiericsep length computations. 21 years ago
Bruce Momjian bd15782164 Enable multi-byte thousands_sep and decimal_point for numericsep. 21 years ago
Bruce Momjian fbc11b9dcf Make better thousands_sep default based on decimal marker value. 21 years ago
Bruce Momjian 45a19efa9e Change numericsep to a boolean, and make it locale-aware. 21 years ago
Bruce Momjian 4a8bbbd2ee Add numeric separator support for latex and troff output methods. 21 years ago
Bruce Momjian 52d1d2e67c barebones variable name -> tuples_only, for consistency. 21 years ago
Bruce Momjian cff9c5748a Fix malloc length for new numeric separator patch. 21 years ago
Bruce Momjian f86c63ab6a Reverse pg_malloc patch because psql/print.c is used in scripts files 21 years ago
Bruce Momjian 8c9393c640 Use failure-safe pg_malloc consistently in psql/print.c. 21 years ago
Bruce Momjian 73a7c322c3 Add psql \pset numericsep to allow output numbers like 100,000.0 or 21 years ago
Bruce Momjian 921de09e40 Use ' ' escapes for leading spaces in table values, for use in 21 years ago
Bruce Momjian 2ee0d5549f Add -L option to psql to log sessions. 21 years ago
Neil Conway 077811605e Per discussion on -hackers, this patch changes psql's "expanded" output 21 years ago
Bruce Momjian 5c4955981e \(rs should be \\(rs, per Tom. 21 years ago
Bruce Momjian 4a5cda7bba I've created a patch which adds support for troff "-ms" output to 21 years ago
Bruce Momjian 0542b1e2fe Use _() macro consistently rather than gettext(). Add translation 21 years ago
Bruce Momjian 2daed8c5b3 Update copyrights that were missed. 21 years ago
Peter Eisentraut e9c05281b5 Get rid of perror(), substitute some better phrased error messages. 21 years ago
Bruce Momjian e1c8b37afb Add new macro as shorthand for MS VC and Borland C++: 22 years ago
Bruce Momjian b6b71b85bc Pgindent run for 8.0. 22 years ago
Bruce Momjian da9a8649d8 Update copyright to 2004. 22 years ago
Bruce Momjian d6e05afc3d I have noticed that the latex format in psql has some bugs: 22 years ago
Neil Conway 256d4639c9 A few cosmetic fixes and code cleanup. 22 years ago
Bruce Momjian a9fad44372 Move find_my_exec() way up into main.c so it is available to the 22 years ago
Neil Conway 6f046b9d9f Revert the change to print.c, as this breaks src/bin/scripts. The proper 22 years ago
Neil Conway 610d33c194 This patch makes some of the memory manipulation performed by psql a 22 years ago
PostgreSQL Daemon 969685ad44 $Header: -> $PostgreSQL Changes ... 22 years ago
Tom Lane 80cedf9ba0 Someone moved PageOutput here from common.c, but forgot to move all 23 years ago
Tom Lane 2f9c859ea1 Fix some copyright notices that weren't updated. Improve copyright tool 23 years ago
Bruce Momjian 089003fb46 pgindent run. 23 years ago
Bruce Momjian ad73f6b86f Update copyrights to 2003. 23 years ago
Bruce Momjian b14295cfe4 Attached is the complete diff against current CVS. 23 years ago
Bruce Momjian ef2ba42717 Attached is a patch that enhances the output of psql's HTML mode. 23 years ago
Tom Lane 9c264975d5 Fix some signed-vs-unsigned-int issues; make print_aligned_vertical 23 years ago
Peter Eisentraut cf1cf89649 Make the printing code somewhat more independent by not relying on 23 years ago
Tom Lane 16cc5372e4 Avoid malloc(0) when printing a table of no columns. On some platforms 23 years ago
Bruce Momjian b093f8825d Fix include files for new PageOutput call. 23 years ago
Bruce Momjian 641b658c26 Page \h output and centralize psql paging code in PageOutput(). 23 years ago