Commit b111b041 authored by Marcin's avatar Marcin Committed by Bartek Wrona
Browse files

query handlers refactoring

instead of inheritance handler are called now in their creation order
QueryHandler become a normal base class - no longer singleton
A global variable holds pointer to recently created handler, each newly
createted handler saves pointer to previous handler and overwrites the
global variable. When postgres calls hooks, then methods of handler are
called in order form newest handler to oldest.
RootQueryHandler class added - base class for handlers which needs to
distinguish between root and sub queries.
parent c0ec8cf7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment