Convert a bytea column to OID while retaining values

前端 未结 5 986
情话喂你
情话喂你 2021-01-18 16:20

I\'m trying to alter a bytea column to have type oid and still retain the values.

I have tried using queries like:

ALTER TA         


        
5条回答
  •  情书的邮戳
    2021-01-18 16:48

    I am sure its late, but for anybody having the same problem in future.

    I also faced a similar issue where I had old data in the columns of text directly in the columns not as OIDs. And when I was trying to use that data with upgraded application I too was getting

    I used the knowledge of this thread to solve this issue. I strongly feel that whoever stumbles upon this question would surely like to have a look at this here

提交回复
热议问题