pgsql: TABLE command

Started by Nonameabout 17 years ago4 messages
#1Noname
petere@postgresql.org
#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Noname (#1)
Re: pgsql: TABLE command

petere@postgresql.org (Peter Eisentraut) writes:

Log Message:
-----------
TABLE command

If this got re-posted for review I missed it :-(. I disagree with using
qualified_name here --- I think it would be better to use relation_expr
so that people would have the ability to specify inheritance behavior.
If you want to point to the spec and say that that syntax isn't in the
spec, that's true, but then you need to justify the inhOpt setting
you're forcing people to use. It's not entirely clear what behavior the
spec intends, but I'm pretty sure INH_DEFAULT isn't it.

regards, tom lane

#3Peter Eisentraut
peter_e@gmx.net
In reply to: Tom Lane (#2)
Re: [COMMITTERS] pgsql: TABLE command

Tom Lane wrote:

petere@postgresql.org (Peter Eisentraut) writes:

Log Message:
-----------
TABLE command

If this got re-posted for review I missed it :-(. I disagree with using
qualified_name here --- I think it would be better to use relation_expr
so that people would have the ability to specify inheritance behavior.
If you want to point to the spec and say that that syntax isn't in the
spec, that's true, but then you need to justify the inhOpt setting
you're forcing people to use. It's not entirely clear what behavior the
spec intends, but I'm pretty sure INH_DEFAULT isn't it.

relation_expr is fine by me. It just makes the syntax more complicated
to explain ...

Btw., so we plan to keep the sql_inheritance parameter forever?

#4Tom Lane
tgl@sss.pgh.pa.us
In reply to: Peter Eisentraut (#3)
Re: [COMMITTERS] pgsql: TABLE command

Peter Eisentraut <peter_e@gmx.net> writes:

relation_expr is fine by me. It just makes the syntax more complicated
to explain ...

Btw., so we plan to keep the sql_inheritance parameter forever?

I have no idea ... but I should think we'd want to allow ONLY here in
any case. You can use that anywhere else in the SELECT syntax that you
can write a table name, so why not here?

regards, tom lane