Re: psql missing feature - Mailing list pgsql-hackers

From Michal Maru¹ka
Subject Re: psql missing feature
Date
Msg-id 15021.22660.413241.243006@linux3.maruska.tin.it
Whole thread Raw
In response to psql missing feature  ("Michal Maru¹ka" <mmc@maruska.dyndns.org>)
List pgsql-hackers


Peter Eisentraut writes:

> Michal Maru¹ka writes:

> > What about (optionally) printing the type of the column data?

> >    io   |  tu   | tipo |    data
> >    int  |  int  | int2 |    date
> > --------+-------+------+------------
> >  102242 | 26404 | 1203 | 2000-11-22
> > (1 row)

> I've been meaning to implement this for a while.  Now that someone is
> seemingly interested I might prioritize it.



I have realized that the querytree is too much of information (imagine UNION queries).

So I think this feature (types of columns) is very good if accompanied with
tools to declare easily some/many clone types: eg int-> ID, int2 -> height ....  as
the type is a nice invariant.



pgsql-hackers by date:

Previous
From: ncm@zembu.com (Nathan Myers)
Date:
Subject: Re: Internationalized dates (was Internationalized error messages)
Next
From: Tom Lane
Date:
Subject: Small bug in pg_dump