Thu Mar 3 19:57:57 PST 2005
- Previous message: [Slony1-general] Adding an include("filename") feature to slonik
- Next message: [Slony1-general] Adding an include("filename") feature to slonik
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
murphy pope wrote: >>The Named Node "Debacle" >>--------------------------- >> >>I wanted to be able to attach a "node name" attribute to each node, >>and then be able to replace: >> >>STORE LISTEN ( ORIGIN = 1, RECEIVER = 2, PROVIDER = 3 ); >> >> with, let's say: >> >>STORE LISTEN ( ORIGIN NODE = 'org master', RECEIVER NODE = 'data warehouse', PROVIDER NODE = 'whois server' ); >> >>I'm sure you'll agree that the latter is much more mnemonic than >>something involving perhaps-cryptic numbers :-). >> Why not just use shell variables instead? eg ORG_MASTER=1 DATA_WAREHOUSE=2 WHOIS_DB=3 STORE LISTEN( ORIGIN=$ORG_MASTER, RECEIVER=$WAREHOUSE, PROVIDER=$WHOIS_DB ); They're only defined once, and are just as descriptive inside the slonik script file. Or have I missed something? John Sidney-Woollett
- Previous message: [Slony1-general] Adding an include("filename") feature to slonik
- Next message: [Slony1-general] Adding an include("filename") feature to slonik
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-general mailing list