Re: Formatting psql output - Mailing list pgsql-general

From Bruno Wolff III
Subject Re: Formatting psql output
Date
Msg-id 20021106180140.GA14903@wolff.to
Whole thread Raw
In response to Formatting psql output  (markMLl.pgsql-general@telemetry.co.uk)
List pgsql-general
On Wed, Nov 06, 2002 at 10:47:59 +0000,
  markMLl.pgsql-general@telemetry.co.uk wrote:
> I'm sure I'm missing something obvious here, but how can I tell either
> the server or psql to limit the number of digits presented in a set of
> results? Is there a facility somewhere for applying something like a
> printf format string?

The to_char function can do this.

pgsql-general by date:

Previous
From: "Charles H. Woloszynski"
Date:
Subject: Re: Synchronising/mirroring databases
Next
From: Bruno Wolff III
Date:
Subject: Re: How to cast as numeric