Report bug!

Поиск
Список
Период
Сортировка
От f的梦
Тема Report bug!
Дата
Msg-id tencent_11484D848606BA3C8A19689C27389B224306@qq.com
обсуждение исходный текст
Ответы Re: Report bug!  (Tomas Vondra <tomas.vondra@2ndquadrant.com>)
Список pgsql-bugs
I want to report a bug for PostgreSQL 9.6.1 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-4), 64-bit

I can't create account, so I can only send it here.

/copy command will not trigger increament of a table's pk.

How I get this problem?

```
 \copy one_off_coupon(payload,tag, expire_at) from '/tmp/ldj.csv' delimiter as ',' csv quote as '"';
```

```
select * from one_off_coupon
```

The list is success loaded and id correct ranged 1-7000.

OK, Here is the problem:

When I try `insert into one_off_coupon(payload) values('111')`, it reports error `pk brabra conflict`.

Then I print
```
select nextval('one_off_coupon_id_seq');
```
It is `47`,so far away from 7000.

!!!!!!!!!!!!!

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

Предыдущее
От: Thomas Kellerer
Дата:
Сообщение: Re: BUG #16192: Function to_char(date,'IW') return incorrect valuefor last days of a year
Следующее
От: Tomas Vondra
Дата:
Сообщение: Re: Report bug!