05.05.2011 14:34, marius adrian popa wrote:

> Feature request related to this thread
> http://tech.groups.yahoo.com/group/firebird-support/message/113203
>
> Maybe the api should show it somewhere like in the the engine_version
> example http://firebirdsql.su/doku.php?id=rdb_get_context
>
> SELECT rdb$get_context('SYSTEM', 'ENGINE_64BITS') from rdb$database;
> True/False
> SELECT rdb$get_context('SYSTEM', 'ENGINE_IMPLEMENTATION') from rdb$database;
> 66
> and IMPLEMENTATION_NAME
> "Firebird/linux AMD64",

Why is it necessary? I see no sense in knowing that information inside 
procedures/triggers. As for regular users, they'd better ask sysadmin 
about the used server architecture.

> In longer term services api functions/constants should be available
> from sql side

Services API reports the information about the server and thus does not 
need any database connection. Moving that to the database level is 
surely possible, but I doubt it's nice.


Dmitry

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to