How to enable Postgres debugging

 It's very simple. Just install the plugin with the following sentence:

sudo apt install postgresql-12-pldebugger

Next, edit /etc/postgresql/12/main/postgresql.conf and enable the plugin adding the following line:

shared_preload_libraries = 'plugin_debugger'

Now, you need to restart the postgres service

sudo service postgres restart

If you run PGAdmin4, now you can see the extension enabled







Enjoy it!

Comments

Popular posts from this blog

Exception: Could not find a default OpenFlow controller in Mininet

How to fix Android when developer options are not available for this user

Webcam streaming throught VLC with YUY2 compatibility