1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-29 21:51:29 +00:00

add workaround for psql 8.3 stricter typechecking on SUBSTRING() (refs #201)

This commit is contained in:
Andrew Dolgov
2008-04-21 05:53:19 +01:00
parent f8232151a0
commit fc2b26a6a2
12 changed files with 36 additions and 23 deletions

View File

@@ -0,0 +1,3 @@
create function SUBSTRING_FOR_DATE(timestamp, int, int) RETURNS text AS 'SELECT SUBSTRING(CAST($1 AS text), $2, $3)' LANGUAGE 'sql';
update ttrss_version set schema_version = 35;