I managed to migrate my MySQL based RT installation (3.2.1) to a
Postgresql database, with attachments intact.
I modified the contributed script rt3-on-pg-to-mysql to accomplish this.
The script is included for your perusal.
Note: This worked for me, your mileage may vary.
rt3-on-mysql-to-pgsql (2.73 KB)