Re: Patch to implement pg_current_logfile() function
| От | Gilles Darold |
|---|---|
| Тема | Re: Patch to implement pg_current_logfile() function |
| Дата | |
| Msg-id | 87e8b68c-f9b5-8327-6c42-12761fa0a1cb@dalibo.com обсуждение исходный текст |
| Ответ на | Re: Patch to implement pg_current_logfile() function (Robert Haas <robertmhaas@gmail.com>) |
| Список | pgsql-hackers |
Le 09/11/2016 à 02:51, Robert Haas a écrit : > On Thu, Nov 3, 2016 at 7:34 PM, Karl O. Pinc <kop@meme.com> wrote: >> To me, the CURRENT_LOG_FILENAME symbol should contain the name >> of the current log file. It does not. The CURRENT_LOG_FILENAME symbol >> holds the name of the file which itself contains the name of >> the log file(s) being written, plus the log file >> structure of each log file. > I agree that this is confusing. > >> IMO, the name of the log files being written, as well as >> the type of data structure written into each log file, >> are meta-information about the logging data. So maybe >> the right name is LOG_METAINFO_DATAFILE. > +1 for something like this. > Ok, it will be changed it in next patch. -- Gilles Darold Consultant PostgreSQL http://dalibo.com - http://dalibo.org
В списке pgsql-hackers по дате отправления: