Skip to content

After trigger support#228

Merged
palkan merged 9 commits into
masterfrom
feat/after-trigger
Mar 29, 2023
Merged

After trigger support#228
palkan merged 9 commits into
masterfrom
feat/after-trigger

Conversation

@palkan

@palkan palkan commented Feb 26, 2023

Copy link
Copy Markdown
Owner

What is the purpose of this pull request?

Closes #215.

What changes did you make? (overview)

This PR is a combination of #226 and #225 with some refactoring changes on top.

Checklist

  • I've added tests for this change
  • I've added a Changelog entry
  • I've updated a documentation (Readme)

@palkan
palkan force-pushed the feat/after-trigger branch from 43d0f5e to 632e085 Compare February 26, 2023 16:29
#select_value doesn't work well with table_name_prefix
@palkan
palkan force-pushed the feat/after-trigger branch from 632e085 to c7b8779 Compare February 26, 2023 16:32
Comment thread lib/generators/logidze/install/install_generator.rb Outdated
Comment thread README.md

**NOTE:** Record changes are written as a full snapshot if the partition has changed during the update.

**IMPORTANT:** Using Logidze for partitioned tables in PostgreSQL 10 is not supported.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess, that here we can also say about 9.6 version
9.6 does not have declarative partitioned tables, but has inheritance and logidze also supports 9.6 pg version

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, but we decided to discontinue PG <10 support since the next release.

@palkan
palkan merged commit df941f4 into master Mar 29, 2023
@palkan
palkan deleted the feat/after-trigger branch March 29, 2023 23:40
@bf4

bf4 commented Mar 30, 2023

Copy link
Copy Markdown
Contributor

THIS IS AMAZING ❤️ ❤️ ✨ 🦄 🕺

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Partition-friendly logging (triggers)

4 participants