Re: global temporary tables
От | Robert Haas |
---|---|
Тема | Re: global temporary tables |
Дата | |
Msg-id | u2h603c8f071004241957xb93a989ct5c78ff8e0f15c47b@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: global temporary tables (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: global temporary tables
|
Список | pgsql-hackers |
On Sat, Apr 24, 2010 at 10:28 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote: > Robert Haas <robertmhaas@gmail.com> writes: >> Oh, maybe I do see. If we pass it to smgropen() and stash it in the >> SMgrRelation, we don't have to keep supplying it later on, maybe? > > Right. I'm unsure whether we should push it into the RelFileNode > struct itself, but even having it in SMgrRelation ought to cut out > a few places where it now has to be passed separately. Pushing it into the RelFileNode has some advantages in terms of being able to get at the information from everywhere, but one thing that makes me think that's probably not a good decision is that we somtimes WAL-log relfilenodes. And WAL-logging the value of the isTemp flag is a waste, because if we're WAL-logging, it's zero. ...Robert
В списке pgsql-hackers по дате отправления: