Обсуждение: RE: [HACKERS] CVS, Java etc

Поиск
Список
Период
Сортировка

RE: [HACKERS] CVS, Java etc

От
Peter Mount
Дата:
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

От
Chris Bitmead
Дата:
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