Re: Help: a rare problem with backing and restoring - Mailing list pgsql-general

From Oliver Elphick
Subject Re: Help: a rare problem with backing and restoring
Date
Msg-id 1019143634.27903.265.camel@linda
Whole thread Raw
In response to Help: a rare problem with backing and restoring  (bombadil@wanadoo.es)
List pgsql-general
On Thu, 2002-04-18 at 13:50, bombadil@wanadoo.es wrote:
...
>  First line is illegal for referential integrity because of
>  tcnico_aviso[aviso] = 0 (aviso[nmero] = 0 doesn't exist),
>  but the other two are perfectly legal. If I insert then from psql, I
>  get no error. But when I execute data.sql script none of them are
>  inserted in tcnico_aviso...
>
>  I don't understand this situation. What can be the problem?. It have
>  no sense and I am going crazy

You need to show the script.  All I can think of is that your script is
including the illegal insert inside a transaction; if one command in a
transaction fails, the whole transaction is rolled back, so none of the
inserts would be done.

--
Oliver Elphick                                Oliver.Elphick@lfix.co.uk
Isle of Wight                              http://www.lfix.co.uk/oliver
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839  932A 614D 4C34 3E1D 0C1C

     "For by grace are ye saved through faith; and that not
      of yourselves; it is the gift of God, not of works,
      lest any man should boast."   Ephesians 2:8,9

Attachment

pgsql-general by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Problem with factorial operator
Next
From: Bruce Momjian
Date:
Subject: Re: Performance of column order