Re: [PATCH][PROPOSAL] Add enum releation option type - Mailing list pgsql-hackers

Hi.

I have refactored patch by introducing new struct relop_enum_element to make it
possible to use existing C-enum values in option's definition.  So, additional
enum GIST_OPTION_BUFFERING_XXX was removed.

Also default option value should be placed now in the first element of
allowed_values[].  This helps not to expose default values definitions (like
GIST_BUFFERING_AUTO defined in gistbuild.c).


My github repository:
https://github.com/glukhovn/postgres/tree/enum-reloptions

-- 
Nikita Glukhov
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company


Attachment

pgsql-hackers by date:

Previous
From: "Daniel Verite"
Date:
Subject: Re: csv format for psql
Next
From: Pavel Stehule
Date:
Subject: Re: csv format for psql