Skip to content

Instantly share code, notes, and snippets.

View jahrmando's full-sized avatar
🏠
Working from home

Arm.do jahrmando

🏠
Working from home
View GitHub Profile
@jahrmando
jahrmando / change_db_owner.sh
Last active September 6, 2024 20:37 — forked from gingerlime/change_db_owner.sh
Postgresql - Changing ownership on all tables, funtions and views
#!/bin/bash
usage()
{
cat << EOF
usage: $0 options
This script set ownership for all table, sequence and views for a given database and schema.
NOTES: