Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Xsw8O-0003uX-CI for pgsql-jdbc@arkaria.postgresql.org; Mon, 24 Nov 2014 16:05:04 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Xsw8N-0005AI-UD for pgsql-jdbc@arkaria.postgresql.org; Mon, 24 Nov 2014 16:05:03 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Xsw8M-0005A6-I0 for pgsql-jdbc@postgresql.org; Mon, 24 Nov 2014 16:05:03 +0000 Received: from omr-m03.mx.aol.com ([64.12.143.77]) by makus.postgresql.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1Xsw8H-0005BM-MC for pgsql-jdbc@postgresql.org; Mon, 24 Nov 2014 16:05:00 +0000 Received: from mtaomg-aak02.mx.aol.com (mtaomg-aak02.mx.aol.com [172.27.2.228]) by omr-m03.mx.aol.com (Outbound Mail Relay) with ESMTP id 021D57005D24B; Mon, 24 Nov 2014 11:04:54 -0500 (EST) Received: from core-lpa02b.mail.aol.com (core-lpa02.mail.aol.com [10.76.11.12]) by mtaomg-aak02.mx.aol.com (OMAG/Core Interface) with ESMTP id 8712438000087; Mon, 24 Nov 2014 11:04:54 -0500 (EST) References: <8D1D54E50A52767-E88-66B80@webmail-m290.sysops.aol.com> To: pg@fastcrypt.com Subject: Re: Having issues with tests In-Reply-To: X-MB-Message-Source: WebUI Received: from 108.7.145.161 by webmail-va036.sysops.aol.com (149.174.108.79) with HTTP (WebMailUI); Mon, 24 Nov 2014 11:04:53 -0500 MIME-Version: 1.0 From: rapidtransit440@aol.com X-MB-Message-Type: User Content-Type: multipart/alternative; boundary="--------MB_8D1D617847428DD_D6C_6CC2_webmail-va036.sysops.aol.com" X-Mailer: AOL Webmail STANDARD Cc: pgsql-jdbc@postgresql.org Message-Id: <8D1D6178446EEAA-D6C-261C@webmail-va036.sysops.aol.com> X-Originating-IP: [108.7.145.161] Date: Mon, 24 Nov 2014 11:04:53 -0500 x-aol-global-disposition: G DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mx.aol.com; s=20140625; t=1416845094; bh=vhFN0iRlwRe1PpQLtrZtXNfSxWxEgyjSvQUNtawQ1uA=; h=From:To:Subject:Message-Id:Date:MIME-Version:Content-Type; b=fOD6eKX3X0zrDf2w56GXc+6O8Lmvb5Es3lZFy+vzC7b5o2Han3iH0Fk93b4GnIEvt ZmA7jq0yjcAwQNTff74jrLBetdVdNkTr2kc/f0eMWGN9Sezm0PClZ325sn4IuBNmel xQEXkIj3jbVOhwyJUprGeoo65qpfodokm1NMUkOk= x-aol-sid: 3039ac1b02e4547357265cc5 X-Pg-Spam-Score: -1.7 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-jdbc Precedence: bulk Sender: pgsql-jdbc-owner@postgresql.org This is a multi-part message in MIME format. ----------MB_8D1D617847428DD_D6C_6CC2_webmail-va036.sysops.aol.com Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="us-ascii" Version=209.3.4=0A=0A=0A=0A-----Original=20Message-----=0AFrom:=20Dave=20Cramer=20= =0ATo:=20rapidtransit440=20=0ACc:=20L= ist=20=0ASent:=20Mon,=20Nov=2024,=202014=208:21=20am=0A= Subject:=20Re:=20[JDBC]=20Having=20issues=20with=20tests=0A=0A=0AWhat=20version=20= of=20postgres=20are=20you=20running=20this=20on=20?=0A=0A=0ADave=20Cramer=0A=0Ad= ave.cramer(at)credativ(dot)ca=0Ahttp://www.credativ.ca=0A=0A=0A=0AOn=2023=20Nove= mber=202014=20at=2011:04,=20=20=20wrote:=0A=0AI=20recen= tly=20forked=20Postgresql=20JDBC=20=20to=20use=20some=20unsafe=20methods=20to=20= get=20char=20arrays=0A=0A=0AThis=20was=20before:=0A=20=2041.8%=20-=20462=20ms=20= -=204=20inv.=20com.zaxxer.hikari.proxy.ConnectionJavassistProxy.prepareStatement= =0A=20=2041.8%=20-=20462=20ms=20-=204=20inv.=20com.zaxxer.hikari.proxy.Connectio= nProxy.prepareStatement=0A=20=2041.8%=20-=20462=20ms=20-=204=20inv.=20java.sql.C= onnection.prepareStatement=0A=20=2041.8%=20-=20462=20ms=20-=204=20inv.=20org.pos= tgresql.jdbc2.AbstractJdbc2Connection.prepareStatement=0A=20=2041.8%=20-=20462=20= ms=20-=204=20inv.=20org.postgresql.jdbc3.AbstractJdbc3Connection.prepareStatemen= t=0A=20=2041.8%=20-=20462=20ms=20-=204=20inv.=20org.postgresql.jdbc4.Jdbc4Connec= tion.prepareStatement=0A=20=2041.8%=20-=20462=20ms=20-=204=20inv.=20org.postgres= ql.jdbc4.Jdbc4PreparedStatement.=0A=20=2041.8%=20-=20462=20ms=20-=204=20in= v.=20org.postgresql.jdbc4.Jdbc4PreparedStatement.=0A=20=2041.8%=20-=20462=20= ms=20-=204=20inv.=20org.postgresql.jdbc4.Jdbc4Statement.=0A=20=2041.8%=20-= =20462=20ms=20-=204=20inv.=20org.postgresql.jdbc4.AbstractJdbc4Statement.=0A= =20=2041.8%=20-=20462=20ms=20-=204=20inv.=20org.postgresql.jdbc3g.AbstractJdbc3g= Statement.=0A=20=2041.8%=20-=20462=20ms=20-=204=20inv.=20org.postgresql.jd= bc3.AbstractJdbc3Statement.=0A=20=2041.8%=20-=20462=20ms=20-=204=20inv.=20= org.postgresql.jdbc2.AbstractJdbc2Statement.=0A=20=2040.3%=20-=20445=20ms=20= -=204=20inv.=20org.postgresql.core.v3.QueryExecutorImpl.createParameterizedQuery= =0A=20=2040.3%=20-=20445=20ms=20-=204=20inv.=20org.postgresql.core.v3.QueryExecu= torImpl.parseQuery=0A=20=2040.2%=20-=20445=20ms=20-=204=20inv.=20java.lang.Strin= g.toCharArray=20<------(Yeah=20seriously)=0A=0A=0A=0AI=20forgot=20to=20print=20t= he=20after=20but=20the=20after,=20my=20slowest=20method=20was=20StringBuffer.toS= tring()=20in=20the=20after=0A=0A=0AEven=20before=20and=20after=20my=20changes=20= I=20kept=20getting=20failed=20tests=20(I=20skipped=20SSL=20tests=20for=20now=20b= ecause=20I=20still=20can't=20figure=20out=20TestNG's=20@Provider=20annotation)=0A= =0A=0A=0A=0A1.=20This=20is=20obvious=20I=20can=20fix=20myself:=0A=0A\build.xml=20= (The=20system=20cannot=20find=20the=20file=20specified)=0Ajava.io.FileNotFoundEx= ception:=20\build.xml=20(The=20system=20cannot=20find=20the=20file=20specified)=0A= =09at=20java.io.FileInputStream.open(Native=20Method)=0A=09at=20java.io.FileInpu= tStream.(FileInputStream.java:138)=0A=09at=20java.io.FileInputStream.(FileInputStream.java:93)=0A=09at=20org.postgresql.test.jdbc2.BlobTest.compareB= lobsLOAPI(BlobTest.java:270)=0A=09at=20org.postgresql.test.jdbc2.BlobTest.testUp= loadBlob_LOOP(BlobTest.java:119)=0A=0A=0A2.=20This=20is=20obvious=20I=20can=20fi= x=20myself=0A\build.xml=20(The=20system=20cannot=20find=20the=20file=20specified= )=0Ajava.io.FileNotFoundException:=20\build.xml=20(The=20system=20cannot=20find=20= the=20file=20specified)=0A=09at=20java.io.FileInputStream.open(Native=20Method)=0A= =09at=20java.io.FileInputStream.(FileInputStream.java:138)=0A=09at=20java.= io.FileInputStream.(FileInputStream.java:93)=0A=09at=20org.postgresql.test= .jdbc2.BlobTest.compareBlobs(BlobTest.java:312)=0A=09at=20org.postgresql.test.jd= bc2.BlobTest.testUploadBlob_NATIVE(BlobTest.java:133)=0A=0A=0A=0A=0A3.=20No=20cl= ue=0Aexpected=20[0]=20but=20found=20[-1]=0Ajava.lang.AssertionError:=20expected=20= [0]=20but=20found=20[-1]=0A=09at=20org.testng.Assert.fail(Assert.java:94)=0A=09a= t=20org.testng.Assert.failNotEquals(Assert.java:494)=0A=09at=20org.testng.Assert= .assertEquals(Assert.java:123)=0A=09at=20org.testng.Assert.assertEquals(Assert.j= ava:370)=0A=09at=20org.testng.Assert.assertEquals(Assert.java:380)=0A=09at=20org= .postgresql.test.jdbc4.PGCopyInputStreamTest.testReadBytesCorrectlyHandlesEof(PG= CopyInputStreamTest.java:45)=0A=0A=0A=0A=0A4.=20This=20one=20is=20weird=20=20if=20= I=20run=20it=20separate=20it=20works=0AERROR:=20could=20not=20determine=20data=20= type=20of=20parameter=20$1=0Aorg.postgresql.util.PSQLException:=20ERROR:=20could= =20not=20determine=20data=20type=20of=20parameter=20$1=0A=09at=20org.postgresql.= core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2100)=0A=09= at=20org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.j= ava:1839)=0A=09at=20org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecut= orImpl.java:249)=0A=09at=20org.postgresql.jdbc2.AbstractJdbc2Statement.execute(A= bstractJdbc2Statement.java:550)=0A=09at=20org.postgresql.jdbc2.AbstractJdbc2Stat= ement.executeWithFlags(AbstractJdbc2Statement.java:418)=0A=09at=20org.postgresql= .jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:412)=0A=09at=20= org.postgresql.test.jdbc2.PreparedStatementTest.testComments(PreparedStatementTe= st.java:406)=0A=0A=0A=0A=0A5.=20This=20one=20is=20weird=20=20if=20I=20run=20it=20= separate=20it=20works=0AERROR:=20could=20not=20determine=20data=20type=20of=20pa= rameter=20$1=0Aorg.postgresql.util.PSQLException:=20ERROR:=20could=20not=20deter= mine=20data=20type=20of=20parameter=20$1=0A=09at=20org.postgresql.core.v3.QueryE= xecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2100)=0A=09at=20org.post= gresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1839)=0A=09= at=20org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:249= )=0A=09at=20org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Sta= tement.java:550)=0A=09at=20org.postgresql.jdbc2.AbstractJdbc2Statement.executeWi= thFlags(AbstractJdbc2Statement.java:418)=0A=09at=20org.postgresql.jdbc2.Abstract= Jdbc2Statement.execute(AbstractJdbc2Statement.java:412)=0A=09at=20org.postgresql= .test.jdbc2.PreparedStatementTest.testDollarQuotes(PreparedStatementTest.java:35= 9)=0A=0A=0A=0A=0A5.=20This=20is=20obvious=0ALarge=20Objects=20may=20not=20be=20u= sed=20in=20auto-commit=20mode.=0Aorg.postgresql.util.PSQLException:=20Large=20Ob= jects=20may=20not=20be=20used=20in=20auto-commit=20mode.=0A=09at=20org.postgresq= l.largeobject.LargeObjectManager.createLO(LargeObjectManager.java:287)=0A=09at=20= org.postgresql.largeobject.LargeObjectManager.createLO(LargeObjectManager.java:2= 75)=0A=09at=20org.postgresql.jdbc2.AbstractJdbc2Statement.setBinaryStream(Abstra= ctJdbc2Statement.java:1536)=0A=09at=20org.postgresql.jdbc2.AbstractJdbc2Statemen= t.setAsciiStream(AbstractJdbc2Statement.java:1467)=0A=09at=20org.postgresql.test= .jdbc2.PreparedStatementTest.doSetAsciiStream(PreparedStatementTest.java:175)=0A= =09at=20org.postgresql.test.jdbc2.PreparedStatementTest.testSetAsciiStream(Prepa= redStatementTest.java:79)=0A=0A=0A=0A=0A6.=20No=20clue=0AERROR:=20column=20"bin"= =20is=20of=20type=20bytea=20but=20expression=20is=20of=20type=20oid=0A=20=20Hint= :=20You=20will=20need=20to=20rewrite=20or=20cast=20the=20expression.=0A=20=20Pos= ition:=2043=0Aorg.postgresql.util.PSQLException:=20ERROR:=20column=20"bin"=20is=20= of=20type=20bytea=20but=20expression=20is=20of=20type=20oid=0A=20=20Hint:=20You=20= will=20need=20to=20rewrite=20or=20cast=20the=20expression.=0A=20=20Position:=204= 3=0A=09at=20org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryE= xecutorImpl.java:2100)=0A=09at=20org.postgresql.core.v3.QueryExecutorImpl.proces= sResults(QueryExecutorImpl.java:1839)=0A=09at=20org.postgresql.core.v3.QueryExec= utorImpl.execute(QueryExecutorImpl.java:249)=0A=09at=20org.postgresql.jdbc2.Abst= ractJdbc2Statement.execute(AbstractJdbc2Statement.java:550)=0A=09at=20org.postgr= esql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:4= 18)=0A=09at=20org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(Abstract= Jdbc2Statement.java:368)=0A=09at=20org.postgresql.test.jdbc2.PreparedStatementTe= st.doSetBinaryStream(PreparedStatementTest.java:168)=0A=09at=20org.postgresql.te= st.jdbc2.PreparedStatementTest.testSetBinaryStream(PreparedStatementTest.java:58= )=0A=0A=0A=0A=0A7.=20No=20clue=0AShould=20have=20failed=20with=20type=20mismatch= .=0Ajava.lang.AssertionError:=20Should=20have=20failed=20with=20type=20mismatch.= =0A=09at=20org.testng.Assert.fail(Assert.java:94)=0A=09at=20org.postgresql.test.= jdbc2.PreparedStatementTest.testUnknownSetObject(PreparedStatementTest.java:768)= =0A=0A=0A=0A=0A8.=20No=20clue=0AERROR:=20column=20"data"=20is=20of=20type=20byte= a=20but=20expression=20is=20of=20type=20bigint=0A=20=20Hint:=20You=20will=20need= =20to=20rewrite=20or=20cast=20the=20expression.=0A=20=20Position:=2046=0Aorg.pos= tgresql.util.PSQLException:=20ERROR:=20column=20"data"=20is=20of=20type=20bytea=20= but=20expression=20is=20of=20type=20bigint=0A=20=20Hint:=20You=20will=20need=20t= o=20rewrite=20or=20cast=20the=20expression.=0A=20=20Position:=2046=0A=09at=20org= .postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.jav= a:2100)=0A=09at=20org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryE= xecutorImpl.java:1839)=0A=09at=20org.postgresql.core.v3.QueryExecutorImpl.execut= e(QueryExecutorImpl.java:249)=0A=09at=20org.postgresql.jdbc2.AbstractJdbc2Statem= ent.execute(AbstractJdbc2Statement.java:550)=0A=09at=20org.postgresql.jdbc2.Abst= ractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:418)=0A=09at=20o= rg.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(AbstractJdbc2Statement.= java:368)=0A=09at=20org.postgresql.test.jdbc2.ServerCursorTest.createRows(Server= CursorTest.java:46)=0A=09at=20org.postgresql.test.jdbc2.ServerCursorTest.testBas= icFetch(ServerCursorTest.java:54)=0A=0A=0A=0A=0A9.=20No=20clue=0AERROR:=20column= =20"data"=20is=20of=20type=20bytea=20but=20expression=20is=20of=20type=20bigint=0A= =20=20Hint:=20You=20will=20need=20to=20rewrite=20or=20cast=20the=20expression.=0A= =20=20Position:=2046=0Aorg.postgresql.util.PSQLException:=20ERROR:=20column=20"d= ata"=20is=20of=20type=20bytea=20but=20expression=20is=20of=20type=20bigint=0A=20= =20Hint:=20You=20will=20need=20to=20rewrite=20or=20cast=20the=20expression.=0A=20= =20Position:=2046=0A=09at=20org.postgresql.core.v3.QueryExecutorImpl.receiveErro= rResponse(QueryExecutorImpl.java:2100)=0A=09at=20org.postgresql.core.v3.QueryExe= cutorImpl.processResults(QueryExecutorImpl.java:1839)=0A=09at=20org.postgresql.c= ore.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:249)=0A=09at=20org.postg= resql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:550)=0A=09= at=20org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2S= tatement.java:418)=0A=09at=20org.postgresql.jdbc2.AbstractJdbc2Statement.execute= Update(AbstractJdbc2Statement.java:368)=0A=09at=20org.postgresql.test.jdbc2.Serv= erCursorTest.createRows(ServerCursorTest.java:46)=0A=09at=20org.postgresql.test.= jdbc2.ServerCursorTest.testBinaryFetch(ServerCursorTest.java:73)=0A=0A=0A=0A=0A1= 0.=20No=20clue=0AERROR:=20column=20"data"=20is=20of=20type=20bytea=20but=20expre= ssion=20is=20of=20type=20bigint=0A=20=20Hint:=20You=20will=20need=20to=20rewrite= =20or=20cast=20the=20expression.=0A=20=20Position:=2041=0Aorg.postgresql.util.PS= QLException:=20ERROR:=20column=20"data"=20is=20of=20type=20bytea=20but=20express= ion=20is=20of=20type=20bigint=0A=20=20Hint:=20You=20will=20need=20to=20rewrite=20= or=20cast=20the=20expression.=0A=20=20Position:=2041=0A=09at=20org.postgresql.co= re.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2100)=0A=09a= t=20org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.ja= va:1839)=0A=09at=20org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecuto= rImpl.java:249)=0A=09at=20org.postgresql.jdbc2.AbstractJdbc2Statement.execute(Ab= stractJdbc2Statement.java:550)=0A=09at=20org.postgresql.jdbc2.AbstractJdbc2State= ment.executeWithFlags(AbstractJdbc2Statement.java:418)=0A=09at=20org.postgresql.= jdbc2.AbstractJdbc2Statement.executeUpdate(AbstractJdbc2Statement.java:368)=0A=09= at=20org.postgresql.test.jdbc2.ServerPreparedStmtTest.testBytea(ServerPreparedSt= mtTest.java:230)=0A=0A=0A=0A=0A11.=20No=20clue=0AERROR:=20invalid=20input=20synt= ax=20for=20integer:=20"test=20string"=0Aorg.postgresql.util.PSQLException:=20ERR= OR:=20invalid=20input=20syntax=20for=20integer:=20"test=20string"=0A=09at=20org.= postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java= :2100)=0A=09at=20org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryEx= ecutorImpl.java:1839)=0A=09at=20org.postgresql.core.v3.QueryExecutorImpl.execute= (QueryExecutorImpl.java:249)=0A=09at=20org.postgresql.jdbc2.AbstractJdbc2Stateme= nt.execute(AbstractJdbc2Statement.java:550)=0A=09at=20org.postgresql.jdbc2.Abstr= actJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:418)=0A=09at=20or= g.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statement.ja= va:311)=0A=09at=20org.postgresql.test.jdbc2.ServerPreparedStmtTest.testTypeChang= e(ServerPreparedStmtTest.java:286)=0A=0A=0A=0A=0A12.=20Not=20gonna=20fix=20yet=0A= Can't=20invoke=20public=20void=20org.postgresql.test.ssl.SslTest.runTest()=20thr= ows=20java.lang.Throwable:=20either=20make=20it=20static=20or=20add=20a=20no-arg= s=20constructor=20to=20your=20class=0Aorg.testng.TestNGException:=20=0ACan't=20i= nvoke=20public=20void=20org.postgresql.test.ssl.SslTest.runTest()=20throws=20jav= a.lang.Throwable:=20either=20make=20it=20static=20or=20add=20a=20no-args=20const= ructor=20to=20your=20class=0A=09at=20org.testng.internal.Utils.checkInstanceOrSt= atic(Utils.java:795)=0A=0A=0A13.=20No=20clue=0AERROR:=20column=20"bin"=20is=20of= =20type=20bytea=20but=20expression=20is=20of=20type=20bigint=0A=20=20Hint:=20You= =20will=20need=20to=20rewrite=20or=20cast=20the=20expression.=0A=20=20Position:=20= 65=0Aorg.postgresql.util.PSQLException:=20ERROR:=20column=20"bin"=20is=20of=20ty= pe=20bytea=20but=20expression=20is=20of=20type=20bigint=0A=20=20Hint:=20You=20wi= ll=20need=20to=20rewrite=20or=20cast=20the=20expression.=0A=20=20Position:=2065=0A= =09at=20org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecu= torImpl.java:2100)=0A=09at=20org.postgresql.core.v3.QueryExecutorImpl.processRes= ults(QueryExecutorImpl.java:1839)=0A=09at=20org.postgresql.core.v3.QueryExecutor= Impl.execute(QueryExecutorImpl.java:249)=0A=09at=20org.postgresql.jdbc2.Abstract= Jdbc2Statement.execute(AbstractJdbc2Statement.java:550)=0A=09at=20org.postgresql= .jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:418)=0A= =09at=20org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(AbstractJdbc2S= tatement.java:368)=0A=09at=20org.postgresql.jdbc2.AbstractJdbc2ResultSet.insertR= ow(AbstractJdbc2ResultSet.java:849)=0A=09at=20org.postgresql.test.jdbc2.Updateab= leResultTest.testUpdateStreams(UpdateableResultTest.java:225)=0A=0A=0AIf=20anyon= e=20could=20help=20it=20would=20be=20greatly=20appreciated,=20I=20used=20gradle=20= so=20all=20you=20have=20to=20do=20is:=20"gradlew=20test"=20you=20don't=20need=20= to=20have=20Groovy=20or=20Gradle=20installed=20=0AConnection=20properties=20are=20= set=20in=20src/test/resources/test.properties=0AMy=20repo:=20https://github.com/= RapidTransit/postgres=0A=0A=0A=0A=0A=0A=0A=0A=0A ----------MB_8D1D617847428DD_D6C_6CC2_webmail-va036.sysops.aol.com Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="us-ascii" Version=209.3.4
=0A
= =0A
=0A=0A-----Original=20Message-----
=0AFrom:=20Dave=20Cramer=20<pg@fastcrypt= .com>
=0ATo:=20rapidtransit440=20<rapidtransit440@aol.com>
=0ACc:= =20List=20<pgsql-jdbc@postgresql.org>
=0ASent:=20Mon,=20Nov=2024,=20201= 4=208:21=20am
=0ASubject:=20Re:=20[JDBC]=20Having=20issues=20with=20tests
= =0A
=0A=0A=0A=0A=0A=0A=0AWhat=20version=20of=20postgres=20are=20you=20runn= ing=20this=20on=20?=0A=0A= =0A
=0ADave=20Cramer
=0A
=0Adave.cram= er(at)credativ(dot)ca
=0Ahttp://www.credativ.ca
=0A
=0A=0A= =0A
=0A=0AOn=2023=20November=202014=20at=2011:04= ,=20=20<rapidtransit440@aol.com>=20wrote:
=0AI=20recently=20forked=20Post= gresql=20JDBC=20 to=20use=20some=20unsafe=20methods=20to=20get=20char=20arr= ays=0A=0A
=0A=0A

