Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trigger system_time_write_history fails #9

Open
danrt opened this issue Jan 29, 2020 · 1 comment
Open

Trigger system_time_write_history fails #9

danrt opened this issue Jan 29, 2020 · 1 comment

Comments

@danrt
Copy link

danrt commented Jan 29, 2020

Hello again

I have a database with 30 tables. Executing add_system_time_period and add_system_versioning completes with success. The issue I have is that updates in some of the tables simply crashes the database process and I get this message FATAL: the database system is in recovery mode.

I am executing like this
SELECT periods.add_system_time_period('"MyTable"'); SELECT periods.add_system_versioning('"MyTable"');

Update just a column for this table crashes the process, any column.

Also I tried recreating the same table with a different name and it just works, no more errors.

Can you help me in some way? How can I investigate this to know at least what is the issue or the exact error?

Thank you

@xocolatl
Copy link
Owner

xocolatl commented Feb 4, 2020

I have not been able to reproduce this, but it did lead me to finding a bug in PostgreSQL! https://postgr.es/m/16242-d1c9fca28445966b%40postgresql.org

Can you work out an example script that shows this issue? (Also, I fixed issue #5 in v1.1 which might solve this problem, too.)

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

No branches or pull requests

2 participants