Heikki Linnakangas píše v čt 23. 04. 2009 v 10:22 +0300:
> Zdenek Kotala wrote:
> Comment and test case fixed.
> I considered changing varstr_cmp to really
> return -1, 0 or 1, but I didn't because the behavior has been unchanged
> for ages and all the callers are happy with it. That's a heavily called
> function so any extra cycles there could make a difference.
I think keep it as it is good decision. strcmp() also does not guarantee
-1, 0, 1.
In response to
pgsql-hackers by date
|Next:||From: Jasen Betts||Date: 2009-04-23 10:38:21|
|Subject: Re: Workaround for bug #4608?|
|Previous:||From: Heikki Linnakangas||Date: 2009-04-23 07:49:13|
|Subject: Re: New trigger option of pg_standby|