Skip to content

Instantly share code, notes, and snippets.

View matlads's full-sized avatar

Martin Atukunda matlads

View GitHub Profile
@matlads
matlads / pg_col_resize.sh
Last active December 17, 2015 14:39 — forked from mcnemesis/pg_col_resize.sh
Check for proper number of command line args.
#!/usr/bin/sh
if [ $# -ne 5 ]
then
echo "Usage: "$0" DBUSER DB TABLE COL NEWSIZE"
else
USER=$1
DB=$2
TABLE=$3
COL=$4
SIZE=$5