Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: projectbismark/dashboard-db
base: master
...
head fork: dtaht/dashboard-db
compare: master
Checking mergeability… Don’t worry, you can still create the pull request.
  • 2 commits
  • 2 files changed
  • 0 commit comments
  • 1 contributor
Commits on Oct 22, 2012
Dave Täht Updated setup for postgres 9.1 support f9c1c45
Commits on Apr 09, 2014
Dave Täht Fix init to install pgcrypto 6d4aa9c
Showing with 5 additions and 6 deletions.
  1. +1 −1  schema/init.sql
  2. +4 −5 schema/setup.sh
View
2  schema/init.sql
@@ -1,3 +1,3 @@
drop schema public cascade;
create schema public;
-
+create extension pgcrypto;
View
9 schema/setup.sh
@@ -7,9 +7,8 @@ DB="--dbname $1"
fi
#PVER=`psql --version | head -1 | awk '{print $3;}' | cut -f1-2 -d.`
-PVER=8.4
-CONTRIBDIR=/usr/share/postgresql/$PVER/contrib
-
+PVER=9.1
+CONTRIBDIR=/usr/share/postgresql/$PVER/extension
# fixme, you need perms to create databases
# You need:
# pgplang
@@ -19,8 +18,8 @@ CONTRIBDIR=/usr/share/postgresql/$PVER/contrib
# postgis (for geoip)
psql $DB -f init.sql
createlang plpgsql $DB
-psql $DB -f $CONTRIBDIR/pgcrypto.sql
-psql $DB -f $CONTRIBDIR/pg_buffercache.sql
+#psql $DB -f $CONTRIBDIR/pgcrypto--1.0.sql
+#psql $DB -f $CONTRIBDIR/pg_buffercache--1.0.sql
# FIXME Use bytea for ids as sha1 hashes to make the db replicatable
# FIXME Why use ids at all? DJANGO requires them until after GSOC 2011

No commit comments for this range

Something went wrong with that request. Please try again.