Need an explanation

Поиск
Список
Период
Сортировка
От Dr. Michael Meskes
Тема Need an explanation
Дата
Msg-id 19980818161325.A2743@online-club.de
обсуждение исходный текст
Список 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 по дате отправления: