Re: pgbench stats per script & other stuff

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: pgbench stats per script & other stuff
Дата
Msg-id 20150903091122.GA23957@awork2.anarazel.de
обсуждение исходный текст
Ответ на Re: pgbench stats per script & other stuff  (Fabien COELHO <coelho@cri.ensmp.fr>)
Ответы Re: pgbench stats per script & other stuff  (Fabien COELHO <coelho@cri.ensmp.fr>)
Список pgsql-hackers
On 2015-09-02 20:20:45 +0200, Fabien COELHO wrote:
> >>+static SQLScript sql_script[MAX_SCRIPTS];
> >>
> >>+static struct {
> >>+    char *name;   /* very short name for -b ...*/
> >>+    char *desc;   /* short description */
> >>+    char *script; /* actual pgbench script */
> >>+} builtin_script[]
> >
> >Can't we put these in the same array?
> 
> I do not understand.

Right now builtins and user defined scripts are stored in different data
structures. I'd rather see them in the same.

Greetings,

Andres Freund



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tatsuo Ishii
Дата:
Сообщение: BRIN INDEX value
Следующее
От: Fabien COELHO
Дата:
Сообщение: Re: pgbench stats per script & other stuff