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

Re: pgsql: Allow psql multi-line column values to align

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Kris Jurka <books(at)ejurka(dot)com>
Cc: pgsql-committers(at)postgresql(dot)org, kleptog(at)svana(dot)org
Subject: Re: pgsql: Allow psql multi-line column values to align
Date: 2006-02-10 16:28:34
Message-ID: 200602101628.k1AGSYn03794@candle.pha.pa.us (view raw or flat)
Thread:
Lists: pgsql-committerspgsql-patches
I think Tom fixed the final difference in pgcryto.  We should be fine now.

---------------------------------------------------------------------------

Kris Jurka wrote:
> 
> 
> On Thu, 9 Feb 2006, Bruce Momjian wrote:
> 
> > Log Message:
> > -----------
> > Allow psql multi-line column values to align in the proper columns
> >
> 
> There is a problem with this on AIX.
> 
> http://pgbuildfarm.org/cgi-bin/show_log.pl?nm=asp&dt=2006-02-10%2006:23:00
> 
> For tables that have no columns AIX thinks it has an out of memory error. 
> src/bin/psql/print.c:pg_local_calloc bails out if calloc returns NULL.  I 
> believe AIX is returning NULL for calloc with a count of zero.  Efforts 
> are made not to call pg_local_calloc with a count of zero, but one place 
> is missed, the attached patch fixes that.
> 
> Additionally there are a whole lot of of signedness warnings introduced 
> which I've attached.
> 
> Kris Jurka

Content-Description: 

[ Attachment, skipping... ]

Content-Description: 

[ Attachment, skipping... ]

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman(at)candle(dot)pha(dot)pa(dot)us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

In response to

pgsql-committers by date

Next:From: Martijn van OosterhoutDate: 2006-02-10 16:58:12
Subject: Re: [COMMITTERS] pgsql: Allow psql multi-line column values to align
Previous:From: Tom LaneDate: 2006-02-10 16:02:41
Subject: Re: [COMMITTERS] pgsql: Allow psql multi-line column values to align

pgsql-patches by date

Next:From: Simon RiggsDate: 2006-02-10 16:48:42
Subject: Re: Scrollable cursors and Sort performance
Previous:From: Jim C. NasbyDate: 2006-02-10 16:22:44
Subject: Re: Scrollable cursors and Sort performance

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