Re: pgsql: dshash: Add sequential scan support. - Mailing list pgsql-committers

From Tom Lane
Subject Re: pgsql: dshash: Add sequential scan support.
Date
Msg-id 758107.1646960996@sss.pgh.pa.us
Whole thread Raw
In response to pgsql: dshash: Add sequential scan support.  (Andres Freund <andres@anarazel.de>)
Responses Re: pgsql: dshash: Add sequential scan support.  (Andres Freund <andres@anarazel.de>)
List pgsql-committers
Andres Freund <andres@anarazel.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



pgsql-committers by date:

Previous
From: Andres Freund
Date:
Subject: pgsql: dshash: Add sequential scan support.
Next
From: Andres Freund
Date:
Subject: Re: pgsql: dshash: Add sequential scan support.