I wrote:
> So the patch as given should work.
... well, modulo the use of "@foo" where you should've used "$foo".
I don't know enough Perl to understand why that seemed to work, but
I do know it's not the right thing here.
Pushed with that correction.
regards, tom lane