pgsql: Re-simplify management of inStart in pqParseInput3's subroutines

2021-03-11 Thread Tom Lane
Re-simplify management of inStart in pqParseInput3's subroutines. Commit 92785dac2 copied some logic related to advancement of inStart from pqParseInput3 into getRowDescriptions and getAnotherTuple, because it wanted to allow user-defined row processor callbacks to potentially longjmp out of the l

pgsql: Re-simplify management of inStart in pqParseInput3's subroutines

2021-03-11 Thread Tom Lane
Re-simplify management of inStart in pqParseInput3's subroutines. Commit 92785dac2 copied some logic related to advancement of inStart from pqParseInput3 into getRowDescriptions and getAnotherTuple, because it wanted to allow user-defined row processor callbacks to potentially longjmp out of the l

pgsql: Re-simplify management of inStart in pqParseInput3's subroutines

2021-03-11 Thread Tom Lane
Re-simplify management of inStart in pqParseInput3's subroutines. Commit 92785dac2 copied some logic related to advancement of inStart from pqParseInput3 into getRowDescriptions and getAnotherTuple, because it wanted to allow user-defined row processor callbacks to potentially longjmp out of the l

pgsql: Re-simplify management of inStart in pqParseInput3's subroutines

2021-03-11 Thread Tom Lane
Re-simplify management of inStart in pqParseInput3's subroutines. Commit 92785dac2 copied some logic related to advancement of inStart from pqParseInput3 into getRowDescriptions and getAnotherTuple, because it wanted to allow user-defined row processor callbacks to potentially longjmp out of the l

pgsql: Re-simplify management of inStart in pqParseInput3's subroutines

2021-03-11 Thread Tom Lane
Re-simplify management of inStart in pqParseInput3's subroutines. Commit 92785dac2 copied some logic related to advancement of inStart from pqParseInput3 into getRowDescriptions and getAnotherTuple, because it wanted to allow user-defined row processor callbacks to potentially longjmp out of the l

pgsql: Re-simplify management of inStart in pqParseInput3's subroutines

2021-03-11 Thread Tom Lane
Re-simplify management of inStart in pqParseInput3's subroutines. Commit 92785dac2 copied some logic related to advancement of inStart from pqParseInput3 into getRowDescriptions and getAnotherTuple, because it wanted to allow user-defined row processor callbacks to potentially longjmp out of the l