select s::date, (select count(*) FROM ul_main WHERE register_date between s and s + interval '1 day') registrations from generate_series('2020-01-01','2020-05-01', interval '1 day') s ORDER BY s
Коллеги, может кто сталкивался? Есть инстанс Amazon RDS postgresql 11, Нужно с него сделать потоковую реплику не средствами Амазона, а на установленный нами самими PG. Можно такое сделать или нельзя?
On RDS you will need to create a new parameter group, set rds.logical_replication = 1 in it, then make the parameter group the active one. Applying the change requires a database server reboot