Re: pgsql: dshash: Add sequential scan support.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: Re: pgsql: dshash: Add sequential scan support.
Date: 2022-03-11 01:09:56
Message-ID: 758107.1646960996@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

Andres Freund <andres(at)anarazel(dot)de> writes:
> dshash: Add sequential scan support.
> Add ability to scan all entries sequentially to dshash. The interface is
> similar but a bit different both from that of dynahash and simple dshash
> search functions. The most significant differences is that dshash's interfac
> always needs a call to dshash_seq_term when scan ends.

Umm ... what about error recovery? Or have you just cemented the
proposition that long-lived dshashes are unsafe?

regards, tom lane

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2022-03-11 01:27:12 Re: pgsql: dshash: Add sequential scan support.
Previous Message Andres Freund 2022-03-11 01:02:51 pgsql: dshash: Add sequential scan support.

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2022-03-11 01:27:12 Re: pgsql: dshash: Add sequential scan support.
Previous Message Andres Freund 2022-03-11 01:02:51 pgsql: dshash: Add sequential scan support.