mirror of
https://github.com/sismics/docs.git
synced 2025-12-13 01:36:18 +00:00
Closes #451: convert lob content to text for pgsql
This commit is contained in:
@@ -1 +1 @@
|
||||
db.version=25
|
||||
db.version=26
|
||||
@@ -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';
|
||||
Reference in New Issue
Block a user