b
> All partitions are created automatically along with the parent table.
> Automatic range partitioning is not supported yet.
Size: a a a
b
G
b
G
AG
YS
YS
YS
СК
KK
YS
KK
AL
YS
b
G
GK
G
DO $$нашел такой вариант, но чет не пашит, выкидывает
DECLARE myvar integer;
BEGIN
SELECT 5 INTO myvar;
DROP TABLE IF EXISTS tmp_table;
CREATE TABLE tmp_table as
select * from p_street
END $$;
SELECT * FROM tmp_table;
SQL Error [42601]: ERROR: unexpected end of function definition at end of input
Позиция: 162
AY
G
WITH master_user AS (Но пишут что не желательный способ почему-то
select * from p_street ps
)
select * from master_user