Re: Planner debug views
От | Tom Lane |
---|---|
Тема | Re: Planner debug views |
Дата | |
Msg-id | 27070.1438113711@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Re: Planner debug views (Alvaro Herrera <alvherre@2ndquadrant.com>) |
Список | pgsql-hackers |
Alvaro Herrera <alvherre@2ndquadrant.com> writes: > Qingqing Zhou wrote: >> The file name is not random, it is fixed so we can create foreign table >> once and use it afterwards - I actually want to push them into >> system_views.sql. > Got that. That seems fragile and not very convenient; I don't think > forcing retries until no concurrent writers were using the same file is > convenient at all. When you need this facility the most, which is > during slow planner runs, it is more likely that somebody else will > overwrite your file. FWIW, I would be very much against anything that requires going through the filesystem for this. That will create security/privilege issues that we should not want to introduce, quite aside from the usability problems Alvaro points out. regards, tom lane
В списке pgsql-hackers по дате отправления: