Thread: Obsolete comment above _bt_doinsert()

Obsolete comment above _bt_doinsert()

From
Peter Geoghegan
Date:
The comments above _bt_doinsert() say at one point:

 *        This routine is called by the public interface routines, btbuild
 *        and btinsert.  By here, itup is filled in, including the TID, in
 *        contrast with _bt_lockinsert() where the heap tuple is not yet
 *        inserted.

This is obsolete; since commit 89bda95d, only the insert public
interface routine calls _bt_doinsert().

--
Peter Geoghegan

Re: Obsolete comment above _bt_doinsert()

From
Heikki Linnakangas
Date:
On 12/26/2013 01:27 AM, Peter Geoghegan wrote:
> The comments above _bt_doinsert() say at one point:
>
>   *        This routine is called by the public interface routines, btbuild
>   *        and btinsert.  By here, itup is filled in, including the TID, in
>   *        contrast with _bt_lockinsert() where the heap tuple is not yet
>   *        inserted.
>
> This is obsolete; since commit 89bda95d, only the insert public
> interface routine calls _bt_doinsert().

(cleaning up my inbox) Thanks, fixed!

- Heikki