Re: Introduce new multi insert Table AM and improve performance of various SQL commands with it for Heap AM - Mailing list pgsql-hackers

From Jingtang Zhang
Subject Re: Introduce new multi insert Table AM and improve performance of various SQL commands with it for Heap AM
Date
Msg-id 896679FF-4B81-4832-BCFE-4CE39F6F0048@gmail.com
Whole thread Raw
In response to Re: Introduce new multi insert Table AM and improve performance of various SQL commands with it for Heap AM  (Jingtang Zhang <mrdrivingduck@gmail.com>)
List pgsql-hackers
Oh, another comments for v24-0001 patch: we are in heam AM now, should we use
something like HEAP_INSERT_BAS_BULKWRITE instead of using table AM option,
just like other heap AM options do?

> +        if ((state->options & TABLE_INSERT_BAS_BULKWRITE) != 0)
> +            istate->bistate = GetBulkInsertState();


—

Regards, Jingtang




pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: define pg_structiszero(addr, s, r)
Next
From: Ranier Vilela
Date:
Subject: Re: define pg_structiszero(addr, s, r)