Re: UniqueKey v2

From: zhihuifan1213(at)163(dot)com
To: jian he <jian(dot)universality(at)gmail(dot)com>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: UniqueKey v2
Date: 2023-10-20 08:29:16
Message-ID: 7mla7cnh4rsy.fsf@e18c07352.et15sqa
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


> i did some simple tests using text data type.
>
> it works with the primary key, not with unique indexes.
> it does not work when the column is unique, not null.
>
> The following is my test.

Can you simplify your test case please? I can't undertand what "doesn't
work" mean here and for which case. FWIW, this feature has nothing with
the real data, I don't think inserting any data is helpful unless I
missed anything.

--
Best Regards
Andy Fan

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Aleksander Alekseev 2023-10-20 09:03:05 Re: [patch] pg_basebackup: mention that spread checkpoints are the default in --help
Previous Message jian he 2023-10-20 08:24:24 Re: [PATCH] Add support function for containment operators