How to Copy a Table that includes a BLOB

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vcomp
    New Member
    • May 2010
    • 2

    How to Copy a Table that includes a BLOB

    I have a table that includes BLOBs which are audio files. I need to copy the table to another database. Normally I just copy the records and insert them into the second table but I'm guessing I can't do that with a BLOB. Any suggestions on how to accomplish this task?

    Thanks,

    Vic
  • rski
    Recognized Expert Contributor
    • Dec 2006
    • 700

    #2
    Use pg_dump. See here for manual
    pg_dump pg_dump — export a PostgreSQL database as an SQL script or to other formats Synopsis pg_dump [connection-option...] [option...] [dbname] …

    Comment

    • vcomp
      New Member
      • May 2010
      • 2

      #3
      Very cool, thank you!

      Comment

      Working...