Thiemo Kellner, NHC Barhufpflege wrote:
I would like to log from within pgsql into table and/or to command line, something like https://sourceforge.net/projects/plnsqllogger/ . Does anybody know of an open source solution available?
I like "18.8.4. Using CSV-Format Log Output", although it does not log directly to a data base table. Rather, it produces comma-separated-value text files that you can easily copy into a data base table for analysis or other purposes.
See the manual at http://www.postgresql.org/docs/9.5/static/runtime-config-logging.html -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general