Re: [HACKERS] regression test for extended query protocol

2016-08-10 Thread Michael Paquier
On Thu, Aug 11, 2016 at 5:33 AM, Alvaro Herrera wrote: > Michael Paquier wrote: >> On Fri, Aug 5, 2016 at 12:21 AM, Alvaro Herrera >> wrote: >> > If somebody had some spare time to devote to this, I would suggest to >> > implement something in core that can be used to specify a list of >> > comma

Re: [HACKERS] regression test for extended query protocol

2016-08-10 Thread Alvaro Herrera
Michael Paquier wrote: > On Fri, Aug 5, 2016 at 12:21 AM, Alvaro Herrera > wrote: > > If somebody had some spare time to devote to this, I would suggest to > > implement something in core that can be used to specify a list of > > commands to run, and a list of files-to-be-saved-in-bf-log emitted b

Re: [HACKERS] regression test for extended query protocol

2016-08-05 Thread Robert Haas
On Fri, Aug 5, 2016 at 10:11 AM, Tom Lane wrote: > Robert Haas writes: >> I think it would be an interesting project for someone to try to >> figure out how to make 'make check-extended-query-protocol' or similar >> work. > > Seems like it would not be that hard to put some kind of option in psql

Re: [HACKERS] regression test for extended query protocol

2016-08-05 Thread Tom Lane
Robert Haas writes: > I think it would be an interesting project for someone to try to > figure out how to make 'make check-extended-query-protocol' or similar > work. Seems like it would not be that hard to put some kind of option in psql to issue queries with PQexecParams not plain PQexec. How

Re: [HACKERS] regression test for extended query protocol

2016-08-05 Thread Robert Haas
On Tue, Aug 2, 2016 at 10:33 PM, Tatsuo Ishii wrote: > In my understanding, we don't have any regression test for protocol > level prepared query (we do have SQL level prepared query tests, > though). Shouldn't we add those tests to the regression test suites? A few years ago, EDB had a bug that

Re: [HACKERS] regression test for extended query protocol

2016-08-05 Thread Michael Paquier
On Fri, Aug 5, 2016 at 12:21 AM, Alvaro Herrera wrote: > If somebody had some spare time to devote to this, I would suggest to > implement something in core that can be used to specify a list of > commands to run, and a list of files-to-be-saved-in-bf-log emitted by > each command. We could have

Re: [HACKERS] regression test for extended query protocol

2016-08-04 Thread Alvaro Herrera
Michael Paquier wrote: > On Thu, Aug 4, 2016 at 12:14 AM, Dave Cramer wrote: > > We currently run tests every time a PR is created on github, but I don't > > think there are any animals running the JDBC test suite > > > > We can add tests, what exactly do we want to test. Then setting up an animal

Re: [HACKERS] regression test for extended query protocol

2016-08-03 Thread Michael Paquier
On Thu, Aug 4, 2016 at 12:14 AM, Dave Cramer wrote: > We currently run tests every time a PR is created on github, but I don't > think there are any animals running the JDBC test suite > > We can add tests, what exactly do we want to test. Then setting up an animal > to run the tests would be fair

Re: [HACKERS] regression test for extended query protocol

2016-08-03 Thread Dave Cramer
On 3 August 2016 at 10:53, Tom Lane wrote: > Tatsuo Ishii writes: > >>> In my understanding, we don't have any regression test for protocol > >>> level prepared query (we do have SQL level prepared query tests, > >>> though). Shouldn't we add those tests to the regression test suites? > > >> I t

Re: [HACKERS] regression test for extended query protocol

2016-08-03 Thread Tom Lane
Tatsuo Ishii writes: >>> In my understanding, we don't have any regression test for protocol >>> level prepared query (we do have SQL level prepared query tests, >>> though). Shouldn't we add those tests to the regression test suites? >> I thought that ECPG was covering a portion of that. Right?

Re: [HACKERS] regression test for extended query protocol

2016-08-02 Thread Tatsuo Ishii
[Sorry for a top post. For unknown reason I couldn' get mails from pgsql-hackers since this morning and I have to check the archive] >> In my understanding, we don't have any regression test for protocol >> level prepared query (we do have SQL level prepared query tests, >> though). Shouldn't we a

Re: [HACKERS] regression test for extended query protocol

2016-08-02 Thread Michael Paquier
On Wed, Aug 3, 2016 at 11:33 AM, Tatsuo Ishii wrote: > In my understanding, we don't have any regression test for protocol > level prepared query (we do have SQL level prepared query tests, > though). Shouldn't we add those tests to the regression test suites? I thought that ECPG was covering a p

[HACKERS] regression test for extended query protocol

2016-08-02 Thread Tatsuo Ishii
In my understanding, we don't have any regression test for protocol level prepared query (we do have SQL level prepared query tests, though). Shouldn't we add those tests to the regression test suites? Best regards, -- Tatsuo Ishii SRA OSS, Inc. Japan English: http://www.sraoss.co.jp/index_en.php