Replies: 2 comments 14 replies
-
I should add that I'm using sqitch v1.2.1 from Ubuntu apt repository. |
Beta Was this translation helpful? Give feedback.
-
I spent some time trying to make a risingwave engine and unfortunately have to give up because perl skills are not strong enough to do it well. I have no problem refactoring all of the relevant queries but once I get into the perl weeds, I'm quickly lost. With version 1.7.0 of RisingWave - coming out in a couple of weeks I think - I can write SQL functions, so my original advisory lock question is easily resolved by dropping in a couple of functions. The other thing 1.7.0 lets me do is switch from using etcd as the RisingWave "meta" database to using PostgreSQL. This means that when I deploy RisingWave, I also deploy a PostgreSQL database. RisingWave uses this database to keep track of its configuration and manage its cluster. If I could specify a different database for the sqitch tables than the one that the deploy/revert/verify sql runs against, then I could put the sqitch configuration tables in the RisingWave Meta database. Then run the custom sql I need in the RisingWave database. This approach seems more flexible for any time you don't want to keep the sqitch change management details in the same data store as your data. I could use this to manage Redshift too (or any other pgwire compatible data store) without needing another engine.
Thoughts? |
Beta Was this translation helpful? Give feedback.
-
I'm attempting to run sqitch against a postgresql compatible database that does not yet have the
pg_try_advisory_lock
function. Is there a way to run sqitch so that this function is not used?Beta Was this translation helpful? Give feedback.
All reactions