master Add progress bar during query execution to track progress. (…

Progress bar is run-time SQL-query progress indicator.

Function pg_progress_bar(pid) extracts the current query state from backend with specified 'pid'. Then gets the
numerical values of the actual rows and total rows and count progress for the whole query tree. Function returns
numeric value from 0 to 1 describing the measure of query fulfillment. This function can be used to be embedded
in the PostgreSQL GUI.

To intuitively track progress without using a graphical client, you can use the additionally implemented function
pg_progress_bar_visual(pid, delay). It prints state every period specified by 'delay' (in seconds).

Increase version to 1.2 due to init.sql change.

Ekaterina Sokolova avatar Ekaterina Sokolova

Push event #388 failed

  • Ran for
AMD64
no language set
Git
Sorry, we're having troubles fetching jobs. Please try again later.