Skip to content

bluecolor/pgutil

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

  • create util schema
  CREATE SCHEMA util
  • create functions under functions

example usage:

  • create a demo table
create table util.dropme ( -- can be any name
	a text
);
  • call the drop method from util
DO $$
BEGIN
  perform util.drop_table('util.dropme');
END;
$$;
  • see the logs with:
select * from util.logs

About

postgres utility functions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published