Dmitry,

> -----Original Message-----
> From: Dmitry Yemanov [mailto:firebi...@yandex.ru]
> Sent: Friday, March 31, 2017 1:41 PM
> To: For discussion among Firebird Developers <firebird-
> de...@lists.sourceforge.net>
> Subject: Re: [Firebird-devel] MON$Attachment fields vs.
> RDB$Get_Context("SYSTEM", ....)
> 
> 31.03.2017 01:11, Leyne, Sean wrote:
> >
> > One of my developers was looking for a simple way to determine what
> > Process was the current DB operation related to.
> >
> > I knew that MON$Attachments has a MON$Remote_Process value, so I
> > expected the same details would be available thru
> > RDB$Get_Context("SYSTEM",....) call.  But I was wrong.
> 
> RDB$GET_CONTEXT('SYSTEM', 'CLIENT_PID')
> RDB$GET_CONTEXT('SYSTEM', 'CLIENT_PROCESS')

Thanks, hadn't seen those.

BTW, why would they have names which are different from the names already 
established in the MON$ table?

> >     - MON$REMOTE_PID
> >     - MON$REMOTE_PROCESS


Sean


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to