Thread: RE: [HACKERS] CVS, Java etc

RE: [HACKERS] CVS, Java etc

From
Peter Mount
Date:
There were a couple of typos that somehow crept in. I fixed them in cvs
just after 6.5 was released.

[snip]


javac postgresql/Driver.java
postgresql/Driver.java:107: Identifier expected.   } catch(PSQLException(ex1) {                             ^

This should read:   } catch(PSQLException ex1) {

postgresql/Driver.java:111: 'catch' without 'try'.   } catch(Exception ex2) {     ^

You need to add another catch before that line:
} catch(PSQLException pex) {  throw pex;} catch(Exception ex2) {

CVS has got these fixes in there, so as soon as you get it working
again, it should be ok.

Peter

-- 
Peter Mount
Enterprise Support
Maidstone Borough Council
Any views stated are my own, and not those of Maidstone Borough Council.



Unique index problem

From
Chris Bitmead
Date:
If I have a multi-field unique index, it allows me to insert duplicates
if one of the fields is null. Is this a bug or not?

-- 
Chris Bitmead
mailto:chris@tech.com.au