On Wed, 2002-07-31 at 12:45, Ricardo Kustner wrote:
> I recently setup a mmbase 1.5 site which used the editors from a recent
For the editors you had to change the jdbc driver???
Which editors? what did you replace?

> 1.6 version. In this case, I *had* to use the latest postgresql driver
The database layer didnt change with the byte handling. The only thing
that changed are:
        inheritance
        some foreinkey checking
(if updating execute following line's for conversion from 1.5 database
to 1.6 database (otherwise failure on new tables with database type
NODE)
CREATE FUNCTION ${BASENAME}_check_number (integer) RETURNS boolean AS 
        'SELECT CASE WHEN (( SELECT COUNT(*) 
        FROM ${BASENAME}_object
        WHERE ${BASENAME}_object.number = $1 ) > 0 ) THEN 1::boolean ELSE
0::boolean 
        END;'
LANGUAGE 'sql';
)

A lot of jdbc drivers of postgresl seem to be not working.

> to be able to upload the images. So maybe this has already been changed
> in cvs ? (if only there was a public cvsweb viewer for mmbase I could
> have a quick peek...)
Im using:
        psql (PostgreSQL) 7.2.1
        contains support for: readline, history, multibyte
        Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
        Portions Copyright (c) 1996, Regents of the University of California
        Read the file COPYRIGHT or use the command \copyright to see the
usage and distribution terms.

With a jdbc7.1-1.2.jar with a size of  93011
Using other jdbc drivers causes strange error when putting data inside
the database.

-- 
Eduard Witteveen Systeem Ontwikkelaar
NOS Internet,  Gateway C Kamer 107
+31(0)356772910 http://www.omroep.nl/

Sed quis custodiet ipsos custodes? : The sixth Satire from Juvenal

Reply via email to