Darcy Buskermolen darcy
Fri Jan 28 00:33:43 PST 2005
On January 27, 2005 03:52 pm, Christopher Browne wrote:
> Darcy Buskermolen wrote:
> >On January 27, 2005 02:06 pm, Christopher Browne wrote:
> >
> >Chis, I'm running this test on my 8.1 box, and it works fine.
> >the problem perhaps is related to other changes I made in CVS yesterday ?.
> >Try a fresh checkout + ./configure and see if theproblem goes away.
> >I made a change to slonik.c that now expects the "sed" to be passed in as
> > a -Ddefine.  this was done to some install I admin not having sed in the
> > path, and slonik would just do strange things.
>
> Ah.  I'm doubtless doing something "dodgy" in my installation.
>
> And I'll be musing about the merits of maybe using cpp or m4 to do
> name/id mappings...  Trying to nearly interchangeably use names or
> numbers makes for some thorny problems that "macro rewriting" would make
> go away.  I have been warned that I might get shunned by some people if
> I try m4...

I'll be one of them on that list when it comes to m4.

Hmmm.. In all seriousness, how you envisioning the named objects working?  
Since all of the critical code is implemented in plpgsql, can't we just add a 
name to the relevent objects, and have the action function check the name 
column first, and if no matches, assume I passed in an id and cheke the id, 
and if it's not found then we just exist as normal ? It should be trvial to 
have slonik parser accept one or the other but not both.   or Am I missing 
something really simple here? 


>
> _______________________________________________
> Slony1-general mailing list
> Slony1-general at gborg.postgresql.org
> http://gborg.postgresql.org/mailman/listinfo/slony1-general

-- 
Darcy Buskermolen
Wavefire Technologies Corp.
ph: 250.717.0200
fx:  250.763.1759
http://www.wavefire.com


More information about the Slony1-general mailing list