=0A=0A<= /div>=0A=0A=0A=0A
This=20was=20before:
=0A= =0A=0A=0A
 =2041.8%=20-=20462=20ms=20-=204=20inv= .=20com.zaxxer.hikari.proxy.ConnectionJavassistProxy.prepareStatement=0A=0A=0A=0A
 =2041.8%=20-=20462=20ms=20-=204=20= inv.=20com.zaxxer.hikari.proxy.ConnectionProxy.prepareStatement
=0A=0A= =0A=0A
 =2041.8%=20-=20462=20ms=20-=204=20inv.=20= java.sql.Connection.prepareStatement
=0A=0A=0A=0A
 =2041.8%=20-=20462=20ms=20-=204=20inv.=20org.postgresql.jdbc2.Abst= ractJdbc2Connection.prepareStatement
=0A=0A=0A=0A
 =2041.8%=20-=20462=20ms=20-=204=20inv.=20org.postgresql.jdbc3.Abst= ractJdbc3Connection.prepareStatement
=0A=0A=0A=0A
 =2041.8%=20-=20462=20ms=20-=204=20inv.=20org.postgresql.jdbc4.Jdbc= 4Connection.prepareStatement
=0A=0A=0A=0A
 =2041.8%=20-=20462=20ms=20-=204=20inv.=20org.postgresql.jdbc4.Jdbc4Prepar= edStatement.<init>
