Using PL / pgSQL or (some other mechanism), is it possible to create a table with a variable name?
I would like to create several tables named table_1, table_2, table_3, etc .... and it would be easier if I could use a loop to create them instead of explicitly creating each of them.
I suspect that the answer is no, but I would like to confirm it.
source share