PostgreSQL 7.3.3 a date_sub
Peter Mann
Peter.Mann na tuke.sk
Středa Říjen 1 16:19:11 CEST 2003
Zdravim,
po prechode z PostgreSQL 7.2.1 na 7.3.3 sa vyskytol problem s sql
funkciou date_sub, konkretne:
update blabla set datum=date_sub(datum, '24:00:00') where blablabla ...
vypise chybu: function date_sub(timestamp without time zone, "unknown")
does not exist. Unable to identify a function that satisfies the given
argument types. You may need to add explicit typecasts in
/cesta/k/suboru.php
v 7.2.1 to fungovalo, v 7.3.3 to nefunguje ... kde moze byt problem? pri
prehladavani postgresql.org/docs/ retazec date_sub nenaslo, takisto som
bol neuspesny aj pri prehladavani techdocs.postgresql.org, ci google
da sa o tejto funkcii najst nejake info?
http://www.postgresql.org/docs/7.3/ ani 7.2, 7.1 nic take nepoznaju
pozeral som aj PostgreSQL Documentation - kapitolu 4.8 Date/Time
Functions and Operators ... no bezvysledne (pre 7.3, 7.2 aj 7.1)
kto mi pomoze? dakujem
--
5o Peter.Mann at tuke.sk
KLFMANiK ICQ 12491471
PM2185-RIPE
Další informace o konferenci Databases