[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r38148 - gnunet/src/psycstore
From: |
gnunet |
Subject: |
[GNUnet-SVN] r38148 - gnunet/src/psycstore |
Date: |
Thu, 13 Oct 2016 01:12:56 +0200 |
Author: daniel
Date: 2016-10-13 01:12:56 +0200 (Thu, 13 Oct 2016)
New Revision: 38148
Modified:
gnunet/src/psycstore/plugin_psycstore_postgres.c
Log:
psycstore: postgres: remove size modifier from BYTEA fields
ERROR: type modifier is not allowed for type "bytea"
Modified: gnunet/src/psycstore/plugin_psycstore_postgres.c
===================================================================
--- gnunet/src/psycstore/plugin_psycstore_postgres.c 2016-10-12 22:07:34 UTC
(rev 38147)
+++ gnunet/src/psycstore/plugin_psycstore_postgres.c 2016-10-12 23:12:56 UTC
(rev 38148)
@@ -100,7 +100,7 @@
GNUNET_POSTGRES_exec(plugin->dbh,
"CREATE TABLE IF NOT EXISTS channels (\n"
" id SERIAL,\n"
- " pub_key BYTEA(32),\n"
+ " pub_key BYTEA,\n"
" max_state_message_id BIGINT,\n"
" state_hash_message_id BIGINT,\n"
" PRIMARY KEY(id)\n"
@@ -121,7 +121,7 @@
GNUNET_POSTGRES_exec(plugin->dbh,
"CREATE TABLE IF NOT EXISTS slaves (\n"
" id SERIAL,\n"
- " pub_key BYTEA(32),\n"
+ " pub_key BYTEA,\n"
" PRIMARY KEY(id)\n"
")" "WITH OIDS")) ||
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r38148 - gnunet/src/psycstore,
gnunet <=