pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Obsolete comment above _bt_doinsert()
2+ messages / 2 participants
[nested] [flat]

* Obsolete comment above _bt_doinsert()
@ 2013-12-25 23:27  Peter Geoghegan <pg@heroku.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Peter Geoghegan @ 2013-12-25 23:27 UTC (permalink / raw)
  To: pgsql-bugs

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


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Obsolete comment above _bt_doinsert()
@ 2014-02-26 16:50  Heikki Linnakangas <hlinnakangas@vmware.com>
  parent: Peter Geoghegan <pg@heroku.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Heikki Linnakangas @ 2014-02-26 16:50 UTC (permalink / raw)
  To: Peter Geoghegan <pg@heroku.com>; +Cc: pgsql-bugs

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


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2014-02-26 16:50 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2013-12-25 23:27 Obsolete comment above _bt_doinsert() Peter Geoghegan <pg@heroku.com>
2014-02-26 16:50 ` Heikki Linnakangas <hlinnakangas@vmware.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox