I want to replace the row in some data in the pgsql column of a database. I tried
CASE WHEN (po.siteid IS NOT NULL) THEN replace('po.html_content', 'abcd', 'xxx') ELSE pc.html_content END
I want to replace the row in the column po.html_content . But the above code does not work. The request receives data in the column po.html_content without replacement. Is my code wrong or any idea ...
source share