=0A=0A=0A=0A
&nb= sp;=2041.8%=20-=20462=20ms=20-=204=20inv.=20org.postgresql.jdbc4.Jdbc4PreparedSt= atement.<init>
=0A=0A=0A=0A
 =20= 41.8%=20-=20462=20ms=20-=204=20inv.=20org.postgresql.jdbc4.Jdbc4Statement.<in= it>
=0A=0A=0A=0A
 =2041.8%=20-=20= 462=20ms=20-=204=20inv.=20org.postgresql.jdbc4.AbstractJdbc4Statement.<init&g= t;
=0A=0A=0A=0A
 =2041.8%=20-=20462=20= ms=20-=204=20inv.=20org.postgresql.jdbc3g.AbstractJdbc3gStatement.<init>
=0A=0A=0A=0A
 =2041.8%=20-=20462=20ms= =20-=204=20inv.=20org.postgresql.jdbc3.AbstractJdbc3Statement.<init>
=0A=0A=0A=0A
 =2041.8%=20-=20462=20ms=20-= =204=20inv.=20org.postgresql.jdbc2.AbstractJdbc2Statement.<init>=0A=0A=0A=0A
 =2040.3%=20-=20445=20ms=20-=204= =20inv.=20org.postgresql.core.v3.QueryExecutorImpl.createParameterizedQuery
