Re: Clog handling on exec'ed backend
От | Tom Lane |
---|---|
Тема | Re: Clog handling on exec'ed backend |
Дата | |
Msg-id | 11399.1051927439@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Clog handling on exec'ed backend (Bruce Momjian <pgman@candle.pha.pa.us>) |
Ответы |
Re: Clog handling on exec'ed backend
|
Список | pgsql-patches |
Bruce Momjian <pgman@candle.pha.pa.us> writes: > It basically makes one of the Clog data structures into a shared memory > area when using exec (EXEC_BACKEND is defined). It passes all the > regression/initdb tests on Unix. It would be cleaner to make the array of LWLockIds part of ClogCtlData, if you're going to do it that way. I have doubts that pushing all LWLockIds into shared memory is a feasible solution, however. Out of curiosity: have you actually tested any of this Windows code you're proposing to commit? A lot of it looks to me like it's not gonna work --- stuff is getting done too soon or too late. For example, I don't see how a backend is going to read GUC variables when it doesn't yet know where the data directory is. regards, tom lane
В списке pgsql-patches по дате отправления: