1.0.0 Update¶ ↑
Note: Formerly, postgres-message-store
.
The following changes are made by the 1.0.0.sh update script:
-
Note: There are no changes to the
messages
table, and no data migration is necessary -
The executables named
evt-pg-*
are renamed tomdb-*
-
[breaking change] The
get_category_messages
server function supports pub/sub directly by receiving acorrelation
argument and composing the correlation metadata query condition directly in the server function (docs.eventide-project.org/user-guide/message-db/server-functions.html#get-messages-from-a-category) -
[breaking change] The message_store database and its objects are contained in a Postgres schema named
message_store
-
[breaking change] The
get_category_messages
server function supports consumer groups via theconsumer_group_member
andconsumer_group_size
parameters (docs.eventide-project.org/user-guide/message-db/server-functions.html#get-messages-from-a-category) -
The retrieval server functions provide debugging output that is activated via the Postgres setting,
message_store.debug_get
(docs.eventide-project.org/user-guide/message-db/server-functions.html#debugging-output) -
The write server function provides debugging output that is activated via the Postgres setting,
message_store.debug_write
(docs.eventide-project.org/user-guide/message-db/server-functions.html#debugging-output) -
The
message_store.debug
Postgres setting activates both the retrieval and write debug output (docs.eventide-project.org/user-guide/message-db/server-functions.html#debugging-output) -
id
stream parsing function (docs.eventide-project.org/user-guide/message-db/server-functions.html#get-the-id-from-a-stream-name) -
cardinal_id
stream parsing function (docs.eventide-project.org/user-guide/message-db/server-functions.html#get-the-cardinal-id-from-a-stream-name) -
acquire_lock
function encapsulates the application of the advisory lock used by thewrite_message
function (docs.eventide-project.org/user-guide/message-db/server-functions.html#get-message-store-database-schema-version) -
Database management tool output is clarified
-
[breaking change] All server function parameter names are no longer named with underscore prefixes (docs.eventide-project.org/user-guide/message-db/server-functions.html)
-
Indexes are no longer built with the
CONCURRENTLY
option (docs.eventide-project.org/user-guide/message-db/anatomy.html#source-code) -
[breaking change] The
messages_category_global_position_idx
is removed and replaced with themessages_category
index, which now indexes correlation metadata -
[breaking change] The
messages_stream_name_position_uniq_idx
is removed and replaced with themessages_stream
index, which now indexes correlation metadata -
[breaking change] The
messages_id_uniq_idx
is removed and replaced with themessages_id
index -
Message DB RubyGem: github.com/message-db/ruby-gem
-
Message DB NPM Module: github.com/message-db/npm-module
-
Improvements to interactive tests (github.com/eventide-project/message-store-postgres/tree/master/test)