Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-bugs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group