Hiroshi Inoue <[EMAIL PROTECTED]> writes: > Do we have a conclusion about this thread ? > If no,how about changing heap_open(r) so that they allocate > Relation descriptors after acquiring a lock on the table ? > We would use LockRelation() no longer. That won't do by itself, because that will open us up to failures when a relcache invalidation arrives mid-transaction and we don't happen to have the relation open at the time. We could still have parse/plan results that depend on the old relation definition. Really we need to fix things so that a lock is held from first use to end of transaction, independently of heap_open/heap_close. regards, tom lane
- [HACKERS] Mailing list archives available... Krzysztof Kowalczyk
- Re: [HACKERS] Mailing list archives avail... The Hermit Hacker
- Re: [HACKERS] Mailing list archives avail... Vince Vielhaber
- Re: [HACKERS] Mailing list archives avail... The Hermit Hacker
- Re: [HACKERS] Mailing list archives avail... Vince Vielhaber
- Re: [HACKERS] relation ### modified while... Hiroshi Inoue
- Re: [HACKERS] relation ### modified while... Vadim Mikheev
- Re: [HACKERS] relation ### modified while... Hiroshi Inoue
- Re: [HACKERS] relation ### modified while... Tom Lane
- Re: [HACKERS] relation ### modified while in use Hiroshi Inoue
- RE: [HACKERS] relation ### modified while in use Tom Lane
- RE: [HACKERS] relation ### modified while in ... Hiroshi Inoue
- Re: [HACKERS] relation ### modified while... Tom Lane
- RE: [HACKERS] relation ### modified while... Hiroshi Inoue
- ResetSystemCaches(was Re: [HACKERS] relat... Hiroshi Inoue
- Re: ResetSystemCaches(was Re: [HACKERS] r... Tom Lane
- Re: ResetSystemCaches(was Re: [HACKERS] r... Hiroshi Inoue
- [HACKERS] Recursive use of syscaches (was... Tom Lane
- Re: [HACKERS] Recursive use of syscaches ... Bruce Momjian
- [HACKERS] Re: Recursive use of syscaches ... Tom Lane
- [HACKERS] Re: Recursive use of syscaches ... Hiroshi Inoue