Switch from flat files to PostgreSQL.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Tue, 23 Jun 2015 23:46:54 +0000 (01:46 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Tue, 23 Jun 2015 23:46:54 +0000 (01:46 +0200)
commit65d6dd1d5f4d8bf2ddd868339d22d40821b8983c
tree539deb25b6dc17b420fdd57cd12335ff30e27709
parentbe3ec2db9cd21b41c131b9ecccc3e00dd0c57320
Switch from flat files to PostgreSQL.

The flat files don't work all that well when you have multiple clients
working on them at the same time. I'm not super-happy about requiring
a server to be up all the time (it would seem to reduce resilience
by quite a lot), but Postgres is a pretty stable thing, so hopefully
we will manage.

Include a script to ingest old data into the database, which we will
remove immediately afterwards.
config.pm
ingest.pl [new file with mode: 0755]
remoteglot.pl
remoteglot.sql [new file with mode: 0644]