Hi guys, I need to use _table_pattern._deny in Postgres to deny partition tables, can you give me a sample?
partition tables are like this: table_name_p20231206
r
rich-barista-93413
12/11/2023, 3:35 PM
Hi Hakime, encourage using ChatGPT to refine to your needs but a regex would likely look like [\w\d_-]+p\d{8} which in human terms would be "any number of letters, digits and underscores followed by a 'p' character which is followed by exactly 8 digits."
d
dazzling-judge-80093
12/11/2023, 4:04 PM
maybe with something like this you should be fine: