Re: get_whatever_oid, part 1: object types with unqualifed names
От
Tom Lane
Тема
Re: get_whatever_oid, part 1: object types with unqualifed names
Дата
Msg-id
27483.1277736804@sss.pgh.pa.us
Ответ на
Список
Дерево обсуждения
get_whatever_oid, part 1: object types with unqualifed names Robert Haas <robertmhaas@gmail.com>
Re: get_whatever_oid, part 1: object types with unqualifed
names KaiGai Kohei <kaigai@ak.jp.nec.com>
Re: get_whatever_oid, part 1: object types with unqualifed
names Robert Haas <robertmhaas@gmail.com>
Re: get_whatever_oid, part 1: object types with unqualifed names Tom Lane <tgl@sss.pgh.pa.us>
Re: get_whatever_oid, part 1: object types with unqualifed
names Robert Haas <robertmhaas@gmail.com>
Re: get_whatever_oid, part 1: object types with unqualifed names Tom Lane <tgl@sss.pgh.pa.us>
Re: get_whatever_oid, part 1: object types with unqualifed
names Robert Haas <robertmhaas@gmail.com>
Re: get_whatever_oid, part 1: object types with unqualifed names Tom Lane <tgl@sss.pgh.pa.us>
Re: get_whatever_oid, part 1: object types with unqualifed
names Robert Haas <robertmhaas@gmail.com>
Re: get_whatever_oid, part 1: object types with unqualifed names Tom Lane <tgl@sss.pgh.pa.us>
Re: get_whatever_oid, part 1: object types with unqualifed
names Robert Haas <robertmhaas@gmail.com>
Re: get_whatever_oid, part 1: object types with unqualifed names Tom Lane <tgl@sss.pgh.pa.us>
Re: get_whatever_oid, part 1: object types with unqualifed
names Robert Haas <robertmhaas@gmail.com>
Re: get_whatever_oid, part 1: object types with unqualifed
names KaiGai Kohei <kaigai@ak.jp.nec.com>
Re: get_whatever_oid, part 1: object types with unqualifed
names Robert Haas <robertmhaas@gmail.com>
Re: get_whatever_oid, part 1: object types with unqualifed
names KaiGai Kohei <kaigai@ak.jp.nec.com>
Re: get_whatever_oid, part 1: object types with unqualifed
names Robert Haas <robertmhaas@gmail.com>
Re: get_whatever_oid, part 1: object types with unqualifed
names Robert Haas <robertmhaas@gmail.com>
Robert Haas writes: > 2010/6/28 KaiGai Kohei : >> * at the RenameSchema() > This looks like another syscache reference leak. Actually that one *is* a leak, although it doesn't matter much because the leak occurs only in an error path, so transaction abort will clean up the leaked reference. Still, it's sucky coding style: SearchSysCacheExists should have been used. I'm not sure I agree that replacing SearchSysCacheExists calls (or things that should have been SearchSysCacheExists calls) with OidIsValid(get_whatever_oid()) is an improvement. The Exists call tells what you're actually trying to accomplish. The other way is an overspecification of the required result. regards, tom lane
В списке pgsql-hackers по дате отправления
От: Tom Lane
Дата:
От: Mike Berrow
Дата: