I have a a MySQL database that stores PHP objects in serialized format to a BLOB field. I'm moving this database from MySQL -> PostGres.
So far I have found no way to move those PHP objects to PostGres. Saving the objects serialized to a MySQL field of type BLOB or MySQL LongText, and importing into PostGres Text or ByteA, apparently fails to bring the data over when imported.
I'm happy to write special-purpose code to store the PHP objects in any way that will work. What's a good way to store them in MySQL so as to import them into PostGres?
Note: Per request of StackOverflow, this question is different from Storing large JSON - binary or text, because that question does not reference postgres.