Bruce Momjian <[EMAIL PROTECTED]> writes:
> I modified the code to store the user statement name in the portal for
> protocol execute, so I can print the user name at that time.

Please forget that and print the portal name.  I'm getting tired of
repeating it, but: there are two different names here and they are
both important.  The bind message should print both names.

> Here is
> the new output:

>       LOG:  statement protocol prepare sel1:  SELECT 1;
>       LOG:  statement protocol bind sel1:  SELECT 1;
>       LOG:  statement protocol execute sel1:  SELECT 1;

If we could lose the noise words "statement protocol" we'd be getting
somewhere ...

                        regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
       choose an index scan if your joining column's datatypes do not
       match

Reply via email to