Thread: help:how to write a planner_hook and other hooks in pg

help:how to write a planner_hook and other hooks in pg

From
张中
Date:
<div class="Section1" style="layout-grid:15.6pt"><p class="MsoNormal"><font face="Arial" size="1"><span lang="EN-US"
style="font-size:
9.0pt;font-family:Arial">Hi all:</span></font><p class="MsoNormal"><font face="Arial" size="1"><span lang="EN-US"
style="font-size:
9.0pt;font-family:Arial">I am doing some experiments programming on PG. I tried to modify planner and I find the
‘planner_hook’in source code, but I don’t know how to use it.</span></font><p class="MsoNormal"><font face="Arial"
size="1"><spanlang="EN-US" style="font-size: 
9.0pt;font-family:Arial">Anybody knows? If any code sample, very precious.</span></font><p class="MsoNormal"><font
face="Arial"size="1"><span lang="EN-US" style="font-size: 
9.0pt;font-family:Arial">Thanks</span></font><p class="MsoNormal"><font face="Arial" size="1"><span lang="EN-US"
style="font-size:
9.0pt;font-family:Arial"> </span></font><p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><fontface="宋体" size="2"><span
style="font-size:10.5pt;font-family:宋体">张茂森</span></font><spanlang="EN-US"> ZhangMaosen</span><p
class="MsoNormal"><fontface="Times New Roman" size="2"><span lang="EN-US"> </span></font></div> 

Re: help:how to write a planner_hook and other hooks in pg

From
Pavel Stehule
Date:
Hello

http://archives.postgresql.org/pgsql-patches/2007-05/msg00421.php

regards
Pavel Stehule

2009/8/24 张中 <zhangzhong@taobao.com>:
> Hi all:
>
> I am doing some experiments programming on PG. I tried to modify planner and
> I find the ‘planner_hook’ in source code, but I don’t know how to use it.
>
> Anybody knows? If any code sample, very precious.
>
> Thanks
>
>
>
> 张茂森 ZhangMaosen
>
>


Thank you very much!
ZhangMaosen

-----邮件原件-----
发件人: Pavel Stehule [mailto:pavel.stehule@gmail.com]
发送时间: 2009年8月24日 10:54
收件人: 张中
抄送: pgsql-hackers@postgresql.org
主题: Re: [HACKERS] help:how to write a planner_hook and other hooks in pg

Hello

http://archives.postgresql.org/pgsql-patches/2007-05/msg00421.php

regards
Pavel Stehule

2009/8/24 张中 <zhangzhong@taobao.com>:
> Hi all:
>
> I am doing some experiments programming on PG. I tried to modify planner
and
> I find the ‘planner_hook’ in source code, but I don’t know how to use
it.
>
> Anybody knows? If any code sample, very precious.
>
> Thanks
>
>
>
> 张茂森 ZhangMaosen
>
>