Re: [HACKERS] WIP: Covering + unique indexes. - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: [HACKERS] WIP: Covering + unique indexes.
Date
Msg-id ca0cb275-0db1-8a40-c5e5-0a1e55bdd4b9@2ndquadrant.com
Whole thread Raw
In response to Re: [HACKERS] WIP: Covering + unique indexes.  (Anastasia Lubennikova <a.lubennikova@postgrespro.ru>)
Responses Re: WIP: Covering + unique indexes.
List pgsql-hackers
On 2/16/17 08:13, Anastasia Lubennikova wrote:
> @@ -629,7 +630,7 @@ static Node *makeRecursiveViewSelect(char *relname, List *aliases, Node *query);
>  
>      HANDLER HAVING HEADER_P HOLD HOUR_P
>  
> -    IDENTITY_P IF_P ILIKE IMMEDIATE IMMUTABLE IMPLICIT_P IMPORT_P IN_P
> +    IDENTITY_P IF_P ILIKE IMMEDIATE IMMUTABLE IMPLICIT_P IMPORT_P IN_P INCLUDE
>      INCLUDING INCREMENT INDEX INDEXES INHERIT INHERITS INITIALLY INLINE_P
>      INNER_P INOUT INPUT_P INSENSITIVE INSERT INSTEAD INT_P INTEGER
>      INTERSECT INTERVAL INTO INVOKER IS ISNULL ISOLATION

I think your syntax would read no worse, possibly even better, if you
just used the existing INCLUDING keyword.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: [HACKERS] bytea_output output of base64
Next
From: Peter Eisentraut
Date:
Subject: Re: [HACKERS] Proposal : For Auto-Prewarm.