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

Re: [HACKERS] Open 6.4 items

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: tih(at)nhh(dot)no (Tom Ivar Helbekkmo)
Cc: hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] Open 6.4 items
Date: 1998-10-12 01:31:06
Message-ID: 199810120131.VAA28955@candle.pha.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackers
Applied

> I wrote:
> 
> > As far as I can tell, the only actual error in Paul Vixie's code is
> > that the two lines you quote above should be:
> > 
> > 			else if (--size > 0)
> > 				*++dst = 0, dirty = 0;
> 
> 
> That is, the patch to apply to fix the INET type is:
> 
> Index: inet_net_pton.c
> ===================================================================
> RCS file: /usr/local/cvsroot/pgsql/src/backend/utils/adt/inet_net_pton.c,v
> retrieving revision 1.2
> diff -r1.2 inet_net_pton.c
> 120c120
> < 			else if (size-- > 0)
> ---
> > 			else if (--size > 0)
> 
> -tih
> -- 
> Popularity is the hallmark of mediocrity.  --Niles Crane, "Frasier"
> 
> 


-- 
  Bruce Momjian                        |  http://www.op.net/~candle
  maillist(at)candle(dot)pha(dot)pa(dot)us            |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026


In response to

Responses

pgsql-hackers by date

Next:From: Bruce MomjianDate: 1998-10-12 02:06:20
Subject: Re: [HACKERS] Bug and Patch for dump/restore of varchars
Previous:From: Billy G. AllieDate: 1998-10-12 01:28:15
Subject: Re: [HACKERS] Problem dumping PL/pgsql functions.

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