=0A=0A=0A=0A
 =2040.3%=20-=20445=20ms=20= -=204=20inv.=20org.postgresql.core.v3.QueryExecutorImpl.parseQuery
=0A= =0A=0A=0A
 =2040.2%=20-=20445=20ms=20-=204=20inv= .=20java.lang.String.toCharArray=20<------(Yeah=20seriously)
=0A=0A=
=0A=0A=0A=0A

=0A=0A
=0A=0A=0A=0A=
I=20forgot=20to=20print=20the=20after=20but=20the=20= after,=20my=20slowest=20method=20was=20StringBuffer.toString()=20in=20the=20afte= r
=0A=0A=0A=0A

=0A=0A
=0A= =0A=0A=0A
Even=20before=20and=20after=20my=20changes=20= I=20kept=20getting=20failed=20tests=20(I=20skipped=20SSL=20tests=20for=20now=20b= ecause=20I=20still=20can't=20figure=20out=20TestNG's=20@Provider=20annotation)
=0A=0A=0A=0A

=0A=0A
=0A=0A= =0A=0A

=0A=0A
=0A=0A=0A=0A
1.=20This=20is=20obvious=20I=20can=20fix=20myself:
=0A= =0A=0A=0A
=0A=0A
\build.xml=20(The=20system=20can= not=20find=20the=20file=20specified)
=0A=0A=0A=0A
java.io.FileNotFoundE= xception:=20\build.xml=20(The=20system=20cannot=20find=20the=20file=20specified)=
=0A=0A=0A=0A
=09at=20jav= a.io.FileInputStream.open(Native=20Method)
=0A=0A=0A=0A
=09at=20java.io.FileInputStream.<init>(FileI= nputStream.java:138)
=0A=0A=0A=0A
=09at=20java.io.FileInputStream.<init>(FileInputStream.java:93)=0A=0A=0A=0A
=09at=20org.p= ostgresql.test.jdbc2.BlobTest.compareBlobsLOAPI(BlobTest.java:270)
=0A=0A=0A= =0A
=09at=20org.postgresql.tes= t.jdbc2.BlobTest.testUploadBlob_LOOP(BlobTest.java:119)
=0A=0A=0A=0A
=0A=0A
=0A=0A=0A=0A
2.=20This=20is=20obvious=20I=20can=20fix=20myself
=0A=0A=0A=0A
\build.xml=20(The=20system=20cannot=20find=20the=20file=20specified= )
=0A=0A=0A=0A
java.io.FileNotFoundException:=20\build.xml=20(The=20sys= tem=20cannot=20find=20the=20file=20specified)
=0A=0A=0A=0A
=09at=20java.io.FileInputStream.open(Native=20= Method)
=0A=0A=0A=0A
=09a= t=20java.io.FileInputStream.<init>(FileInputStream.java:138)
=0A=0A=0A= =0A
=09at=20java.io.FileInputS= tream.<init>(FileInputStream.java:93)
=0A=0A=0A=0A
=09at=20org.postgresql.test.jdbc2.BlobTest.compare= Blobs(BlobTest.java:312)
=0A=0A=0A=0A
=09at=20org.postgresql.test.jdbc2.BlobTest.testUploadBlob_NATIVE(Bl= obTest.java:133)
=0A=0A=0A=0A

