Closes #451: convert lob content to text for pgsql

This commit is contained in:
bgamard 2020-10-31 20:14:06 +01:00
parent 00c62f2ad4
commit 66acb380ab
5 changed files with 6 additions and 4 deletions

View File

@ -1 +1 @@
db.version=25
db.version=26

View File

@ -0,0 +1,2 @@
!PGSQL!UPDATE t_file SET fil_content_c = convert_from(loread(lo_open(fil_content_c::int, CAST( x'20000' AS integer)), 999999999), 'UNICODE')::TEXT WHERE fil_content_c IS NOT NULL;
update T_CONFIG set CFG_VALUE_C = '26' where CFG_ID_C = 'DB_VERSION';

View File

@ -1,3 +1,3 @@
api.current_version=${project.version}
api.min_version=1.0
db.version=25
db.version=26

View File

@ -1,3 +1,3 @@
api.current_version=${project.version}
api.min_version=1.0
db.version=25
db.version=26

View File

@ -1,3 +1,3 @@
api.current_version=${project.version}
api.min_version=1.0
db.version=25
db.version=26