mirror of
https://github.com/postgres/postgres.git
synced 2025-12-21 05:21:08 +03:00
Report progress of ANALYZE commands
This uses the progress reporting infrastructure added by c16dc1aca5,
adding support for ANALYZE.
Co-authored-by: Álvaro Herrera <alvherre@alvh.no-ip.org>
Co-authored-by: Tatsuro Yamada <tatsuro.yamada.tf@nttcom.co.jp>
Reviewed-by: Julien Rouhaud, Robert Haas, Anthony Nowocien, Kyotaro Horiguchi,
Vignesh C, Amit Langote
This commit is contained in:
@@ -37,8 +37,8 @@ typedef struct
|
||||
|
||||
typedef BlockSamplerData *BlockSampler;
|
||||
|
||||
extern void BlockSampler_Init(BlockSampler bs, BlockNumber nblocks,
|
||||
int samplesize, long randseed);
|
||||
extern BlockNumber BlockSampler_Init(BlockSampler bs, BlockNumber nblocks,
|
||||
int samplesize, long randseed);
|
||||
extern bool BlockSampler_HasMore(BlockSampler bs);
|
||||
extern BlockNumber BlockSampler_Next(BlockSampler bs);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user