Re: [HACKERS] Patch to implement pg_current_logfile() function
От | Michael Paquier |
---|---|
Тема | Re: [HACKERS] Patch to implement pg_current_logfile() function |
Дата | |
Msg-id | CAB7nPqTGe9xtXhTJj5487e0qXdr5Q0yhVL34xYVzbmhOU+dDtw@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: [HACKERS] Patch to implement pg_current_logfile() function (Robert Haas <robertmhaas@gmail.com>) |
Ответы |
Re: [HACKERS] Patch to implement pg_current_logfile() function
Re: [HACKERS] Patch to implement pg_current_logfile() function |
Список | pgsql-hackers |
On Fri, Mar 3, 2017 at 3:18 PM, Robert Haas <robertmhaas@gmail.com> wrote: > Hopefully I haven't broken anything; please let me know if you > encounter any issues. Reading what has just been committed... + /* + * No space found, file content is corrupted. Return NULL to the + * caller and inform him on the situation. + */ + elog(ERROR, + "missing space character in \"%s\"", LOG_METAINFO_DATAFILE); + break; There is no need to issue a break after a elog(ERROR). + * No newlinei found, file content is corrupted. Return NULL to s/newlinei/newline/ -- Michael
В списке pgsql-hackers по дате отправления: