aboutsummaryrefslogtreecommitdiff
path: root/src/exchangedb/0002-history_requests.sql
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-11-27 18:40:44 +0100
committerChristian Grothoff <christian@grothoff.org>2022-11-27 18:40:44 +0100
commitf2ba02aab2b9bbd976107ecc4ac7e7d657a9d73a (patch)
tree2b573c5ec895fbca1663a9e0efa6102890f68bbc /src/exchangedb/0002-history_requests.sql
parentbbf3e6fe03f1f9f8c7d342004f65bab9f7b1b91c (diff)
downloadexchange-f2ba02aab2b9bbd976107ecc4ac7e7d657a9d73a.tar.xz
more sql refactoring
Diffstat (limited to 'src/exchangedb/0002-history_requests.sql')
-rw-r--r--src/exchangedb/0002-history_requests.sql4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/exchangedb/0002-history_requests.sql b/src/exchangedb/0002-history_requests.sql
index 978dea640..a8dbeb6a7 100644
--- a/src/exchangedb/0002-history_requests.sql
+++ b/src/exchangedb/0002-history_requests.sql
@@ -15,7 +15,7 @@
--
-CREATE OR create_table_history_requests(
+CREATE FUNCTION create_table_history_requests(
IN shard_suffix VARCHAR DEFAULT NULL
)
RETURNS VOID
@@ -64,7 +64,7 @@ BEGIN
END $$;
-CREATE OR foreign_table_history_requests()
+CREATE FUNCTION foreign_table_history_requests()
RETURNS VOID
LANGUAGE plpgsql
AS $$