Skip to content

Commit

Permalink
postgresql_proxy: fix PGPrepare forwarding to upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
furmur committed Oct 13, 2024
1 parent d000900 commit 9ae2dc1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions apps/postgresql_proxy/PostgreSqlProxy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,10 @@ bool PostgreSqlProxy::process_postgres_event(PGEvent* ev)
if(PGParamExecute *e = dynamic_cast<PGParamExecute*>(ev))
ret = onParamExecute(*e);
break;
case PGEvent::Prepare:
if(PGPrepare *e = dynamic_cast<PGPrepare*>(ev))
ret = onCfgWorkerManagementEvent(e->worker_name);
break;
case PGEvent::PrepareExec:
if(PGPrepareExec *e = dynamic_cast<PGPrepareExec*>(ev))
ret = onPrepareExecute(*e);
Expand Down

0 comments on commit 9ae2dc1

Please sign in to comment.