Let's say I have a table named "content" and a column named "images" with data type xml.
I have a row in which its column "images" already has a value:
<Pictures>
<Picture ID="1">
<big>../srcs/Big_Buck_Bunny.jpg</big>
</Picture>
<Picture ID="2">
<big>../srcs/pic_jpeg.jpeg</big>
</Picture>
</Pictures>
and I would like to add the elements below as the last child of < Pictures>
<Picture ID="3">
<big>../srcs/pic_gif.gif</big>
</Picture>
In DB2, I understand it can be done as shown in Update 11 of IBM's Update XML in DB2 but how do I do this using PostgreSQL?
I also found a similar question to this but no one has answered it.