summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-10-06 21:31:07 +0200
committerChristian Grothoff <christian@grothoff.org>2017-10-06 21:31:07 +0200
commitd55050652d02d925590c6ad25a0f358165893616 (patch)
tree73836905dd9e13429e25d5e3e66c24b14bbc3c54 /src
parentdc883f8556f34b324dd7677ab21c3d2840fd38a9 (diff)
downloadexchange-d55050652d02d925590c6ad25a0f358165893616.tar.gz
exchange-d55050652d02d925590c6ad25a0f358165893616.tar.bz2
exchange-d55050652d02d925590c6ad25a0f358165893616.zip
BLOB is BYTEA in Postgres
Diffstat (limited to 'src')
-rw-r--r--src/auditordb/plugin_auditordb_postgres.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/auditordb/plugin_auditordb_postgres.c b/src/auditordb/plugin_auditordb_postgres.c
index 5b7a048d..b9da0321 100644
--- a/src/auditordb/plugin_auditordb_postgres.c
+++ b/src/auditordb/plugin_auditordb_postgres.c
@@ -232,8 +232,8 @@ postgres_create_tables (void *cls)
"(master_pub BYTEA PRIMARY KEY CHECK (LENGTH(master_pub)=32)"
",last_wire_reserve_in_serial_id INT8 NOT NULL DEFAULT 0"
",last_wire_reserve_out_serial_id INT8 NOT NULL DEFAULT 0"
- ",wire_in_off BLOB"
- ",wire_out_off BLOB"
+ ",wire_in_off BYTEA"
+ ",wire_out_off BYTEA"
")"),
/* Table with all of the customer reserves and their respective
balances that the auditor is aware of.