Bruce Momjian <[EMAIL PROTECTED]> writes:
> OK, I moved the find_my_exec calls to the locations you mentioned in
> both postgres.c and postmaster.c and remove it from main.c.  I tested
> the elog and it worked.

You omitted get_pkglib_path() from the postmaster case; was that

Also, in the non-exec case it seems unnecessary and possibly unsafe to
repeat this computation in a backend.  It should inherit the settings
from the postmaster via fork(), I'd think.  So possibly

        if (!IsUnderPostmaster)

                        regards, tom lane

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

Reply via email to