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

remove SIBackendInit return value

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Patches <pgsql-patches(at)postgresql(dot)org>
Subject: remove SIBackendInit return value
Date: 2007-06-25 19:02:40
Message-ID: 20070625190240.GD15627@alvh.no-ip.org (view raw or flat)
Thread:
Lists: pgsql-patches
SIBackendInit returns a flag indicating whether it worked or not.  Since
there is only one caller and it dies with a FATAL error when
SIBackendInit failed, it seems better to move the elog and remove the
return value, per this patch.

-- 
Alvaro Herrera                  http://www.amazon.com/gp/registry/5ZYLFMCVHXC
"Always assume the user will do much worse than the stupidest thing
you can imagine."                                (Julien PUYDT)

Attachment: SIBackendInit-return.patch
Description: text/x-diff (4.0 KB)

Responses

pgsql-patches by date

Next:From: Mark Cave-AylandDate: 2007-06-25 19:18:17
Subject: Re: msvc and vista fun
Previous:From: Alvaro HerreraDate: 2007-06-25 18:25:31
Subject: Re: remove unused "caller" arg from stringToQualifiedNameList

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