From marek.becka at superhosting.cz Wed Jun 6 04:55:14 2018 From: marek.becka at superhosting.cz (Marek Becka) Date: Wed, 6 Jun 2018 13:55:14 +0200 Subject: [Slony1-general] Inconsistent regex handling between SET ADD TABLE and SEQUENCE Message-ID: Hello, since Slony-I 2.1 a POSIX regular expresions can be used for adding tables and sequences to a replication set. I have tried to add all tables using Slony 2.2.5 documentation example of command SET ADD TABLE: SET ADD TABLE (SET ID=1, TABLES='public\\.tracker*'); In this case backslash must be escaped to get intended regular expression. Regular expresions used with SET ADD SEQUENCE doesn't works correctly with doubled backslash. To select all sequences from public schema plain regular expression must be used: SET ADD SEQUENCE (SET ID=1, SEQUENCES='public\.*'); Shouldn't be both command handled consistently? From steve at ssinger.info Wed Jun 6 17:49:11 2018 From: steve at ssinger.info (Steve Singer) Date: Wed, 6 Jun 2018 20:49:11 -0400 (EDT) Subject: [Slony1-general] Inconsistent regex handling between SET ADD TABLE and SEQUENCE In-Reply-To: References: Message-ID: On Wed, 6 Jun 2018, Marek Becka wrote: > Hello, > > > since Slony-I 2.1 a POSIX regular expresions can be used for adding > tables and sequences to a replication set. I have tried to add all > tables using Slony 2.2.5 documentation example of command SET ADD TABLE: > > SET ADD TABLE (SET ID=1, TABLES='public\\.tracker*'); > > In this case backslash must be escaped to get intended regular expression. > > > Regular expresions used with SET ADD SEQUENCE doesn't works correctly > with doubled backslash. To select all sequences from public schema plain > regular expression must be used: > > SET ADD SEQUENCE (SET ID=1, SEQUENCES='public\.*'); > > > Shouldn't be both command handled consistently? Yes, it probably should. This looks like a bug > > > _______________________________________________ > Slony1-general mailing list > Slony1-general at lists.slony.info > http://lists.slony.info/mailman/listinfo/slony1-general > From kacey.holston at pgexperts.com Thu Jun 28 19:19:52 2018 From: kacey.holston at pgexperts.com (Kacey Miri Holston) Date: Thu, 28 Jun 2018 19:19:52 -0700 Subject: [Slony1-general] Upgrading and partitioning question In-Reply-To: References: Message-ID: <73AA5E80-2245-405E-B58C-755D1D630FC9@pgexperts.com> Hello all, I was wondering if anyone has found a clever way to upgrade to PostgreSQL 10 with the new partitioning design. I have a database on 9.3 with some partitioned tables which I would like to upgrade to PostgreSQL 10 and take advantage of the new declarative partitioning. I was considering using slony for the upgrade and was wondering if there is a clever way to use declarative partitions directly or if I would need to do some conversions after upgrading. I am guessing I would need to convert the table after as I can not think of a way to incorporate it. Thank you in advance for anyone's insight, comments or ideas! -- Kacey