Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Not working INSERT ... ON CONFLICT on partition table #35

Closed
@digoal

Description

postgres=# explain insert into test(id,info,crt_time) values(1, md5(random()::text), now()) on conflict (id) do update set info=excluded.info,crt_time=excluded.crt_time;
 QUERY PLAN 
------------------------------------------------------------------------
 Insert on test (cost=0.00..0.03 rows=1 width=44)
 Conflict Resolution: UPDATE
 Conflict Arbiter Indexes: test_pkey
 -> Custom Scan (PartitionFilter) (cost=0.00..0.03 rows=1 width=44)
 -> Result (cost=0.00..0.03 rows=1 width=44)
(5 rows)
postgres=# insert into test(id,info,crt_time) values(1, md5(random()::text), now()) on conflict (id) do update set info=excluded.info,crt_time=excluded.crt_time;
ERROR: XX000: unexpected failure to find arbiter index
LOCATION: ExecCheckIndexConstraints, execIndexing.c:594

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      AltStyle によって変換されたページ (->オリジナル) /