-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Stan Pinte a écrit : > salut! > problème réglé. (cf mon commit dans CVS d'il y a deux minutes).
> à l'update du CVS: > > *Warning*: pg_query(): Query failed: ERROR: unterminated > dollar-quoted string at or near "$BODY$declare p_tva_id alias for > $1; nCount integer; begin nCount=0; select count(*) into nCount > from quant_sold where qs_vat_code=p_tva_id; if nCount = 0 then > delete from tva_rate where tva_id=p_tva_id; end if; return; end; > LANGUAGE plpgsql VOLATILE; " at character 65 in > *c:\export\phpcompta\include\postgres.php* on line *104* Operation > cancelled due to error : CREATE OR REPLACE FUNCTION > tva_delete(int4) RETURNS void AS $BODY$declare p_tva_id alias for > $1; nCount integer; begin nCount=0; select count(*) into nCount > from quant_sold where qs_vat_code=p_tva_id; if nCount = 0 then > delete from tva_rate where tva_id=p_tva_id; end if; return; end; > LANGUAGE plpgsql VOLATILE; > > _______________________________________________ Phpcompta-contrib > mailing list [email protected] > http://lists.nongnu.org/mailman/listinfo/phpcompta-contrib > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.1 (Cygwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEV6kg/PmuubxPWAIRAoUcAJ453qkOSeEdGp89qaeCrFUO6R21PgCff/6i JVDgo9VPiRJXrkLQGninUdI= =INZ+ -----END PGP SIGNATURE----- _______________________________________________ Phpcompta-contrib mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/phpcompta-contrib
