wiki.techinc.nl/maintenance/postgres/archives/patch-remove-archive2.sql

3 lines
99 B
SQL

DROP VIEW archive;
ALTER TABLE archive2 RENAME TO archive;
ALTER TABLE archive ADD ar_len INTEGER;