phpcompta-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Phpcompta-support] erreur à l'update


From: Dany De Bontridder
Subject: Re: [Phpcompta-support] erreur à l'update
Date: Tue, 05 Sep 2006 18:54:44 +0200

On Tue, 2006-09-05 at 17:54 +0200, Stan Pinte wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> select
> correct_sequence('s_jnt_fic_att_value','jft_id','jnt_fic_att_value');
> 
> *Warning*: pg_query(): Query failed: ERROR: syntax error at or near
> "$2" at character 49 QUERY: SELECT 'select last_value from '|| $1 into
> $2 CONTEXT: PL/pgSQL function "correct_sequence" line 15 at execute
> statement in *c:\export\phpcompta\include\postgres.php* on line *104*
> Operation cancelled due to error : select
> correct_sequence('s_jnt_fic_att_value','jft_id','jnt_fic_att_value')
> 
> Des idées?

Hm... C'est une requête sql pour que les séquences soient à la  bonne
valeur, quel version de postgresql tu as ?? 

Voir le code dans /phpcompta/html/admin/sql/patch/upgrade19.sql
cela fonctionne avec la 8.1.4 et 8.1.3 corrige le bug 1753 

voir avec psql>  \df+ correct_sequence (commentaire en bas)


@+,

D.

> 
> Stan.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2.1 (Cygwin)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iD8DBQFE/Z27/PmuubxPWAIRAnAeAJ4/OiesQtBm9dTH9shKVhyyn+qheACfaOlR
> r1xbmtdYgjY84Fvk6xc6c7c=
> =e42h
> -----END PGP SIGNATURE-----
> 
> 
> 
> _______________________________________________
> Phpcompta-support mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/phpcompta-support
> 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]