aboutsummaryrefslogtreecommitdiff
path: root/src/exchangedb/exchange_do_create_tables.sql
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2024-07-23 14:14:42 +0200
committerChristian Grothoff <christian@grothoff.org>2024-07-29 12:18:47 +0200
commitbb0e94d45a6ea807963e35ecdb5894758a7da8cf (patch)
tree7f03e7f59f758b3732ce4677e53b3e13696b09b0 /src/exchangedb/exchange_do_create_tables.sql
parentefb46af3eeacdd965097fddfdd7a9fb3dad62603 (diff)
-fixing minor bugs
Diffstat (limited to 'src/exchangedb/exchange_do_create_tables.sql')
-rw-r--r--src/exchangedb/exchange_do_create_tables.sql4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/exchangedb/exchange_do_create_tables.sql b/src/exchangedb/exchange_do_create_tables.sql
index 58d28ca14..2a007be6b 100644
--- a/src/exchangedb/exchange_do_create_tables.sql
+++ b/src/exchangedb/exchange_do_create_tables.sql
@@ -19,7 +19,7 @@
---------------------------------------------------------------------------
-CREATE OR REPLACE FUNCTION do_create_tables(
+CREATE OR REPLACE FUNCTION exchange_do_create_tables(
num_partitions INTEGER
-- NULL: no partitions, add foreign constraints
-- 0: no partitions, no foreign constraints
@@ -188,5 +188,5 @@ BEGIN
END LOOP; -- create/alter/drop actions
END $$;
-COMMENT ON FUNCTION do_create_tables
+COMMENT ON FUNCTION exchange_do_create_tables
IS 'Creates all tables for the given number of partitions that need creating. Does NOT support sharding.';