#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2000
    Location
    jakarta
    Posts
    11
    Rep Power
    0
    i have problem with dump large object

    the point is i want to dump only the large object. not the data nor schema.

    after dumping large object, how can i insert it to the new database?
  2. #2
  3. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2000
    Posts
    6
    Rep Power
    0
    You want to dump the object from the command line or in php?
  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2000
    Location
    jakarta
    Posts
    11
    Rep Power
    0
    form the command line i geuss.
    can you help me with this problem? from command line or in php.
  6. #4
  7. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2000
    Posts
    6
    Rep Power
    0
    see http://www.php.net/manual/ref.pgsql.php


    for info on the functions used for large objects in php. You might have to stuff around with them to see if there are any problems with what you want to do.

    but there are funcitons for importing, exporting, opening, wrtiing large objects.

    One thing to note is that all large object stuff must happen within a transaction.

    also have a look
    http://postgresql.mirror.aarnet.edu....17.htm#AEN3135

  8. #5
  9. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2000
    Location
    jakarta
    Posts
    11
    Rep Power
    0
    Well, seems there no way in command line.

    it would be dificult dumping rest of the data in database. containing data and large object.

IMN logo majestic logo threadwatch logo seochat tools logo