mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-08-07 22:03:42 -06:00
Sql: PGSQL SqlExp now limiting Time::Low() as well
git-svn-id: svn://ultimatepp.org/upp/trunk@6164 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
f01703c3e9
commit
fbf661f7c6
1 changed files with 1 additions and 0 deletions
|
|
@ -162,6 +162,7 @@ void SqlCompile(const char *&s, StringBuffer *r, byte dialect)
|
|||
x.year, x.month, x.day, x.second + 60 * (x.minute + 60 * x.hour));
|
||||
break;
|
||||
case PGSQL:
|
||||
if(x.year < 1) x.year = 1; // Date::Low()
|
||||
*r << "timestamp ";
|
||||
default:
|
||||
*r << Format("\'%04d-%02d-%02d %02d:%02d:%02d\'",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue