From d55050652d02d925590c6ad25a0f358165893616 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 6 Oct 2017 21:31:07 +0200 Subject: BLOB is BYTEA in Postgres --- src/auditordb/plugin_auditordb_postgres.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/auditordb/plugin_auditordb_postgres.c b/src/auditordb/plugin_auditordb_postgres.c index 5b7a048d0..b9da03212 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. -- cgit v1.2.3