Re: referential integrity violation

Поиск
Список
Период
Сортировка
От Stephan Szabo
Тема Re: referential integrity violation
Дата
Msg-id 20021018081143.X23987-100000@megazone23.bigpanda.com
обсуждение исходный текст
Ответ на referential integrity violation  (mk@fashaf.co.za)
Список pgsql-general
On Fri, 18 Oct 2002 mk@fashaf.co.za wrote:

> Hi guys
>
> I have created a Pg DB, Ive included 2 of the tables.
> When inserting non NULL values everything works just fine,
> but when i want to leave a table empty i get the following error:
>
> EXEC: ERROR: referential integrity violation - key referenced from pc not found in slip_printer
>
> Im recieving the information from a Perl CGI form that is filled in and then INSERT it using perl DBI
>
> If any more information is needed please let me know. As far as i know i should be allowed to have null.

What is the actual insert statement giving the error (if you need
to you can turn on query logging to see)?  NULLs should work fine
but I'd need a test statement to check.


В списке pgsql-general по дате отправления:

Предыдущее
От: Darren Ferguson
Дата:
Сообщение: Re: referential integrity violation
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: pg_attribute always grow...