Re: [SR-Users] Use of mtree module having multiple trees in the same table

2011-06-16 Thread Iñaki Baz Castillo
2011/6/16 Javier Gallart : > not sure what you want to accomplish, but in case it might help this is how > we use the mtree module. > Our 3 columns are: partition, prefix, route > Partition is just a name that defines a group, this is done inside the > script before calling mt_match (via a table lo

Re: [SR-Users] Use of mtree module having multiple trees in the same table

2011-06-16 Thread Javier Gallart
lso be for instance the setid of a group of gw's for the dispatcher module, etc... Regards Javi > > Message: 3 > > Date: Tue, 14 Jun 2011 14:27:53 +0200 > > From: I?aki Baz Castillo > > Subject: Re: [SR-Users] Use of mtree module having multiple trees in > >

Re: [SR-Users] Use of mtree module having multiple trees in the same table

2011-06-14 Thread jose luis millan
Hi, In order to have multiple trees in a single table, function 'mt_match' has to be called with the desired 'tname' value as the first argument. So, the first parameter in the 'mt_match' function refers to a value of 'tname' in case this parameter is used, or to an explicitly created mtree (de

Re: [SR-Users] Use of mtree module having multiple trees in the same table

2011-06-14 Thread Iñaki Baz Castillo
2011/6/13 jose luis millan : > I wonder if anyone could help me understanding how can I use this > module in a scenario where multiple mtrees are defined behind the same > database table. > > I can't guess how to speficy to 'mt_match' the mtree I want to match > against, since the 'mtree' module pa