Re: [siesta-dev] prefixing tablenames?

[prev] [thread] [next] [lurker] [Date index for 2004/10/15]

From: Bowen Dwelle
Subject: Re: [siesta-dev] prefixing tablenames?
Date: 16:19 on 15 Oct 2004

Struan Donald wrote:
> * at 15/10 10:57 +0100 David Cantrell said:
> 
>>On Thu, Oct 14, 2004 at 10:07:38PM -0700, Bowen Dwelle wrote:
>>
>>>I may well be mistaken, but offhand I don't see any easy way to add a 
>>>prefix to Siesta's table names (i.e. siesta_*). Same thing for 
>>>Email::Store. This is a pretty basic requirement for multiple apps to 
>>>co-exist in a single database.
>>
>>Why on earth do you want multiple applications to share a database?  Any
>>RDBMS worth the name can support multiple databases.
> 
> 
> If, say, you have the sort of web hosting where you are only allowed
> one database? Or maybe if the crazed fools in marketing want
> everything to use the same database to make mining all that data for
> their evil purposes easier.

Eh, right. Either case applies. Same reason why all perl modules aren't 
called Sven.pm

Simon -- thanks for the pointers. I could certainly hack up Siesta with 
$prefix -- and I may, in the short run, but doing it via Class::DBI 
sounds like the right way. Unfortunately, that's _way_ beyond my level 
of expertise.
There's stuff above here

Generated at 14:00 on 11 Nov 2004 by mariachi 0.52