Re: Unable To Modify Table

From: Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com>
To: "David Johnston" <polobo(at)yahoo(dot)com>
Cc: pgsql-sql(at)postgresql(dot)org, "'Carlos Mennens'" <carlos(dot)mennens(at)gmail(dot)com>
Subject: Re: Unable To Modify Table
Date: 2012-01-12 17:10:02
Message-ID: 201201120910.02794.adrian.klaver@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On Thursday, January 12, 2012 9:02:35 am David Johnston wrote:

> ----------------------------------------
>
> Adrian, you are not helping...if ON UPDATE CASCADE was enabled on "orders"
> the error in question would never have appeared and the UPDATE would have
> succeeded. Carlos' goal is to change the value of a Primary Key that has
> already been used in a FOREIGN KEY constraint and he needs to learn to use
> the documentation to solve some of these basic questions instead of asking
> the list. His approach is correct, execute UPDATE against the
> "developers" table.

My mistake, I got the table relationship order wrong. Sorry for the noise.

>
> David J.

--
Adrian Klaver
adrian(dot)klaver(at)gmail(dot)com

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message John Tuliao 2012-01-13 04:31:06 Query Problem... Left OuterJoin / Tagging Issue
Previous Message David Johnston 2012-01-12 17:02:35 Re: Unable To Modify Table