postgresql - Log all PostgreSQL queries to a table, not a file
问题描述
Through this question:
How to log PostgreSQL queries?
I know I can log PostgeSQL queries to a file, but what if I want to log those queries to a table rather than a file? I know that this is doable in Redshift and MySQL, but how do I achieve the same on PostgreSQL?
解决方案
推荐阅读
- android - Android - TabLayout 内的按钮
- c++ - 如何使用 c++ WinRT 异步检测网络更改事件
- python - 在python中如何检查类中的对象类型以进行类比较
- azure-virtual-machine - 如何自动更新 Azure 虚拟机上的 Chrome 或 Edge 等软件?
- c - 在阅读了一些输入后抓住 Ctrl+D
- excel - 排除数据透视表中选择的数据
- android - 如何在 android 的 RecyclerView 中从 radiogroup 中选择一个单选按钮?
- android - React-native-ble-plx 无法使用低于 9 的 Android 版本读取
- jupyter-notebook - 使用 Sagemaker notebook 与 Glue (Sagemaker) notebook 的区别
- c++ - 如何将分布函数作为函数的参数传递?