Re: [Firebird-devel] Aliases

2011-04-17 Thread bogdan
>> to change few aliases and don't touch application : >> >> year2015 = D:\archive\databases\year2015.fdb >> year2016 = D:\archive\databases\year2016.fdb >> >I didn't say it would work for everyone or every situation. Does anything? >However, as with everything else in my programs, I would have

Re: [Firebird-devel] Aliases - Email found in subject

2011-04-15 Thread Leyne, Sean
Woody, > >> However, it would be useful, IMO, to have an alias for directories so > >> that conceptually, you could separate entire functionalities. For > >> instance, the main databases reside in an alias directory called > >> MainDataDir. Backups could be performed to the BackupDataDir. > > > >

Re: [Firebird-devel] Aliases

2011-04-15 Thread Woody
From: "Vlad Khorsun" >> >> However, it would be useful, IMO, to have an alias for directories so >> that >> conceptually, you could separate entire functionalities. For instance, >> the >> main databases reside in an alias directory called MainDataDir. Backups >> could be performed to the Backu

Re: [Firebird-devel] Aliases

2011-04-15 Thread Vlad Khorsun
> From: "Vlad Khorsun" >> >>What are you going to do, when databases will overflow this single >> directory ? Buy new HDD ? Create new >> directory and teach application to look for databases at two >> "superaliases" ? >> > > As you pointed out, I can create a database for each year for the

Re: [Firebird-devel] Aliases

2011-04-15 Thread Woody
From: "Dimitry Sibiryakov" > 15.04.2011 15:08, Woody wrote: >> However, it would be useful, IMO, to have an alias for directories so >> that >> conceptually, you could separate entire functionalities. For instance, >> the >> main databases reside in an alias directory called MainDataDir. Backups

Re: [Firebird-devel] Aliases

2011-04-15 Thread Dimitry Sibiryakov
15.04.2011 15:08, Woody wrote: > However, it would be useful, IMO, to have an alias for directories so that > conceptually, you could separate entire functionalities. For instance, the > main databases reside in an alias directory called MainDataDir. Backups > could be performed to the BackupDataDi

Re: [Firebird-devel] Aliases

2011-04-15 Thread Woody
From: "Vlad Khorsun" > >What are you going to do, when databases will overflow this single > directory ? Buy new HDD ? Create new > directory and teach application to look for databases at two > "superaliases" ? > As you pointed out, I can create a database for each year for the next hundr

Re: [Firebird-devel] Aliases

2011-04-15 Thread Woody
From: "Alex Peshkoff" > If you have > DatabaseAccess = Restrict /some/path > in firebird.conf, each connection to server:database.fdb (when > database.fdb is not found in aliases.conf) will expand to > server:/some/path/database.fdb. > > What about exactly what you want - worth thinking on my min

Re: [Firebird-devel] Aliases

2011-04-15 Thread Alex Peshkoff
On 04/15/11 14:17, Helen Borrie wrote: > Alex, > > At 09:32 PM 15/04/2011, Alex Peshkoff wrote: > >> If you have >> DatabaseAccess = Restrict /some/path >> in firebird.conf, each connection to server:database.fdb (when >> database.fdb is not found in aliases.conf) will expand to >> server:/some/pa

Re: [Firebird-devel] Aliases

2011-04-15 Thread Vlad Khorsun
> Just curious, has there been any discussion about expanding aliases to allow > defining just a path to a directory > where multiple database reside? > > The reason I'm asking is that in some situations, my apps are designed to > allow the users to archive fiscal data. > In general, they have

Re: [Firebird-devel] Aliases

2011-04-15 Thread Helen Borrie
Alex, At 09:32 PM 15/04/2011, Alex Peshkoff wrote: >If you have >DatabaseAccess = Restrict /some/path >in firebird.conf, each connection to server:database.fdb (when >database.fdb is not found in aliases.conf) will expand to >server:/some/path/database.fdb. > >What about exactly what you want - w

Re: [Firebird-devel] Aliases

2011-04-15 Thread Alex Peshkoff
On 03/17/11 18:29, Woody wrote: > Just curious, has there been any discussion about expanding aliases to allow > defining just a path to a directory where multiple database reside? > > The reason I'm asking is that in some situations, my apps are designed to > allow the users to archive fiscal d

[Firebird-devel] Aliases

2011-04-15 Thread Woody
Just curious, has there been any discussion about expanding aliases to allow defining just a path to a directory where multiple database reside? The reason I'm asking is that in some situations, my apps are designed to allow the users to archive fiscal data. In general, they have a main database