Search Postgresql Archives

Re: Unique constaint violated without being violated

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



funny!! :) too bad, i also noticed it only after reading Merlin's response :)

On Sat, Dec 6, 2008 at 11:12 AM, Sebastian Tennant <sebyte@xxxxxxxxxxxxxxx> wrote:
Quoth "Merlin Moncure" <mmoncure@xxxxxxxxx>:
> It looks to me like you are setting the whole table to the same
> address in the update statement (no where clause)...so of course you'd
> get the error.  Maybe you want to do an insert statement?
>
> merlin

Doh!  Thanks Merlin.  I'm so glad it's just my mind that's going! :-)

Sebastian


--
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux