cmck
Numeric ID for transfer codes
Hi there! You can use
SERIAL
to add a column that will auto increment and stay unique. I created a table called test
in my own environment then ran the following query in the UI:
If you return to the table and add records you'll see that the id_serial
column is automatically updated with a unique id. The only caveat is that you can't use the name id
9 replies
Hi, the code and types files don't auto
Hi Ali, I see you enabled support access there. The invite seems to have expired though. Would you mind switching support access on so I can test with your workspace? If it's already on please switch it off and on again. Thanks for bearing with me
12 replies
Pgroll support for creating index on huge table with frequent reads & writes
This should be a valid use case for pgroll which supports index creation without downtime or locks. Similarly, the tool works by creating views on tables, not by copying tables and using triggers (as some other tools do). This means you should be able to avoid memory issues as well. https://pgroll.com/docs/latest/operations/create_index
4 replies