PostgreSQL: mark current session as "unimportant"
Is there a way to mark the LISTEN-statement or this session as "unimportant"? 


Unimportant to you?  Perhaps. 

Unimportant to Postgres?  No. 

Every connection is as "important" as every other. 

If you want to kill off an active connection, look to the pg_cancel_backend function.