I hereby claim:
- I am eirsyl on github.
- I am eirsyl (https://keybase.io/eirsyl) on keybase.
- I have a public key whose fingerprint is FF83 EAC2 B89D 8193 94B8 F36F 826D 41C9 C567 94A7
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
{% block extrahead %} | |
{% if not user.logged_in %} | |
<meta http-equiv="REFRESH" content="0;url={% url 'nerd.app.frontpage.views.index' %}"> | |
{%endif %} | |
{% endblock %} |
su postgres | |
pg_dump dbname > outfile | |
psql dbname < infile | |
# Chango owner onn all tables | |
for tbl in `psql -qAt -c "select tablename from pg_tables where schemaname = 'public';" "dbname"` ; do psql -c "alter table $tbl owner to ownername" "dbname" ; done |