[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Phpcompta-contrib] bug à l'insertion d'une fiche...
From: |
Dany De Bontridder |
Subject: |
Re: [Phpcompta-contrib] bug à l'insertion d'une fiche... |
Date: |
Sun, 2 Apr 2006 22:54:13 +0200 |
User-agent: |
KMail/1.8.2 |
Et si on essaie avec un alter table tmp_pcmn alter pcm_val type text ?
Tout fonctionnerait encore ?? Si oui, je l'intégre dans le upgrade8.sql.
Tu pourrais rentrer un bug pour cela svp ?
J'ai fini les dépenses non déductibles, tva non déductible et tva non
déductible récupérable par l'impôt ;-)
Je commite tu testes ?
@+,
D.
On Sunday 02 April 2006 18:16, Stan Pinte wrote:
> Stan Pinte wrote:
> >*Warning*: pg_query(): Query failed: ERROR: integer out of range in
> >*c:\export\phpcompta\include\postgres.php* on line *104*
> >Operation cancelled due to error : insert into tmp_pcmn
> >(pcm_val,pcm_lib,pcm_val_parent) values (48910000001,'Tanguy
> > Pinte',4891000)
> >
> >--> curieux, non?
>
> en fait non, quand on sait que le champs pcm_val est de type int4 dans
> PostgreSQL, donc entier 32 bits...
>
> 48910000001 > 4294967296 (2^32-1)
>
> Maintenant de deux choses l'une:
>
> soit le type int4 est mal choisi, soit l'algoritme de création de fiches
> avec ajout automatique de poste comptable est foireux.
>
> Stan.
>
> >Stan.
> >
> >
> >_______________________________________________
> >Phpcompta-contrib mailing list
> >address@hidden
> >http://lists.nongnu.org/mailman/listinfo/phpcompta-contrib
>
> _______________________________________________
> Phpcompta-contrib mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/phpcompta-contrib
--
Dany De Bontridder (Consultant)
Alchimerys sprl
http://www.alchimerys.be
email : address@hidden
gsm : 0496.127.031
adresse Bld Mettewie 81 Boite 6
B1080 Bruxelles