Обсуждение: pgsql: Add contraint exclusion section to contraint docs.

Поиск
Список
Период
Сортировка

pgsql: Add contraint exclusion section to contraint docs.

От
momjian@postgresql.org (Bruce Momjian)
Дата:
Log Message:
-----------
Add contraint exclusion section to contraint docs.

Takahiro Itagaki

Modified Files:
--------------
    pgsql/doc/src/sgml:
        ddl.sgml (r1.90 -> r1.91)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/ddl.sgml?r1=1.90&r2=1.91)

Re: pgsql: Add contraint exclusion section to contraint docs.

От
Magnus Hagander
Дата:
2010/4/1 Bruce Momjian <momjian@postgresql.org>:
> Log Message:
> -----------
> Add contraint exclusion section to contraint docs.
>
> Takahiro Itagaki
>
> Modified Files:
> --------------
>    pgsql/doc/src/sgml:
>        ddl.sgml (r1.90 -> r1.91)
>        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/ddl.sgml?r1=1.90&r2=1.91)


Obviously, you mean exclusion constraint and not constraint exclusion
- yet another case of the bad choice of name showing up :P

(contents of the patch seem to get it right, though)

--
 Magnus Hagander
 Me: http://www.hagander.net/
 Work: http://www.redpill-linpro.com/

Re: pgsql: Add contraint exclusion section to contraint docs.

От
Bruce Momjian
Дата:
Magnus Hagander wrote:
> 2010/4/1 Bruce Momjian <momjian@postgresql.org>:
> > Log Message:
> > -----------
> > Add contraint exclusion section to contraint docs.
> >
> > Takahiro Itagaki
> >
> > Modified Files:
> > --------------
> > ? ?pgsql/doc/src/sgml:
> > ? ? ? ?ddl.sgml (r1.90 -> r1.91)
> > ? ? ? ?(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/ddl.sgml?r1=1.90&r2=1.91)
>
>
> Obviously, you mean exclusion constraint and not constraint exclusion
> - yet another case of the bad choice of name showing up :P
>
> (contents of the patch seem to get it right, though)

Yea.

--
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

Re: pgsql: Add contraint exclusion section to contraint docs.

От
Simon Riggs
Дата:
On Thu, 2010-04-01 at 09:51 -0400, Bruce Momjian wrote:
> Magnus Hagander wrote:
> > 2010/4/1 Bruce Momjian <momjian@postgresql.org>:
> > > Log Message:
> > > -----------
> > > Add contraint exclusion section to contraint docs.
> > >
> > > Takahiro Itagaki
> > >
> > > Modified Files:
> > > --------------
> > > ? ?pgsql/doc/src/sgml:
> > > ? ? ? ?ddl.sgml (r1.90 -> r1.91)
> > > ? ? ? ?(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/ddl.sgml?r1=1.90&r2=1.91)
> >
> >
> > Obviously, you mean exclusion constraint and not constraint exclusion
> > - yet another case of the bad choice of name showing up :P
> >
> > (contents of the patch seem to get it right, though)
>
> Yea.

How about we call it "exclusivity constraints".

Not much of a change, but helps to differentiate.

--
 Simon Riggs           www.2ndQuadrant.com


Re: pgsql: Add contraint exclusion section to contraint docs.

От
Bruce Momjian
Дата:
Simon Riggs wrote:
> On Thu, 2010-04-01 at 09:51 -0400, Bruce Momjian wrote:
> > Magnus Hagander wrote:
> > > 2010/4/1 Bruce Momjian <momjian@postgresql.org>:
> > > > Log Message:
> > > > -----------
> > > > Add contraint exclusion section to contraint docs.
> > > >
> > > > Takahiro Itagaki
> > > >
> > > > Modified Files:
> > > > --------------
> > > > ? ?pgsql/doc/src/sgml:
> > > > ? ? ? ?ddl.sgml (r1.90 -> r1.91)
> > > > ? ? ? ?(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/ddl.sgml?r1=1.90&r2=1.91)
> > >
> > >
> > > Obviously, you mean exclusion constraint and not constraint exclusion
> > > - yet another case of the bad choice of name showing up :P
> > >
> > > (contents of the patch seem to get it right, though)
> >
> > Yea.
>
> How about we call it "exclusivity constraints".
>
> Not much of a change, but helps to differentiate.

Well, the keyword is EXCLUDE so we could call it "EXCLUDE contraints".

--
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

Re: pgsql: Add contraint exclusion section to contraint docs.

От
Simon Riggs
Дата:
On Sun, 2010-04-04 at 22:12 -0400, Bruce Momjian wrote:
> Simon Riggs wrote:
> >
> > How about we call it "exclusivity constraints".
> >
> > Not much of a change, but helps to differentiate.
>
> Well, the keyword is EXCLUDE so we could call it "EXCLUDE contraints".

If that is the keyword then that is what people will use, agreed.

That is poor English, but I think we can reword the sentences to allow
that phrase to make sense.

e.g. Added capability for EXCLUDE constraints.

--
 Simon Riggs           www.2ndQuadrant.com