Fernando Nasser <fnasser(at)cygnus(dot)com> writes:
> It adds a separate SQL extension command ANALYZE that will only perform the analyze part and thus only use shared locks.
> I will submit the doc and test changes in a separate patch, if you decide that we are really going ahead with the ANALYZE command.
I've already done this as part of work discussed recently on pghackers.
However, I haven't got round to writing the doc changes yet, so if you
have those then please send 'em along ;-)
regards, tom lane