Comments (7)
Craig,
The only one remarkable is the attacl problem. The others are all rounding
errors
Dave Cramer
On Fri, Sep 21, 2012 at 9:23 AM, Craig Ringer [email protected]:
Tests of master (9d558509d55850)
against 8.3 show that it's broken with 8.3. Unsure what broke it or what
the oldest working server is yet, just noting this so far.[junit] Testcase: testColumnPrivileges(org.postgresql.test.jdbc2.DatabaseMetaDataTest): Caused an ERROR [junit] ERROR: column a.attacl does not exist [junit] Position: 38 [junit] org.postgresql.util.PSQLException: ERROR: column a.attacl does not exist [junit] Position: 38 [junit] at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2157) [junit] at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1886) [junit] at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:255) [junit] at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:546) [junit] at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:417) [junit] at org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statement.java:302) [junit] at org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statement.java:276) [junit] at org.postgresql.jdbc2.AbstractJdbc2DatabaseMetaData.getColumnPrivileges(AbstractJdbc2DatabaseMetaData.java:2671) [junit] at org.postgresql.test.jdbc2.DatabaseMetaDataTest.testColumnPrivileges(DatabaseMetaDataTest.java:404) [junit] [junit] [junit] Testcase: testGetTimestampWTZ(org.postgresql.test.jdbc2.TimestampTest): FAILED [junit] expected:<2000-07-07 23:00:00.123> but was:<2000-07-07 23:00:00.122999> [junit] junit.framework.AssertionFailedError: expected:<2000-07-07 23:00:00.123> but was:<2000-07-07 23:00:00.122999> [junit] at org.postgresql.test.jdbc2.TimestampTest.timestampTestWTZ(TimestampTest.java:434) [junit] at org.postgresql.test.jdbc2.TimestampTest.testGetTimestampWTZ(TimestampTest.java:186) [junit] [junit] [junit] Testcase: testSetTimestampWTZ(org.postgresql.test.jdbc2.TimestampTest): FAILED [junit] expected:<2000-07-07 23:00:00.123> but was:<2000-07-07 23:00:00.122999> [junit] junit.framework.AssertionFailedError: expected:<2000-07-07 23:00:00.123> but was:<2000-07-07 23:00:00.122999> [junit] at org.postgresql.test.jdbc2.TimestampTest.timestampTestWTZ(TimestampTest.java:434) [junit] at org.postgresql.test.jdbc2.TimestampTest.testSetTimestampWTZ(TimestampTest.java:256) [junit] [junit] [junit] Testcase: testGetTimestampWOTZ(org.postgresql.test.jdbc2.TimestampTest): FAILED [junit] null [junit] junit.framework.AssertionFailedError [junit] at org.postgresql.test.jdbc2.TimestampTest.timestampTestWOTZ(TimestampTest.java:517) [junit] at org.postgresql.test.jdbc2.TimestampTest.testGetTimestampWOTZ(TimestampTest.java:307) [junit] [junit] [junit] Testcase: testSetTimestampWOTZ(org.postgresql.test.jdbc2.TimestampTest): FAILED [junit] null [junit] junit.framework.AssertionFailedError [junit] at org.postgresql.test.jdbc2.TimestampTest.timestampTestWOTZ(TimestampTest.java:517) [junit] at org.postgresql.test.jdbc2.TimestampTest.testSetTimestampWOTZ(TimestampTest.java:399) [junit] [junit] [junit] Test org.postgresql.test.jdbc2.Jdbc2TestSuite FAILED
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/10.
from pgjdbc.
On 09/21/2012 09:28 PM, Dave Cramer wrote:
Craig,
The only one remarkable is the attacl problem. The others are all
rounding
errors
Looks like that broke in:
commit 367663d
Author: Dave Cramer [email protected]
Date: Mon Feb 13 16:43:57 2012 -0500
resolve ACL getTablePriveledges for later servers
which added a.attacl to the query on
org/postgresql/jdbc2/AbstractJdbc2DatabaseMetaData.java:2642.
Any idea what server version that got added in? Ideas for how to avoid
adding another version-specific query to maintain there, which will
become another thing that has to be tested with a particular narrow
range of server versions or it'll break?
As for the rest: Gotcha, the rounding issues aren't breakage. It'd be
nice to make the tests more tolerant by knowing about server version
specific results, but that's something I can TODO for later, not
something important.
Craig Ringer
from pgjdbc.
Craig,
8.4 is where it first appeared.
http://www.postgresql.org/docs/8.3/static/catalog-pg-attribute.html
If you go to the top of the page you can click on 8.4 and see it show up.
I can fix this if you like or if you are in the code and motivated.
Dave Cramer
On Fri, Sep 21, 2012 at 9:47 AM, Craig Ringer [email protected]:
On 09/21/2012 09:28 PM, Dave Cramer wrote:
Craig,
The only one remarkable is the attacl problem. The others are all
rounding
errorsLooks like that broke in:
commit 367663d
Author: Dave Cramer [email protected]
Date: Mon Feb 13 16:43:57 2012 -0500resolve ACL getTablePriveledges for later servers
which added a.attacl to the query on
org/postgresql/jdbc2/AbstractJdbc2DatabaseMetaData.java:2642.Any idea what server version that got added in? Ideas for how to avoid
adding another version-specific query to maintain there, which will
become another thing that has to be tested with a particular narrow
range of server versions or it'll break?As for the rest: Gotcha, the rounding issues aren't breakage. It'd be
nice to make the tests more tolerant by knowing about server version
specific results, but that's something I can TODO for later, not
something important.Craig Ringer
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/10#issuecomment-8765118.
from pgjdbc.
Sorry, I should've just checked. I forget the catalogs are so well documented.
I'm going to have to go to sleep as it's 10pm here, so if you get the chance to sort it out that'd be fantastic.
BTW, I'm going to be out of action most of next week due to family stuff. Sorry. I've tried to get what I can done before that.
from pgjdbc.
Ok, I'll have a look at it
Have a great weekend.
Thanks,
Dave Cramer
On Fri, Sep 21, 2012 at 9:53 AM, Craig Ringer [email protected]:
Sorry, I should've just checked. I forget the catalogs are so well
documented.I'm going to have to go to sleep as it's 10pm here, so if you get the
chance to sort it out that'd be fantastic.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/10#issuecomment-8765300.
from pgjdbc.
Well it's broken much worse than I thought
Dave Cramer
On Fri, Sep 21, 2012 at 9:54 AM, Dave Cramer [email protected] wrote:
Ok, I'll have a look at it
Have a great weekend.
Thanks,
Dave Cramer
On Fri, Sep 21, 2012 at 9:53 AM, Craig Ringer [email protected]:
Sorry, I should've just checked. I forget the catalogs are so well
documented.I'm going to have to go to sleep as it's 10pm here, so if you get the
chance to sort it out that'd be fantastic.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/10#issuecomment-8765300.
from pgjdbc.
Looks like you sorted that out. Thanks very much. I'll look at fixing the timestamp tests so other breakage doesn't hide in the noise there.
from pgjdbc.
Related Issues (20)
- Using Flink Datastream API to read and write PostgreSQL
- "ERROR: SET TRANSACTION ISOLATION LEVEL must not be called in a subtransaction" with autosave HOT 2
- SSLSocket duplex close failed (again) HOT 5
- Trying to update table using PreparadStatement, But parameters are generated inside a Parentheses HOT 1
- INSERT Java Boolean Type into a database BIT type will result in an incompatible type error. HOT 5
- Authentication SSL Mechanism HOT 20
- Query interceptors HOT 4
- Authentication failed SSL error HOT 1
- Memory Consumption, binary transfer bug HOT 5
- "Unexpected packet type during copy" when network is pool HOT 2
- Connect Java with PostgreSQL (16.3) using SSPI authentication HOT 3
- Inconsistent SQL execution with "unsupported format code" error in PostgreSQL HOT 8
- Request for new release 42.7.4 HOT 1
- SSL connection is not established HOT 22
- BlobInputStream#mark/reset caches position within a large object, however it should buffer the data instead HOT 3
- JDBC Driver Ignoring Fetch Size: Full SELECT Result Loaded into RAM, Causing Heap Overflow HOT 1
- EOFException on PreparedStatement#toString with unset bytea parameter since 42.7.4 HOT 16
- Add autoCommit setting to the JDBC driver properties and/or URL
- Feature Request - Provision to plugin a custom host chooser in the pgjdbc driver HOT 6
- CTE query: java.lang.OutOfMemoryError: Java heap space, java.lang.OutOfMemoryError: GC overhead limit exceeded HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pgjdbc.