Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pg_bofh

pg_bofh is a simple extension providing a planner hook example on how to analyze incoming queries to forbid some of them.

How to use

Compile and install it:

make && sudo make install

Add it to the shared_preload_libraries parameter in postgresql.conf, and restart your server:

shared_preload_libraries='pg_bofh'

From now on, any query with no "WHERE" clause will raise an error instead of being executed.

About

No description, website, or topics provided.

Resources

Stars

5 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages