Re: unreliable behaviour of track_functions

2018-04-01 Thread Adrian Klaver
On 04/01/2018 06:02 AM, pinker wrote: I mean this part describing track_function: https://www.postgresql.org/docs/10/static/runtime-config-statistics.html Enables tracking of function call counts and time used. Specify pl to track only procedural-language functions, all to also track SQL and C

Re: Please suggest the best suited unit test frame work for postgresql database.

2018-04-01 Thread Adrian Klaver
On 03/31/2018 09:56 PM, Raghavendra Rao J S V wrote: Good morning. Please suggest the best suited unit test frame work for postgresql database and also shared the related documents to understand the framework. If you are looking for a Postgres specific framework then see pgTap: http://pgtap.

Re: unreliable behaviour of track_functions

2018-04-01 Thread pinker
and to be clear I was experimenting with pg_stat_clear_snapshot() after your answer, but it doesn't change behaviour of track_functions. -- Sent from: http://www.postgresql-archive.org/PostgreSQL-general-f1843780.html

Re: unreliable behaviour of track_functions

2018-04-01 Thread pinker
I mean this part describing track_function: https://www.postgresql.org/docs/10/static/runtime-config-statistics.html Enables tracking of function call counts and time used. Specify pl to track only procedural-language functions, all to also track SQL and C language functions. The default is none,

Re: unreliable behaviour of track_functions

2018-04-01 Thread pinker
I mean this part describing track_function: https://www.postgresql.org/docs/10/static/runtime-config-statistics.html Enables tracking of function call counts and time used. Specify pl to track only procedural-language functions, all to also track SQL and C language functions. The default is none,