> Is it possible to tell if a DB connection was made via an alias? Is
> there something in one of the RDB$ tables that flags this?

Not a real flag, but only by having a look at the string when, e.g. 
querying.

select mon$attachment_name From mon$attachments

or via a context variable.

select rdb$get_context('SYSTEM', 'DB_NAME') from rdb$database


But, AFAIK, later dismisses the full path information only, if 
DatabaseAccess in firebird.conf is set to None:

DatabaseAccess = None

but then, you only allow alias connections anyway. ;-)


-- 
With regards,
Thomas Steinmaurer
http://www.upscene.com/

Reply via email to