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.