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
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