=0A=0A
=0A=0A=0A=0A

=0A=0A=
=0A=0A=0A=0A
3.=20No=20clue
=0A=0A=0A=0A
expected=20[0]=20but= =20found=20[-1]
=0A=0A=0A=0A
java.lang.AssertionError:=20expected=20[0]= =20but=20found=20[-1]
=0A=0A=0A=0A
=09at=20org.testng.Assert.fail(Assert.java:94)
=0A=0A=0A=0A
<= span=20style=3D"white-space:pre-wrap">=09at=20org.testng.Assert.failNotEq= uals(Assert.java:494)
=0A=0A=0A=0A
=09at=20org.testng.Assert.assertEquals(Assert.java:123)
=0A=0A=0A= =0A
=09at=20org.testng.Assert.= assertEquals(Assert.java:370)
=0A=0A=0A=0A
=09at=20org.testng.Assert.assertEquals(Assert.java:380)
=0A= =0A=0A=0A
=09at=20org.postgres= ql.test.jdbc4.PGCopyInputStreamTest.testReadBytesCorrectlyHandlesEof(PGCopyInput= StreamTest.java:45)
=0A=0A=0A=0A

=0A=0A
=0A=0A=0A=0A

=0A= =0A
=0A=0A=0A=0A
4.=20This=20one=20is=20weird=20 if=20I=20run=20it= =20separate=20it=20works
=0A=0A=0A=0A
ERROR:=20could=20not=20determine=20= data=20type=20of=20parameter=20$1
=0A=0A=0A=0A
org.postgresql.util.PSQL= Exception:=20ERROR:=20could=20not=20determine=20data=20type=20of=20parameter=20$= 1
=0A=0A=0A=0A
=09at=20or= g.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.ja= va:2100)
=0A=0A=0A=0A
=09= at=20org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.j= ava:1839)
=0A=0A=0A=0A
=09at=20org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:24= 9)
=0A=0A=0A=0A
=09at=20o= rg.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:5= 50)
=0A=0A=0A=0A
=09at=20= org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statem= ent.java:418)
=0A=0A=0A=0A
=09at=20org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2State= ment.java:412)
=0A=0A=0A=0A
=09<= /span>at=20org.postgresql.test.jdbc2.PreparedStatementTest.testComments(Prepared= StatementTest.java:406)
=0A=0A=0A=0A

