Index: openacs-4/packages/acs-content-repository/tcl/content-revision-procs-postgresql.xql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/tcl/content-revision-procs-postgresql.xql,v
diff -u -r1.7 -r1.8
--- openacs-4/packages/acs-content-repository/tcl/content-revision-procs-postgresql.xql 15 Aug 2018 17:00:24 -0000 1.7
+++ openacs-4/packages/acs-content-repository/tcl/content-revision-procs-postgresql.xql 3 Sep 2024 15:37:31 -0000 1.8
@@ -13,24 +13,16 @@
7.3
-
+
update cr_revisions set content=:content where
revision_id=:revision_id
-
+
- select item_id
- from cr_revisions
- where revision_id = :revision_id
-
-
-
-
-
update cr_revisions
set mime_type = :mime_type,
lob = [set __lob_id [db_string get_lob_id {select empty_lob()}]]
@@ -39,7 +31,7 @@
-
+
update cr_revisions
@@ -49,15 +41,12 @@
-
-
- update cr_revisions
- set content = :filename,
- mime_type = :mime_type,
- content_length = :tmp_size
- where revision_id = :revision_id
-
-
+
+
+ update cr_revisions set content=:content where
+ revision_id = :revision_id
+
+
@@ -69,4 +58,12 @@
and cr.revision_id=:revision_id
+
+
+
+ select lob
+ from cr_revisions
+ where revision_id = :revision_id
+
+