Re: protocol change in 7.4
Haris Peco <snpe@snpe.co.yu>
From: snpe <snpe@snpe.co.yu>
To: Hannu Krosing <hannu@tm.ee>
Cc: PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2002-11-08T11:25:07Z
Lists: pgsql-hackers
On Friday 08 November 2002 09:29 am, Hannu Krosing wrote: > snpe kirjutas R, 08.11.2002 kell 03:49: > > > PQfsize() is entertaining, but not often what you really want (you > > > really want the width of the widest value in the column after > > > conversion to some string format - it seems reasonable to let the > > > client applicatin worry about that, although maybe that would be a > > > useful client-side libpq function). > > > > I want this in any catalog view > > But this will make such a view terribly slow, as ith has to do > max(length(field)) over the whole table for any field displayed > Why not with this functions ?