Does anyone object to extending the grammar to allow this?
Yes. This is horribly ugly, and I suspect that you cannot do it without making TABLESPACE a fully-reserved word.
I note that this seems to be the Oracle syntax:
CONSTRAINT PK_Stock PRIMARY KEY (Company) USING INDEX TABLESPACE Appl_Indexes
http://www.siue.edu/~dbock/cmis564/otext4.htm
Since we stole tablespaces from Oracle, maybe we should make them work the same?
Chris
---------------------------(end of broadcast)--------------------------- TIP 5: Have you checked our extensive FAQ?
http://www.postgresql.org/docs/faqs/FAQ.html