Re: [PATCH] Automatic HASH and LIST partition creation - Mailing list pgsql-hackers

From Pavel Borisov
Subject Re: [PATCH] Automatic HASH and LIST partition creation
Date
Msg-id CALT9ZEF_aMgYoEg9JFYm9GUDwaa014wu7rtS_To8f82zt_rHaw@mail.gmail.com
Whole thread Raw
In response to Re: [PATCH] Automatic HASH and LIST partition creation  (Fabien COELHO <coelho@cri.ensmp.fr>)
Responses Re: [PATCH] Automatic HASH and LIST partition creation
List pgsql-hackers

> BTW could you tell me a couple of words about pros and cons of c-code
> syntax parsing comparing to parsing using gram.y trees?

I'd rather use an automatic tool (lexer/parser) if possible instead of
doing it by hand if I can. If you want a really nice syntax with clever
tricks, then you may need to switch to manual though, but pg/sql is not in
that class.

> I think both are possible but my predisposition was that we'd better use
> the later if possible.

I agree.
Thank you!

Fabien, do you consider it possible to change the syntax of declarative partitioning too? It is problematic as it is already committed but also is very tempting to have the same type of syntax both in automatic partitioning and in manual (PARTITION OF...)

--
Best regards,
Pavel Borisov

Postgres Professional: http://postgrespro.com

pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: Logical decoding without slots: decoding in lockstep with recovery
Next
From: Fujii Masao
Date:
Subject: Re: Confused about stream replication protocol documentation