From: | Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr> |
---|---|
To: | Andres Freund <andres(at)anarazel(dot)de> |
Cc: | Robert Haas <robertmhaas(at)gmail(dot)com>, Josh Berkus <josh(at)agliodbs(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: pgbench stats per script & other stuff |
Date: | 2015-09-03 09:36:02 |
Message-ID: | alpine.DEB.2.10.1509031127180.16877@sto |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
> Right now builtins and user defined scripts are stored in different data
> structures. I'd rather see them in the same.
They already are in the same array (sql_script) when pre-processed and
executed, there is no distinction beyond initialization.
The builtin_script array contains the equivalent of the external custom
file (name, lines of code), so that they can be processed by
process_builtin and addScript to build the SQLScript ready for execution,
while for external files it relies on process_file and addScript.
--
Fabien.
From | Date | Subject | |
---|---|---|---|
Next Message | Amit Kapila | 2015-09-03 10:05:55 | Re: assessing parallel-safety |
Previous Message | Andres Freund | 2015-09-03 09:11:22 | Re: pgbench stats per script & other stuff |