On Thu, 2005-04-28 at 02:11 -0400, Tom Lane wrote:
> Rod Taylor <pg@rbt.ca> writes:
> > On Tue, 2005-04-26 at 23:22 -0400, Tom Lane wrote:
> >> You tell us ;-). You've got the test case, attach to it with a debugger
> >> and find out what it's doing.
>
> > I wasn't entirely sure how to "catch it in action" so I just used CTRL+C
> > to interrupt the pg_restore process, and got these as backtraces:
>
> Hm, I wonder if there is something broken about the "SQL parsing" logic
> in _sendSQLLine, such that it could go into an infinite loop given the
> right input?
Let me see if I can put together a test case which is smaller for next
week, and I'll send that in.
--