prepare sharding / partitioning init

- create exchange-0001.sql with functions to create all tables and partitions / shards
- create exchange-0002.sql for the master db
This commit is contained in:
Marco Boss 2022-03-01 12:11:58 +01:00
parent e24a6369aa
commit afb1b5f902
No known key found for this signature in database
GPG Key ID: 89A3EC33C625C3DF
4 changed files with 2600 additions and 1783 deletions

View File

@ -19,6 +19,7 @@ sql_DATA = \
benchmark-0001.sql \ benchmark-0001.sql \
exchange-0000.sql \ exchange-0000.sql \
exchange-0001.sql \ exchange-0001.sql \
exchange-0002.sql \
drop0001.sql drop0001.sql
EXTRA_DIST = \ EXTRA_DIST = \

View File

@ -72,4 +72,7 @@ DROP FUNCTION IF EXISTS exchange_do_recoup_to_reserve;
-- FIXME: drop other stored functions! -- FIXME: drop other stored functions!
-- And we're out of here... -- And we're out of here...
SELECT _v.unregister_patch('exchange-0002');
COMMIT; COMMIT;

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff