Franck Routier <franck(dot)routier(at)axege(dot)com> writes:
> The request is not using any function. It looks like this:
> [ unexciting query ]
Hmph. Can't see any reason for that to take a remarkably long time to
plan. Can you put together a self-contained test case demonstrating
excessive planning time? What PG version is this, anyway?
regards, tom lane