Refactor send_to_where().
authorTatsuo Ishii <ishii@sraoss.co.jp>
Sun, 7 May 2023 02:24:45 +0000 (11:24 +0900)
committerTatsuo Ishii <ishii@sraoss.co.jp>
Sun, 7 May 2023 02:24:45 +0000 (11:24 +0900)
commit99ef29c9c655f5b82efba8169dacec436ee5bab4
treeb4fa9a034ec6a2319e3d85e0f0756e4f7055ec07
parentec083d82deb2b4621315a593c976cc41ae3dfb2f
Refactor send_to_where().

Previously it had lengthy list of recognized query nodes to find out
unrecognized query quickly. The list must be updated if PostgreSQL
adds new query node. Since the list does very small contribution to
performance with large maintenance pain, I decided that keeping the
query node list is not worth the trouble and remove the list.

Also the second argument of send_to_where() is not actually used, I
remove the argument.

Discussion: https://www.pgpool.net/pipermail/pgpool-hackers/2023-May/004332.html
src/context/pool_query_context.c