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

Re: [PATCH] Formatting patch for psql

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-patches(at)postgresql(dot)org, Martijn van Oosterhout <kleptog(at)svana(dot)org>
Subject: Re: [PATCH] Formatting patch for psql
Date: 2005-11-24 14:45:12
Message-ID: 200511241545.13303.peter_e@gmx.net (view raw or flat)
Thread:
Lists: pgsql-patches
Martijn van Oosterhout wrote:
> Here is my patch to make psql handle multi-line output sanely.
> Instead of embedded newlines splattering your output across the
> screen, everything gets indented to the right column.

Shouldn't you use PQmblen() to determine whether an encoding is 
single-byte, rather than having an enumerated list?

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/

In response to

Responses

pgsql-patches by date

Next:From: Tom LaneDate: 2005-11-24 14:55:24
Subject: Re: Space management for PGresult
Previous:From: Atsushi OgawaDate: 2005-11-24 12:48:21
Subject: Re: Space management for PGresult

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