Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-novice by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group