=0A=0A
=0A=0A=0A=0A
<= br>=0A=0A
=0A=0A=0A=0A
5.=20This=20one=20is=20weird=20 if=20I=20ru= n=20it=20separate=20it=20works
=0A=0A=0A=0A
ERROR:=20could=20not=20dete= rmine=20data=20type=20of=20parameter=20$1
=0A=0A=0A=0A
org.postgresql.u= til.PSQLException:=20ERROR:=20could=20not=20determine=20data=20type=20of=20param= eter=20$1
=0A=0A=0A=0A
=09at=20org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecuto= rImpl.java:2100)
=0A=0A=0A=0A
=09= at=20org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecuto= rImpl.java:1839)
=0A=0A=0A=0A
=09= at=20org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.j= ava:249)
=0A=0A=0A=0A
=09= at=20org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.= java:550)
=0A=0A=0A=0A
=09at=20org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2= Statement.java:418)
=0A=0A=0A=0A
=09at=20org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc= 2Statement.java:412)
=0A=0A=0A=0A
=09at=20org.postgresql.test.jdbc2.PreparedStatementTest.testDollarQuote= s(PreparedStatementTest.java:359)
=0A=0A=0A=0A

=0A=0A
=0A=0A=0A= =0A

=0A=0A
=0A=0A=0A=0A
5.=20This=20is=20obvious
=0A=0A=0A= =0A
Large=20Objects=20may=20not=20be=20used=20in=20auto-commit=20mode.
= =0A=0A=0A=0A
org.postgresql.util.PSQLException:=20Large=20Objects=20may=20no= t=20be=20used=20in=20auto-commit=20mode.
=0A=0A=0A=0A
=09at=20org.postgresql.largeobject.LargeObjectManag= er.createLO(LargeObjectManager.java:287)
=0A=0A=0A=0A
=09at=20org.postgresql.largeobject.LargeObjectManag= er.createLO(LargeObjectManager.java:275)
=0A=0A=0A=0A
=09at=20org.postgresql.jdbc2.AbstractJdbc2Statement= .setBinaryStream(AbstractJdbc2Statement.java:1536)
=0A=0A=0A=0A
=09at=20org.postgresql.jdbc2.AbstractJdbc2= Statement.setAsciiStream(AbstractJdbc2Statement.java:1467)
=0A=0A=0A=0A=09at=20org.postgresql.test.jdbc2= .PreparedStatementTest.doSetAsciiStream(PreparedStatementTest.java:175)
=0A= =0A=0A=0A
=09at=20org.postgres= ql.test.jdbc2.PreparedStatementTest.testSetAsciiStream(PreparedStatementTest.jav= a:79)
=0A=0A=0A=0A

=0A=0A
=0A=0A=0A=0A

=0A=0A
=0A= =0A=0A=0A
6.=20No=20clue
=0A=0A=0A=0A
ERROR:=20column=20"bin"=20is=20= of=20type=20bytea=20but=20expression=20is=20of=20type=20oid
=0A=0A=0A=0A =20Hint:=20You=20will=20need=20to=20rewrite=20or=20cast=20the=20expressi= on.
=0A=0A=0A=0A
 =20Position:=2043
=0A=0A=0A=0A
org.post= gresql.util.PSQLException:=20ERROR:=20column=20"bin"=20is=20of=20type=20bytea=20= but=20expression=20is=20of=20type=20oid
=0A=0A=0A=0A
 =20Hint:=20Y= ou=20will=20need=20to=20rewrite=20or=20cast=20the=20expression.
=0A=0A=0A=0A=
 =20Position:=2043
=0A=0A=0A=0A
=09at=20org.postgresql.core.v3.QueryExecutorImpl.receiveErrorRe= sponse(QueryExecutorImpl.java:2100)
=0A=0A=0A=0A
=09at=20org.postgresql.core.v3.QueryExecutorImpl.process= Results(QueryExecutorImpl.java:1839)
=0A=0A=0A=0A
=09at=20org.postgresql.core.v3.QueryExecutorImpl.execut= e(QueryExecutorImpl.java:249)
=0A=0A=0A=0A
=09at=20org.postgresql.jdbc2.AbstractJdbc2Statement.execute(Ab= stractJdbc2Statement.java:550)
=0A=0A=0A=0A
=09at=20org.postgresql.jdbc2.AbstractJdbc2Statement.executeWi= thFlags(AbstractJdbc2Statement.java:418)
=0A=0A=0A=0A
=09at=20org.postgresql.jdbc2.AbstractJdbc2Statement= .executeUpdate(AbstractJdbc2Statement.java:368)
=0A=0A=0A=0A
=09at=20org.postgresql.test.jdbc2.PreparedSt= atementTest.doSetBinaryStream(PreparedStatementTest.java:168)
=0A=0A=0A=0A<= div>=09at=20org.postgresql.test.jd= bc2.PreparedStatementTest.testSetBinaryStream(PreparedStatementTest.java:58)=0A=0A=0A=0A

=0A=0A
=0A=0A=0A=0A

=0A=0A
=0A=0A=0A=0A=
7.=20No=20clue
=0A=0A=0A=0A
Should=20have=20failed=20with=20type=20= mismatch.
=0A=0A=0A=0A
java.lang.AssertionError:=20Should=20have=20fail= ed=20with=20type=20mismatch.
=0A=0A=0A=0A
=09at=20org.testng.Assert.fail(Assert.java:94)
=0A=0A=0A=0A=
=09at=20org.postgresql.test.j= dbc2.PreparedStatementTest.testUnknownSetObject(PreparedStatementTest.java:768)<= /div>=0A=0A=0A=0A

=0A=0A
=0A=0A=0A=0A

=0A=0A
=0A=0A=0A= =0A
8.=20No=20clue
=0A=0A=0A=0A
ERROR:=20column=20"data"=20is=20of=20= type=20bytea=20but=20expression=20is=20of=20type=20bigint
=0A=0A=0A=0A
=  =20Hint:=20You=20will=20need=20to=20rewrite=20or=20cast=20the=20expression= .
=0A=0A=0A=0A
 =20Position:=2046
=0A=0A=0A=0A
org.postgr= esql.util.PSQLException:=20ERROR:=20column=20"data"=20is=20of=20type=20bytea=20b= ut=20expression=20is=20of=20type=20bigint
=0A=0A=0A=0A
 =20Hint:=20= You=20will=20need=20to=20rewrite=20or=20cast=20the=20expression.
=0A=0A=0A=0A=
 =20Position:=2046
=0A=0A=0A=0A
=09at=20org.postgresql.core.v3.QueryExecutorImpl.receiveErrorRe= sponse(QueryExecutorImpl.java:2100)
=0A=0A=0A=0A
=09at=20org.postgresql.core.v3.QueryExecutorImpl.process= Results(QueryExecutorImpl.java:1839)
=0A=0A=0A=0A
=09at=20org.postgresql.core.v3.QueryExecutorImpl.execut= e(QueryExecutorImpl.java:249)
=0A=0A=0A=0A
=09at=20org.postgresql.jdbc2.AbstractJdbc2Statement.execute(Ab= stractJdbc2Statement.java:550)
=0A=0A=0A=0A
=09at=20org.postgresql.jdbc2.AbstractJdbc2Statement.executeWi= thFlags(AbstractJdbc2Statement.java:418)
=0A=0A=0A=0A
=09at=20org.postgresql.jdbc2.AbstractJdbc2Statement= .executeUpdate(AbstractJdbc2Statement.java:368)
=0A=0A=0A=0A
=09at=20org.postgresql.test.jdbc2.ServerCurs= orTest.createRows(ServerCursorTest.java:46)
=0A=0A=0A=0A
=09at=20org.postgresql.test.jdbc2.ServerCursorTest= .testBasicFetch(ServerCursorTest.java:54)
=0A=0A=0A=0A

=0A=0A
= =0A=0A=0A=0A

=0A=0A
=0A=0A=0A=0A
9.=20No=20clue
=0A=0A=0A=0A=
ERROR:=20column=20"data"=20is=20of=20type=20bytea=20but=20expression=20is=20= of=20type=20bigint
=0A=0A=0A=0A
 =20Hint:=20You=20will=20need=20to= =20rewrite=20or=20cast=20the=20expression.
=0A=0A=0A=0A
 =20Positi= on:=2046
=0A=0A=0A=0A
org.postgresql.util.PSQLException:=20ERROR:=20col= umn=20"data"=20is=20of=20type=20bytea=20but=20expression=20is=20of=20type=20bigi= nt
=0A=0A=0A=0A
 =20Hint:=20You=20will=20need=20to=20rewrite=20or=20= cast=20the=20expression.
=0A=0A=0A=0A
 =20Position:=2046
=0A=0A= =0A=0A
=09at=20org.postgresql.= core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2100)=0A=0A=0A=0A
=09at=20org.post= gresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1839)=0A=0A=0A=0A
=09at=20org.pos= tgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:249)
=0A=0A= =0A=0A
=09at=20org.postgresql.= jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:550)
=0A=0A= =0A=0A
=09at=20org.postgresql.= jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:418)=0A=0A=0A=0A
=09at=20org.p= ostgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(AbstractJdbc2Statement.java= :368)
=0A=0A=0A=0A
=09at=20= org.postgresql.test.jdbc2.ServerCursorTest.createRows(ServerCursorTest.java:46)<= /div>=0A=0A=0A=0A
=09at=20org.= postgresql.test.jdbc2.ServerCursorTest.testBinaryFetch(ServerCursorTest.java:73)=
=0A=0A=0A=0A

=0A=0A
=0A=0A=0A=0A

=0A=0A
=0A=0A=0A= =0A
10.=20No=20clue
=0A=0A=0A=0A
ERROR:=20column=20"data"=20is=20of= =20type=20bytea=20but=20expression=20is=20of=20type=20bigint
=0A=0A=0A=0A =20Hint:=20You=20will=20need=20to=20rewrite=20or=20cast=20the=20express= ion.
=0A=0A=0A=0A
 =20Position:=2041
=0A=0A=0A=0A
org.pos= tgresql.util.PSQLException:=20ERROR:=20column=20"data"=20is=20of=20type=20bytea=20= but=20expression=20is=20of=20type=20bigint
=0A=0A=0A=0A
 =20Hint:=20= You=20will=20need=20to=20rewrite=20or=20cast=20the=20expression.
=0A=0A=0A=0A=
 =20Position:=2041
=0A=0A=0A=0A
=09at=20org.postgresql.core.v3.QueryExecutorImpl.receiveErrorRe= sponse(QueryExecutorImpl.java:2100)
=0A=0A=0A=0A
=09at=20org.postgresql.core.v3.QueryExecutorImpl.process= Results(QueryExecutorImpl.java:1839)
=0A=0A=0A=0A
=09at=20org.postgresql.core.v3.QueryExecutorImpl.execut= e(QueryExecutorImpl.java:249)
=0A=0A=0A=0A
=09at=20org.postgresql.jdbc2.AbstractJdbc2Statement.execute(Ab= stractJdbc2Statement.java:550)
=0A=0A=0A=0A
=09at=20org.postgresql.jdbc2.AbstractJdbc2Statement.executeWi= thFlags(AbstractJdbc2Statement.java:418)
=0A=0A=0A=0A
=09at=20org.postgresql.jdbc2.AbstractJdbc2Statement= .executeUpdate(AbstractJdbc2Statement.java:368)
=0A=0A=0A=0A
=09at=20org.postgresql.test.jdbc2.ServerPrep= aredStmtTest.testBytea(ServerPreparedStmtTest.java:230)
=0A=0A=0A=0A
=0A=0A
=0A=0A=0A=0A

=0A=0A
=0A=0A=0A=0A
11.=20No=20clue<= /div>=0A=0A=0A=0A
ERROR:=20invalid=20input=20syntax=20for=20integer:=20"test= =20string"
=0A=0A=0A=0A
org.postgresql.util.PSQLException:=20ERROR:=20i= nvalid=20input=20syntax=20for=20integer:=20"test=20string"
=0A=0A=0A=0A=09at=20org.postgresql.core.v3.Qu= eryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2100)
=0A=0A=0A= =0A
=09at=20org.postgresql.cor= e.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1839)
=0A=0A=0A= =0A
=09at=20org.postgresql.cor= e.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:249)
=0A=0A=0A=0A=09at=20org.postgresql.jdbc2.Abst= ractJdbc2Statement.execute(AbstractJdbc2Statement.java:550)
=0A=0A=0A=0A=09at=20org.postgresql.jdbc2.Abs= tractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:418)
=0A=0A= =0A=0A
=09at=20org.postgresql.= jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statement.java:311)
= =0A=0A=0A=0A
=09at=20org.postg= resql.test.jdbc2.ServerPreparedStmtTest.testTypeChange(ServerPreparedStmtTest.ja= va:286)
=0A=0A=0A=0A

=0A=0A
=0A=0A=0A=0A

=0A=0A
=0A= =0A=0A=0A
12.=20Not=20gonna=20fix=20yet
=0A=0A=0A=0A
Can't=20invoke= =20public=20void=20org.postgresql.test.ssl.SslTest.runTest()=20throws=20java.lan= g.Throwable:=20either=20make=20it=20static=20or=20add=20a=20no-args=20constructo= r=20to=20your=20class
=0A=0A=0A=0A
org.testng.TestNGException: =0A=0A=0A=0A
Can't=20invoke=20public=20void=20org.postgresql.test.ssl.Ssl= Test.runTest()=20throws=20java.lang.Throwable:=20either=20make=20it=20static=20o= r=20add=20a=20no-args=20constructor=20to=20your=20class
=0A=0A=0A=0A
=09at=20org.testng.internal.Utils.ch= eckInstanceOrStatic(Utils.java:795)
=0A=0A=0A=0A

=0A=0A
=0A=0A= =0A=0A
13.=20No=20clue
=0A=0A=0A=0A
ERROR:=20column=20"bin"=20is=20= of=20type=20bytea=20but=20expression=20is=20of=20type=20bigint
=0A=0A=0A=0A=
 =20Hint:=20You=20will=20need=20to=20rewrite=20or=20cast=20the=20expre= ssion.
=0A=0A=0A=0A
 =20Position:=2065
=0A=0A=0A=0A
org.p= ostgresql.util.PSQLException:=20ERROR:=20column=20"bin"=20is=20of=20type=20bytea= =20but=20expression=20is=20of=20type=20bigint
=0A=0A=0A=0A
 =20Hin= t:=20You=20will=20need=20to=20rewrite=20or=20cast=20the=20expression.
=0A=0A= =0A=0A
 =20Position:=2065
=0A=0A=0A=0A
=09at=20org.postgresql.core.v3.QueryExecutorImpl.receiveE= rrorResponse(QueryExecutorImpl.java:2100)
=0A=0A=0A=0A
=09at=20org.postgresql.core.v3.QueryExecutorImpl.p= rocessResults(QueryExecutorImpl.java:1839)
=0A=0A=0A=0A
=09at=20org.postgresql.core.v3.QueryExecutorImpl.e= xecute(QueryExecutorImpl.java:249)
=0A=0A=0A=0A
=09at=20org.postgresql.jdbc2.AbstractJdbc2Statement.execu= te(AbstractJdbc2Statement.java:550)
=0A=0A=0A=0A
=09at=20org.postgresql.jdbc2.AbstractJdbc2Statement.exec= uteWithFlags(AbstractJdbc2Statement.java:418)
=0A=0A=0A=0A
=09at=20org.postgresql.jdbc2.AbstractJdbc2Stat= ement.executeUpdate(AbstractJdbc2Statement.java:368)
=0A=0A=0A=0A
=09at=20org.postgresql.jdbc2.AbstractJd= bc2ResultSet.insertRow(AbstractJdbc2ResultSet.java:849)
=0A=0A=0A=0A
=09at=20org.postgresql.test.jdbc2.Up= dateableResultTest.testUpdateStreams(UpdateableResultTest.java:225)
=0A=0A=0A= =0A

=0A=0A
=0A=0A=0A=0A
If=20anyone=20could=20help=20it=20would= =20be=20greatly=20appreciated,=20I=20used=20gradle=20so=20all=20you=20have=20to=20= do=20is:=20"gradlew=20test"=20you=20don't=20need=20to=20have=20Groovy=20or=20Gra= dle=20installed 
=0A=0A=0A=0A
Connection=20properties=20are=20set=20= in=20src/test/resources/test.properties
=0A=0A=0A=0A
My=20repo:=20https://github.com/RapidTransit/postgres
=0A=0A=0A=0A
=0A=0A
=0A=0A=0A=0A

=0A=0A
=0A=0A
=0A=0A
=0A
=0A
=0A=0A=0A
=0A=0A=0A=0A=0A
=0A ----------MB_8D1D617847428DD_D6C_6CC2_webmail-va036.sysops.aol.com--