Re: Yikes! Bitten by line length?

From: Ken Corey <ken(at)kencorey(dot)com>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "pgsql-novice(at)postgresql(dot)org" <pgsql-novice(at)postgresql(dot)org>
Subject: Re: Yikes! Bitten by line length?
Date: 2001-01-18 23:56:47
Message-ID: 3A6782BF.14D4C691@kencorey.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Peter Eisentraut wrote:
>
> Tom Lane writes:
>
> > Perhaps we should reduce psql's fgets() buffers to 256 bytes or less to
> > avoid this problem?
>
> Sure.
>
> Or maybe fscanf("%s") works?
>
> --
> Peter Eisentraut peter_e(at)gmx(dot)net http://yi.org/peter-e/

Ian Taylor pointed out that it was my terminal driver limiting things to
255 chars...not the OS. In that context, I gotta think that fscanf()
would be affected as well.

-Ken

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Oliver Elphick 2001-01-19 00:02:41 Re: [NOVICE] Re: Interval output format
Previous Message Peter Eisentraut 2001-01-18 23:50:57 Re: Yikes! Bitten by line length?