Re: BUG #5290: Simple loop with insert into and check to avoid duplicate values fails

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Wild Wezyr <wildwezyr(at)gmail(dot)com>
Cc: WildWezyr <wi(dot)ld(dot)we(dot)zy(dot)r(at)gmail(dot)com>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #5290: Simple loop with insert into and check to avoid duplicate values fails
Date: 2010-01-20 19:31:03
Message-ID: 18170.1264015863@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Wild Wezyr <wildwezyr(at)gmail(dot)com> writes:
> 2010/1/19 Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
>> What locale setting and database encoding are you using?

> Here are my settings:

> CREATE DATABASE spb
> WITH OWNER = wwspb
> ENCODING = 'UTF8'
> LC_COLLATE = 'Polish_Poland.1250'
> LC_CTYPE = 'Polish_Poland.1250'
> CONNECTION LIMIT = -1;

I tried the test case on Linux (Fedora 11) with locale pl_PL.utf8,
and unsurprisingly failed to reproduce the problem. So it's something
specific to Windows. Can anyone else reproduce it?

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Wild Wezyr 2010-01-20 20:49:14 Re: BUG #5290: Simple loop with insert into and check to avoid duplicate values fails
Previous Message Kevin Grittner 2010-01-20 17:04:09 Re: BUG #5293: constant function (date_trunc) is repeatedly evaluated inside loop