[PROPOSAL] DIAGNOSTICS = SKIPPED_ROW_COUNT - Mailing list pgsql-hackers

From dinesh kumar
Subject [PROPOSAL] DIAGNOSTICS = SKIPPED_ROW_COUNT
Date
Msg-id CALnrH7o2B56GrM2EQNWBYAndYwh1GF=vf30eWa=xLmY2bQBN_w@mail.gmail.com
Whole thread Raw
Responses Re: [PROPOSAL] DIAGNOSTICS = SKIPPED_ROW_COUNT  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers

Hi Team,
 
Would like to propose a new DIAGNOSTICS attribute, which returns the no.of rows got skipped during the FOR UPDATE SKIP LOCKED;
 
Using this attribute, we can have more control on parallel operations like,
 
IF SKIPPED_ROW_COUNT =0 THEN
<<Treat me as, a complete transaction, and do below stuff>>
ELSE
<<Got only few tuples than required, and do below stuff>>
END IF;
 
Kindly let me know your inputs/suggestions on this.
 

pgsql-hackers by date:

Previous
From: Haribabu Kommi
Date:
Subject: Re: Parallel Aggregate
Next
From: Tom Lane
Date:
Subject: Re: [PROPOSAL] DIAGNOSTICS = SKIPPED_ROW_COUNT