hello,
I have read the source code of postgres.c. Two strang things I can't understand.
Souce code of Postgres.c:
..
Foreach(parsetree_list的元素parsetree){ //In what situation here will be many
parsetrees?
…
(List *)querytree_list = pg_analyze_and_rewrite(parsetree);
foreach(querytree_list中的每个querytree){ //In what situation here will be
many querytrees?
Who can tell me the reason?
Thank you very much
Jinqiang Han
---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?
http://www.postgresql.org/docs/faqs/FAQ.html