Re: relation_expr vs. qualified_name - Mailing list pgsql-hackers

From Tom Lane
Subject Re: relation_expr vs. qualified_name
Date
Msg-id 4320.1079581359@sss.pgh.pa.us
Whole thread Raw
In response to relation_expr vs. qualified_name  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
List pgsql-hackers
Christopher Kings-Lynne <chriskl@familyhealth.com.au> writes:
> How come half the ALTER TABLE statements use relation_expr and half use 
> qualified_name?

relation_expr allows specification of "foo *" and "ONLY foo", and is
appropriate for ALTER commands that can recurse to child tables.
qualified_name is appropriate for the ones that are inherently
nonrecursive.

I'm entirely prepared to believe that some of them are misclassified in
the grammar ... you see any problems?
        regards, tom lane


pgsql-hackers by date:

Previous
From: Christopher Kings-Lynne
Date:
Subject: float8 regression test failure in head
Next
From: Tom Lane
Date:
Subject: Re: float8 regression test failure in head