Adriano dos Santos Fernandes wrote 14.10.2021 15:23:
This happens because transaction 3 will fill the metadata caches.

Can we consider this trick safe?

Even if it is safe, it is a violation of "snapshot TIL" contract IMHO and must be fixed.

I do want to use it in this situation:

Profiler plugin on its first usage needs to create tables and that
tables would need to be filled in the context of the user transaction.

  Quite doubtful design.
AFAIR your profiler's API is a package. Cannot the table be created at the same moment as the package definition?

--
  WBR, SD.


Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to