Need an explanation - Mailing list pgsql-hackers

From Dr. Michael Meskes
Subject Need an explanation
Date
Msg-id 19980818161325.A2743@online-club.de
Whole thread Raw
List pgsql-hackers
Is there any reason why the sqlca array is defined in every source file?
That way adding initialization code breaks the whole procedure as the
initialized sqlca counts as a double definition.

However, that's exactly how Oracle does things. I think it's a better idea
to include the variable definition in the library itself instead of the
source files and just include the extern definition in the sources.

Comments?

Michael
--
Michael Meskes            meskes@online-club.de, meskes@debian.org
Go SF49ers! Go Rhein Fire!    Use Debian GNU/Linux!

pgsql-hackers by date:

Previous
From: "Dr. Michael Meskes"
Date:
Subject: struct index
Next
From: jwieck@debis.com (Jan Wieck)
Date:
Subject: Re: [HACKERS] initb won't work