Postgres table with name postgrestable:
ID NAME HTML
1 FRONT <map>
<entry> test </entry>
</map>
How can i create a update query that appends a new <entry></entry> between the <map> tags. The table should be updated to this form:
ID NAME HTML
1 FRONT <map>
<entry> test </entry>
<entry> secondentry </entry>
</map>
I have tried with REGEXP_REPLACE between tags, but that deletes all entries between <map> tags and inserts the entry you updated. Any other idea?