pg.ddx.io pgsql-odbc@postgresql.org mailing list archive
help / color / mirror / Atom feedCommit ad2a4ae causing more damages than fixes in regression tests
6+ messages / 3 participants
[nested] [flat]
* Commit ad2a4ae causing more damages than fixes in regression tests
@ 2014-05-15 06:46 Michael Paquier <michael.paquier@gmail.com>
0 siblings, 1 reply; 6+ messages in thread
From: Michael Paquier @ 2014-05-15 06:46 UTC (permalink / raw)
To: Hiroshi Saito <hiroshi@winpg.jp>; +Cc: pgsql-odbc
Hi Saito-san,
What is the purpose of commit ad2a4ae done yesterday? Regression tests
are failing exactly because of that. I imagine that you are running
your tests on a 9.2 server or older 9.3 because the NOTICE message
showing PRIMARY KEY creation has been changed to DEBUG level in 9.3.
For simplicity's sake, I think that we should make the regression
tests only compatible with the latest versions of Postgres. We could
still use some alternate output but what's the point except
complicating the work of maintainers? Hence, I think that this change
should be reverted. Or if you guys think that we need to make
regression tests compatible down to 7.4 we should have alternate
result outputs.
I'd personally vote for reverting this commit to simplify maintenance
as this project does not have stable branches.
Regards,
--
Michael
--
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: Commit ad2a4ae causing more damages than fixes in regression tests
@ 2014-05-15 14:28 Hiroshi Saito <hiroshi@winpg.jp>
parent: Michael Paquier <michael.paquier@gmail.com>
0 siblings, 1 reply; 6+ messages in thread
From: Hiroshi Saito @ 2014-05-15 14:28 UTC (permalink / raw)
To: Michael Paquier <michael.paquier@gmail.com>; +Cc: pgsql-odbc
Hi Michael-san.
thank quick inspection.!
I've noticed it in some tests too. However, I think that it must be
fully considered the production environment psqlODBC have been supported
some versions. Therefore, I have a message level set to it.
What do you think?
again, I'm sorry not have a margin time....
Regards,
Hiroshi Saito
(2014/05/15 15:46), Michael Paquier wrote:
> Hi Saito-san,
>
> What is the purpose of commit ad2a4ae done yesterday? Regression tests
> are failing exactly because of that. I imagine that you are running
> your tests on a 9.2 server or older 9.3 because the NOTICE message
> showing PRIMARY KEY creation has been changed to DEBUG level in 9.3.
>
> For simplicity's sake, I think that we should make the regression
> tests only compatible with the latest versions of Postgres. We could
> still use some alternate output but what's the point except
> complicating the work of maintainers? Hence, I think that this change
> should be reverted. Or if you guys think that we need to make
> regression tests compatible down to 7.4 we should have alternate
> result outputs.
>
> I'd personally vote for reverting this commit to simplify maintenance
> as this project does not have stable branches.
>
> Regards,
>
--
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: Commit ad2a4ae causing more damages than fixes in regression tests
@ 2014-05-15 23:16 Michael Paquier <michael.paquier@gmail.com>
parent: Hiroshi Saito <hiroshi@winpg.jp>
0 siblings, 1 reply; 6+ messages in thread
From: Michael Paquier @ 2014-05-15 23:16 UTC (permalink / raw)
To: Hiroshi Saito <hiroshi@winpg.jp>; +Cc: pgsql-odbc
On Thu, May 15, 2014 at 11:28 PM, Hiroshi Saito <hiroshi@winpg.jp> wrote:
> Hi Michael-san.
>
> thank quick inspection.!
>
> I've noticed it in some tests too. However, I think that it must be fully
> considered the production environment psqlODBC have been supported some
> versions. Therefore, I have a message level set to it.
> What do you think?
Looks good for the test sampletables...
However, I am still getiing the following diff for catalogfunctions on
a 9.4 server...
*** /Users/mpaquier/git/pgodbc/test/expected/catalogfunctions.out Fri
May 16 08:13:36 2014
--- /Users/mpaquier/git/pgodbc/test/results/catalogfunctions.out Fri
May 16 08:14:10 2014
***************
*** 186,196 ****
contrib_regression public testtab1 _SYSTEM UPDATE YES
contrib_regression public testtab1 _SYSTEM DELETE YES
contrib_regression public testtab1 _SYSTEM REFERENCES YES
- contrib_regression public testtab1 _SYSTEM INSERT YES
- contrib_regression public testtab1 _SYSTEM SELECT YES
- contrib_regression public testtab1 _SYSTEM UPDATE YES
- contrib_regression public testtab1 _SYSTEM DELETE YES
- contrib_regression public testtab1 _SYSTEM REFERENCES YES
Result set:
contrib_regression public testtab1 TABLE
contrib_regression public testtab_fk TABLE
--- 186,191 ----
======================================================================
--
Michael
--
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: Commit ad2a4ae causing more damages than fixes in regression tests
@ 2014-05-16 14:37 Hiroshi Saito <hiroshi@winpg.jp>
parent: Michael Paquier <michael.paquier@gmail.com>
0 siblings, 1 reply; 6+ messages in thread
From: Hiroshi Saito @ 2014-05-16 14:37 UTC (permalink / raw)
To: Michael Paquier <michael.paquier@gmail.com>; +Cc: pgsql-odbc
Hi Michael-san.
(2014/05/16 8:16), Michael Paquier wrote:
> Looks good for the test sampletables...
Ok,Thanks.
>
> However, I am still getiing the following diff for catalogfunctions on
> a 9.4 server...
Um, it has not been released yet, and it is not in my test case.:-(
I don't know whether desire it now. However,require in the future.
Regards,
Hiroshi Saito
--
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: Commit ad2a4ae causing more damages than fixes in regression tests
@ 2014-05-19 02:32 Michael Paquier <michael.paquier@gmail.com>
parent: Hiroshi Saito <hiroshi@winpg.jp>
0 siblings, 1 reply; 6+ messages in thread
From: Michael Paquier @ 2014-05-19 02:32 UTC (permalink / raw)
To: Hiroshi Saito <hiroshi@winpg.jp>; +Cc: pgsql-odbc
Saito-san,
On Fri, May 16, 2014 at 11:37 PM, Hiroshi Saito <hiroshi@winpg.jp> wrote:
> Um, it has not been released yet, and it is not in my test case.:-(
> I don't know whether desire it now. However,require in the future.
After some more testing, I am seeing that the diffs in test
catalogfunction that you have introduced with commit ad2a4ae are
reproducible down to 8.4 (didn't go further down):
*** /Users/ioltas/git/pgodbc/test/expected/catalogfunctions.out Fri
May 16 08:13:36 2014
--- /Users/ioltas/git/pgodbc/test/results/catalogfunctions.out Mon
May 19 11:25:36 2014
***************
*** 186,196 ****
contrib_regression public testtab1 _SYSTEM UPDATE YES
contrib_regression public testtab1 _SYSTEM DELETE YES
contrib_regression public testtab1 _SYSTEM REFERENCES YES
- contrib_regression public testtab1 _SYSTEM INSERT YES
- contrib_regression public testtab1 _SYSTEM SELECT YES
- contrib_regression public testtab1 _SYSTEM UPDATE YES
- contrib_regression public testtab1 _SYSTEM DELETE YES
- contrib_regression public testtab1 _SYSTEM REFERENCES YES
Result set:
contrib_regression public testtab1 TABLE
contrib_regression public testtab_fk TABLE
--- 186,191 ----
Could you provide the configuration files you have been using for your
tests? I am afraid that I am not able to understand why you are seeing
such diffs. Heikki, are you noticing that?
This may be as well a bug in the ODBC code, it is somewhat weird to
see two times the same permission entries for the same table
(testtab1) when calling SQLTablePrivileges.
--
Michael
--
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: Commit ad2a4ae causing more damages than fixes in regression tests
@ 2014-05-19 10:14 Heikki Linnakangas <hlinnakangas@vmware.com>
parent: Michael Paquier <michael.paquier@gmail.com>
0 siblings, 0 replies; 6+ messages in thread
From: Heikki Linnakangas @ 2014-05-19 10:14 UTC (permalink / raw)
To: Michael Paquier <michael.paquier@gmail.com>; Hiroshi Saito <hiroshi@winpg.jp>; +Cc: pgsql-odbc
On 05/19/2014 05:32 AM, Michael Paquier wrote:
> Saito-san,
>
> On Fri, May 16, 2014 at 11:37 PM, Hiroshi Saito <hiroshi@winpg.jp> wrote:
>> Um, it has not been released yet, and it is not in my test case.:-(
>> I don't know whether desire it now. However,require in the future.
> After some more testing, I am seeing that the diffs in test
> catalogfunction that you have introduced with commit ad2a4ae are
> reproducible down to 8.4 (didn't go further down):
> *** /Users/ioltas/git/pgodbc/test/expected/catalogfunctions.out Fri
> May 16 08:13:36 2014
> --- /Users/ioltas/git/pgodbc/test/results/catalogfunctions.out Mon
> May 19 11:25:36 2014
> ***************
> *** 186,196 ****
> contrib_regression public testtab1 _SYSTEM UPDATE YES
> contrib_regression public testtab1 _SYSTEM DELETE YES
> contrib_regression public testtab1 _SYSTEM REFERENCES YES
> - contrib_regression public testtab1 _SYSTEM INSERT YES
> - contrib_regression public testtab1 _SYSTEM SELECT YES
> - contrib_regression public testtab1 _SYSTEM UPDATE YES
> - contrib_regression public testtab1 _SYSTEM DELETE YES
> - contrib_regression public testtab1 _SYSTEM REFERENCES YES
> Result set:
> contrib_regression public testtab1 TABLE
> contrib_regression public testtab_fk TABLE
> --- 186,191 ----
>
> Could you provide the configuration files you have been using for your
> tests? I am afraid that I am not able to understand why you are seeing
> such diffs. Heikki, are you noticing that?
Yep. The expected output in git at the moment is just wrong.
> This may be as well a bug in the ODBC code, it is somewhat weird to
> see two times the same permission entries for the same table
> (testtab1) when calling SQLTablePrivileges.
Yeah. If there is a configuration that actually produces that output,
then it sure looks like a bug in the code.
- Heikki
--
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc
^ permalink raw reply [nested|flat] 6+ messages in thread
end of thread, other threads:[~2014-05-19 10:14 UTC | newest]
Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2014-05-15 06:46 Commit ad2a4ae causing more damages than fixes in regression tests Michael Paquier <michael.paquier@gmail.com>
2014-05-15 14:28 ` Hiroshi Saito <hiroshi@winpg.jp>
2014-05-15 23:16 ` Michael Paquier <michael.paquier@gmail.com>
2014-05-16 14:37 ` Hiroshi Saito <hiroshi@winpg.jp>
2014-05-19 02:32 ` Michael Paquier <michael.paquier@gmail.com>
2014-05-19 10:14 ` Heikki Linnakangas <hlinnakangas@vmware.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox