message-db

Microservice native message and event store for Postgres

MIT License

Downloads
1.3K
Stars
1.6K
Committers
11

Bot releases are visible (Hide)

message-db - v1.3.0 Latest Release

Published by sbellware about 2 years ago

Wed Oct 12 2022

This version requires the use of an update script for existing installations. For instructions, see:

https://github.com/message-db/message-db/blob/master/database/update/1.3.0.md

message-db - v1.2.6

Published by sbellware over 3 years ago

Sat Mar 13 2021

  • The uninstall.sh script quotes the database name when dropping it, allowing database names that contain dashes
message-db - v1.2.5

Published by sbellware over 3 years ago

Fri Mar 12 2021

  • The print-messages.sh script sorts messages explicitly by global_position
message-db - v1.2.4

Published by sbellware over 3 years ago

Sun Mar 7 2021

  • The messages tables columns are ordered for more efficient physical storage allocation.

This version should not be considered an update to an existing database. It requires a new installation of the database, and therefore its advantages will only apply to new databases.

message-db - v1.2.3

Published by sbellware over 4 years ago

Fri May 15 2020

  • The md5 function is no longer granted privileges for the message_store user as the function is built-in and the grant is superfluous
message-db - v1.2.2

Published by sbellware over 4 years ago

Mon May 4 2020

This version requires the use of an update script for existing installations. For instructions, see:

https://github.com/message-db/message-db/blob/master/database/update/1.2.2.md

  • The get_category_messages server function will return the entire, unlimited extent of messages in a category if -1 is sent as the batch_size argument
  • The get_stream_messages server function will return the entire, unlimited extent of messages in a stream if -1 is sent as the batch_size argument
message-db - v1.2.1

Published by sbellware over 4 years ago

Thu Apr 30 2020

  • The DROP OWNED BY message_store statement is removed from the uninstall script. The use of DROP OWNED BY is prohibited on AWS RDS. And ultimately, it's superfluous because no database objects are owned by the message_store role.
message-db - v1.2.0

Published by sbellware over 4 years ago

Mon Apr 27 2020

  • Install script will not create the database when the CREATE_DATABASE environment variable is set to "off"
message-db - v1.1.6

Published by sbellware almost 5 years ago

Mon Jan 6 2020

  • Install and uninstall scripts explicitly connect to the postgres database when running the psql utility, and do not depend on the existence of a user database
message-db - 1.1.5

Published by sbellware almost 5 years ago

Fri Dec 20 2019

  • Changes applied to a pre-v1 message store are documented in database/update/1.0.0.md
  • The v1 update script prints out a link to the changes doc
message-db - v1.1.4

Published by sbellware almost 5 years ago

Fri Dec 20 2019

  • The update script is deprecated in preparation of versioned update scripts
  • Update scripts are located in database/updates
  • The update code for the v1.0.0 database is moved to database/updates/1.0.0.sh
message-db - v1.1.3

Published by sbellware almost 5 years ago

Fri Dec 20 2019

  • The update script is corrected for its referencing of the gen_random_uuid from the message_store schema
message-db - v1.1.2

Published by sbellware almost 5 years ago

Thu Dec 19 2019

  • The pgcrypto extension is installed into the public schema (if not already installed), rather than the message_store schema
message-db - v1.1.1

Published by sbellware almost 5 years ago

Wed Dec 18 2019

  • Vestigial debug output is removed from write_message
message-db - v1.1.0

Published by sbellware almost 5 years ago

Wed Dec 11 2019

  • The message_store role does not own the schema
message-db - v1.0.0

Published by sbellware almost 5 years ago

Tue Dec 10 2019

  • Initial release