Bug#351571: Hooks for pg_upgradecluster, or support to use existing cluster

2006-02-12 Thread Martin Pitt
Hi Stephen! Stephen Frost [2006-02-08 14:07 -0500]: This looks good, the only thing I think we need to double-check is how data is handled (ie: is the data portion a seperate 'object' which needs to be filtered somehow, or is it associated with the base 'object', ie: table, that the

Bug#351571: Hooks for pg_upgradecluster, or support to use existing cluster

2006-02-08 Thread Martin Pitt
Hi Stephen! Stephen Frost [2006-02-06 20:52 -0500]: -- snip --- 1. Add and ship /etc/postgresql/pg_upgradecluster.d/. Scripts in that directory will be called with the following arguments: old version cluster name new version phase phase is 'init' right after creating

Bug#351571: Hooks for pg_upgradecluster, or support to use existing cluster

2006-02-08 Thread Stephen Frost
Hey Martin, * Martin Pitt ([EMAIL PROTECTED]) wrote: Stephen Frost [2006-02-06 20:52 -0500]: Looks good. Is there any need to pass the username to use to connect to the database as superuser? I'm guessing no but thought I might mention it... The owner can be figured out easily with

Bug#351571: Hooks for pg_upgradecluster, or support to use existing cluster

2006-02-08 Thread Martin Pitt
Hi Stephen! Stephen Frost [2006-02-08 14:07 -0500]: Yeah, I think I can just modify template1. Excellent, then I'll just do the per-cluster scripts. The 'finish' script will end up having the majority of the complications in it but that's ok. Will I still be able to access the old cluster

Bug#351571: Hooks for pg_upgradecluster, or support to use existing cluster

2006-02-06 Thread Martin Pitt
Hi Stephen! Thanks for today's IRC discussion, I'll try to summarize and create a mini-spec: -- snip --- 1. Add and ship /etc/postgresql/pg_upgradecluster.d/. Scripts in that directory will be called with the following arguments: old version cluster name new version phase phase is

Bug#351571: Hooks for pg_upgradecluster, or support to use existing cluster

2006-02-06 Thread Stephen Frost
Hey Martin, * Martin Pitt ([EMAIL PROTECTED]) wrote: Thanks for today's IRC discussion, I'll try to summarize and create a mini-spec: Very nice, thanks. :) -- snip --- 1. Add and ship /etc/postgresql/pg_upgradecluster.d/. Scripts in that directory will be called with the

Bug#351571: Hooks for pg_upgradecluster, or support to use existing cluster

2006-02-05 Thread Stephen Frost
Package: postgresql-common Version: 41 Severity: Wishlist Greetings, When using pg_upgradecluster to migrate from 8.0 to 8.1 I ran into some problems. Mainly this was that I had PostGIS installed in the 8.0 database and had some tables with geometry columns which depended upon PostGIS.