Re: clearing opfuncid vs. parallel query

From: YUriy Zhuravlev <u(dot)zhuravlev(at)postgrespro(dot)ru>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: clearing opfuncid vs. parallel query
Date: 2015-10-23 09:29:08
Message-ID: 2687025.HTovxqq660@dinodell
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> I thought that's what you were proposing. Process the struct
> definitions and emit .c files.
We have 2 ways. The first is always to generate the * .c files from the * .h
files. Another way is to generate once from * .h file a XML/JSON and after
generate from it to * .c files (parsing xml/json easy).

> Anything that is part of the build process will have to be done in C or
> Perl.
I know about the relationship between Postgres and C / Perl. Yet this is not
the language which would be worth to do something associated with code
generation. Python is better in many ways than the Perl. I'm not trying to
convince someone. I just see the situation, and I do not like.

What do you think about the format of the serialization? Now it is very
primitive. For example, there are selected data in order, rather than by key.
In its development, I used jsonb, it also helped to simplify the saved of
query plans in the Postgres table.

Thanks.

--
YUriy Zhuravlev
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message YUriy Zhuravlev 2015-10-23 09:31:10 Re: clearing opfuncid vs. parallel query
Previous Message Amit Kapila 2015-10-23 07:35:33 Re: Parallel Seq Scan