Tue Apr 28 07:36:23 PDT 2009
- Previous message: [Slony1-commit] slony1-engine RELEASE
- Next message: [Slony1-commit] slony1-engine/src/backend slony1_funcs.sql
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Update of /home/cvsd/slony1/slony1-engine/doc/adminguide In directory main.slony.info:/tmp/cvs-serv27558/doc/adminguide Modified Files: Tag: REL_2_0_STABLE faq.sgml Log Message: Add in an at-functions-load-time test which validates that the cluster name is valid, to address a difference in behaviour between slonik and pgAdminIII Index: faq.sgml =================================================================== RCS file: /home/cvsd/slony1/slony1-engine/doc/adminguide/faq.sgml,v retrieving revision 1.80.2.2 retrieving revision 1.80.2.3 diff -C2 -d -r1.80.2.2 -r1.80.2.3 *** faq.sgml 26 Feb 2009 16:24:58 -0000 1.80.2.2 --- faq.sgml 28 Apr 2009 14:36:21 -0000 1.80.2.3 *************** *** 1846,1849 **** --- 1846,1887 ---- linkend="stmtsetdropsequence">.</para></answer></qandaentry> + <qandaentry> + <question><para> I set up my cluster using pgAdminIII, with cluster + name <quote>MY-CLUSTER</quote>. Time has passed, and I tried using + Slonik to make a configuration change, and this is failing with the + following error message:</para> + + <programlisting> + ERROR: syntax error at or near - + </programlisting> + </question> + + <answer><para> The problem here is that &slony1; expects cluster names + to be valid <ulink url= + "http://www.postgresql.org/docs/8.3/static/sql-syntax-lexical.html"> + SQL Identifiers</ulink>, and &lslonik; enforces this. Unfortunately, + <application>pgAdminIII</application> did not do so, and allowed using + a cluster name that now causes <emphasis>a problem.</emphasis> </para> </answer> + + <answer> <para> If you have gotten into this spot, it's a problem that + we mayn't be help resolve, terribly much. </para> + + <para> It's <emphasis>conceivably possible</emphasis> that running the + SQL command <command>alter namespace "_My-Bad-Clustername" rename to + "_BetterClusterName";</command> against each database may work. That + shouldn't particularly <emphasis>damage</emphasis> things!</para> + + <para> On the other hand, when the problem has been experienced, users + have found they needed to drop replication and rebuild the + cluster.</para> </answer> + + <answer><para> A change in version 2.0.2 is that a function runs as + part of loading functions into the database which checks the validity + of the cluster name. If you try to use an invalid cluster name, + loading the functions will fail, with a suitable error message, which + should prevent things from going wrong even if you're using tools + other than &lslonik; to manage setting up the cluster. </para></answer> + </qandaentry> + </qandadiv>
- Previous message: [Slony1-commit] slony1-engine RELEASE
- Next message: [Slony1-commit] slony1-engine/src/backend slony1_funcs.sql
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-commit mailing list