postgresql/src
Bruce Momjian c01999a557 Allow psql multi-line column values to align in the proper columns
If the second output column value is 'a\nb', the 'b' should appear
  in the second display column, rather than the first column as it
  does now.

Change libpq's PQdsplen() to return more useful values.

> Note: this changes the PQdsplen function, it can now return zero or
> minus one which was not possible before. It doesn't appear anyone is
> actually using the functions other than psql but it is a change. The
> functions are not actually documentated anywhere so it's not like we're
> breaking a defined interface. The new semantics follow the Unicode
> standard.

BACKWARD COMPATIBLE CHANGE.

The only user-visible change I saw in the regression tests is that a
SELECT * on a table where all the columns have been dropped doesn't
return a blank line like before.  This seems like a step forward.

Martijn van Oosterhout
2006-02-10 00:39:04 +00:00
..
backend Allow psql multi-line column values to align in the proper columns 2006-02-10 00:39:04 +00:00
bin Allow psql multi-line column values to align in the proper columns 2006-02-10 00:39:04 +00:00
include Use "bitwise" rather than "binary for AND/OR descriptions in \d, to 2006-02-09 14:53:51 +00:00
interfaces C++ comments are verboten. Per gripe from Kris Jurka. 2006-02-09 07:22:22 +00:00
makefiles Remove ancient hack to work around a peculiarity of libcurses on HPUX. 2006-02-07 17:36:13 +00:00
pl Undo perl's nasty locale setting on Windows. Since we can't do that as 2006-01-28 16:20:31 +00:00
port Fix const cast in get_progname(). 2006-02-01 12:41:45 +00:00
template Update tested AIX memset platforms. 2006-02-03 13:56:20 +00:00
test Allow psql multi-line column values to align in the proper columns 2006-02-10 00:39:04 +00:00
timezone Allow installation into directories containing spaces in the name. 2005-12-09 21:19:36 +00:00
tools Move thread_test directory from /tools to /test so source-only tarballs 2006-02-04 01:00:02 +00:00
tutorial Cosmetic code cleanup: fix a bunch of places that used "return (expr);" 2006-01-11 08:43:13 +00:00
utils Allow installation into directories containing spaces in the name. 2005-12-09 21:19:36 +00:00
bcc32.mak Add -N make flag to bcc builds from /src dir. 2005-05-13 18:12:35 +00:00
DEVELOPERS
Makefile Update Makefile for new thread_test location. 2006-02-04 01:04:20 +00:00
Makefile.global.in Fix problems with PGXS builds against an installation tree that was 2005-09-27 17:39:35 +00:00
Makefile.shlib Remove BEOS port. 2006-01-05 03:01:38 +00:00
nls-global.mk Allow installation into directories containing spaces in the name. 2005-12-09 21:19:36 +00:00
win32.mak Attached is a makefile I hacked up to build pg_config under MSVC - the 2005-06-14 17:50:38 +00:00