Re: [PATCH] Better logging of COPY queries if log_statement='all'
От
Aleksander Alekseev
Тема
Re: [PATCH] Better logging of COPY queries if
log_statement='all'
Дата
Msg-id
20161017151343.GA7111@e733.localdomain
Ответ на
Список
Дерево обсуждения
[PATCH] Better logging of COPY queries if log_statement='all' Aleksander Alekseev <a.alekseev@postgrespro.ru>
Re: [PATCH] Better logging of COPY queries if
log_statement='all' Andrew Dunstan <andrew@dunslane.net>
Re: [PATCH] Better logging of COPY queries if log_statement='all' Tom Lane <tgl@sss.pgh.pa.us>
Re: [PATCH] Better logging of COPY queries if
log_statement='all' Aleksander Alekseev <a.alekseev@postgrespro.ru>
Re: [PATCH] Better logging of COPY queries if
log_statement='all' Stephen Frost <sfrost@snowman.net>
Re: [PATCH] Better logging of COPY queries if
log_statement='all' Aleksander Alekseev <a.alekseev@postgrespro.ru>
File content logging during execution of COPY queries (was: Better
logging of COPY queries if log_statement='all') Aleksander Alekseev <a.alekseev@postgrespro.ru>
Re: File content logging during execution of COPY queries (was:
Better logging of COPY queries if log_statement='all') Stephen Frost <sfrost@snowman.net>
Re: File content logging during execution of COPY queries Grigory Smolkin <g.smolkin@postgrespro.ru>
Re: File content logging during execution of COPY queries Stephen Frost <sfrost@snowman.net>
Re: [PATCH] Better logging of COPY queries if log_statement='all' Haribabu Kommi <kommi.haribabu@gmail.com>
Re: [PATCH] Better logging of COPY queries if log_statement='all' Haribabu Kommi <kommi.haribabu@gmail.com>
Re: [PATCH] Better logging of COPY queries if
log_statement='all' "Daniel Verite" <daniel@manitou-mail.org>
> > I'm not in favor of this, especially if it's not even optional. > > I'm not either. It sounds good when you're looking at toy examples, > but not when it means repeating gigabytes of COPY data into the log. I understand your concern. Perhaps we could create and additional parameter for enabling/disabling this feature or a new log_statement value, or maybe both - i.e. rename log_statement and add a new possible value? According to my colleagues it would be very nice to have this feature. For instance, if you are trying to optimize PostgreSQL for application that uses COPY and you don't have access to or something like this. It could also be useful in some other cases. This feature is very simple and easy to maintain. I'm sure we could find a solution that will make happy both developers and users. -- Best regards, Aleksander Alekseev
В списке pgsql-hackers по дате отправления
От: Heikki Linnakangas
Дата:
От: Stephen Frost
Дата: