[GENERAL] lo_import invalid large object descriptor

2008-07-14 Thread Markus Mehrwald
Hello, I tried to insert an image in my database with lo_import. The error I get is "invalid large object descriptor: 0". If I try to create an oid I get a valid one but with lo_import it seems not to work. The connection is ok as well. The folloing code produces the output after the code. if (PQ

Re: [GENERAL] problem with foreign keys + data-only backup

2008-08-22 Thread Markus Mehrwald
be added) node (in the second statement). >> >> How do I make sure my backup orders the insert statements in a logical >> order? > > You don't. You might find --disable-triggers useful though. See the > pg_restore documentation for details. > -- Dipl.-Info