Re: protocol change in 7.4

From: snpe <snpe(at)snpe(dot)co(dot)yu>
To: Hannu Krosing <hannu(at)tm(dot)ee>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: protocol change in 7.4
Date: 2002-11-08 11:25:07
Message-ID: 200211081125.07690.snpe@snpe.co.yu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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 ?

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Laurentiu Drob 2002-11-08 11:56:17 Re: Database design software
Previous Message Shridhar Daithankar 2002-11-08 11:24:53 Re: command