Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 369 Bytes

README.md

File metadata and controls

33 lines (24 loc) · 369 Bytes
  • 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