Re: [SPAM]Re: [HACKERS] Questions about 9.0 release note

2010-04-05 Thread Bruce Momjian
Tom Lane wrote: > Bruce Momjian writes: > > Tom Lane wrote: > >> Bruce Momjian writes: > >>> + Exclusion constraints ensure that if any two rows are compared on > >>> + the specified columns or expressions using the specified operators, > >>> + at least one of these operator compariso

Re: [SPAM]Re: [HACKERS] Questions about 9.0 release note

2010-04-05 Thread Tom Lane
Bruce Momjian writes: > Tom Lane wrote: >> Bruce Momjian writes: >>> + Exclusion constraints ensure that if any two rows are compared on >>> + the specified columns or expressions using the specified operators, >>> + at least one of these operator comparisons will be false. The syntax

Re: [SPAM]Re: [HACKERS] Questions about 9.0 release note

2010-04-04 Thread Bruce Momjian
Tom Lane wrote: > Bruce Momjian writes: > > + Exclusion constraints ensure that if any two rows are compared on > > + the specified columns or expressions using the specified operators, > > + at least one of these operator comparisons will be false. The syntax > > is: > > Isn't that

Re: [SPAM]Re: [HACKERS] Questions about 9.0 release note

2010-04-01 Thread Tom Lane
Bruce Momjian writes: > + Exclusion constraints ensure that if any two rows are compared on > + the specified columns or expressions using the specified operators, > + at least one of these operator comparisons will be false. The syntax is: Isn't that phrasing outright incorrect? Con

Re: [SPAM]Re: [HACKERS] Questions about 9.0 release note

2010-03-31 Thread Bruce Momjian
Takahiro Itagaki wrote: > > "Robert Haas" wrote: > > > > * (seq_page_cost/(random_page_cost)) > > > * EXCLUDE constraints has no tags to be linked. > > > * "EXCLUDE constraints" is not indexed from the Index page. > > > CREATE TABLE ... CONSTRAINT ... EXCLUDE rather than CREATE TABLE > > CONSTR

Re: [SPAM]Re: [HACKERS] Questions about 9.0 release note

2010-03-31 Thread Bruce Momjian
Takahiro Itagaki wrote: > > "Robert Haas" wrote: > > > > * (seq_page_cost/(random_page_cost)) > > > * EXCLUDE constraints has no tags to be linked. > > > * "EXCLUDE constraints" is not indexed from the Index page. > > > CREATE TABLE ... CONSTRAINT ... EXCLUDE rather than CREATE TABLE > > CONSTR

Re: [HACKERS] Questions about 9.0 release note

2010-03-31 Thread Bruce Momjian
Alvaro Herrera wrote: > > Also, where are we on using full names rather than first names only? I > don't see the point in omitting the last names. Are we trying to > obscure to outsiders who is really working on our code? You are the third person to ask for this and I was holding up that change

Re: [HACKERS] Questions about 9.0 release note

2010-03-31 Thread Robert Haas
On Wed, Mar 31, 2010 at 8:23 PM, Bruce Momjian wrote: > Robert Haas wrote: >> On Wed, Mar 31, 2010 at 8:19 PM, Bruce Momjian wrote: >> >> * "EXCLUDE constraints" is not indexed from the Index page. >> >> Should we have for it? Unique Constraints have a section for them: >> >> http://developer.pos

Re: [HACKERS] Questions about 9.0 release note

2010-03-31 Thread Bruce Momjian
Robert Haas wrote: > On Wed, Mar 31, 2010 at 8:19 PM, Bruce Momjian wrote: > >> * "EXCLUDE constraints" is not indexed from the Index page. > >> Should we have for it? Unique Constraints have a section for them: > >> http://developer.postgresql.org/pgdocs/postgres/ddl-constraints.html#AEN2431 > >

Re: [HACKERS] Questions about 9.0 release note

2010-03-31 Thread Robert Haas
On Wed, Mar 31, 2010 at 8:21 PM, Bruce Momjian wrote: > Kevin Grittner wrote: >> Robert Haas wrote: >> >> > I thought it was referring to all pairs of rows, but I see >> > now it's referring to pairs of columns, so it's correct. >> >> If it confused you, I suspect it will confuse others.  Offhand

Re: [HACKERS] Questions about 9.0 release note

2010-03-31 Thread Bruce Momjian
Kevin Grittner wrote: > Robert Haas wrote: > > > I thought it was referring to all pairs of rows, but I see > > now it's referring to pairs of columns, so it's correct. > > If it confused you, I suspect it will confuse others. Offhand, > I can't see how to improve the language, though. I hav

Re: [HACKERS] Questions about 9.0 release note

2010-03-31 Thread Robert Haas
On Wed, Mar 31, 2010 at 8:19 PM, Bruce Momjian wrote: >> * "EXCLUDE constraints" is not indexed from the Index page. >> Should we have for it? Unique Constraints have a section for them: >> http://developer.postgresql.org/pgdocs/postgres/ddl-constraints.html#AEN2431 > > I am unclear if exclude rea

Re: [HACKERS] Questions about 9.0 release note

2010-03-31 Thread Bruce Momjian
Takahiro Itagaki wrote: > Hi, I have some questions about 9.0 release note. > I'd like to work for some of them if required. Comments welcome. > > * Allow per-tablespace sequential and random page cost variables > (seq_page_cost/(random_page_cost)) via ALTER TABLESPACE ... SET/RESET That is a b

Re: [HACKERS] Questions about 9.0 release note

2010-03-31 Thread Aidan Van Dyk
* Kevin Grittner [100331 13:18]: > If it confused you, I suspect it will confuse others. Offhand, > I can't see how to improve the language, though. How about a simple: s/these/the colomn or expression/ Leaving: ... not all of the column or expression comparisons ... "These" isn't

Re: [HACKERS] Questions about 9.0 release note

2010-03-31 Thread Kevin Grittner
Robert Haas wrote: > I thought it was referring to all pairs of rows, but I see > now it's referring to pairs of columns, so it's correct. If it confused you, I suspect it will confuse others. Offhand, I can't see how to improve the language, though. -Kevin -- Sent via pgsql-hackers maili

Re: [SPAM]Re: [HACKERS] Questions about 9.0 release note

2010-03-31 Thread Robert Haas
On Wed, Mar 31, 2010 at 1:07 PM, Kevin Grittner wrote: > Robert Haas wrote: > >> This says: >> >> Exclusion constraints ensure that that if any two rows are >> compared on the specified column(s) or expression(s) using the >> specified operator(s), not all of these comparisons will return >> TRUE

Re: [SPAM]Re: [HACKERS] Questions about 9.0 release note

2010-03-31 Thread Kevin Grittner
Robert Haas wrote: > This says: > > Exclusion constraints ensure that that if any two rows are > compared on the specified column(s) or expression(s) using the > specified operator(s), not all of these comparisons will return > TRUE. > > I think that's backwards - the last clause should say "n

Re: [SPAM]Re: [HACKERS] Questions about 9.0 release note

2010-03-31 Thread Robert Haas
On Wed, Mar 31, 2010 at 2:56 AM, Takahiro Itagaki wrote: > > "Robert Haas" wrote: > >> > * (seq_page_cost/(random_page_cost)) >> > * EXCLUDE constraints has no tags to be linked. >> > * "EXCLUDE constraints" is not indexed from the Index page. > >> CREATE TABLE ... CONSTRAINT ... EXCLUDE rather t

Re: [SPAM]Re: [HACKERS] Questions about 9.0 release note

2010-03-31 Thread Thom Brown
On 31 March 2010 07:56, Takahiro Itagaki wrote: > > "Robert Haas" wrote: > >> > * (seq_page_cost/(random_page_cost)) >> > * EXCLUDE constraints has no tags to be linked. >> > * "EXCLUDE constraints" is not indexed from the Index page. > >> CREATE TABLE ... CONSTRAINT ... EXCLUDE rather than CREAT

Re: [SPAM]Re: [HACKERS] Questions about 9.0 release note

2010-03-30 Thread Takahiro Itagaki
"Robert Haas" wrote: > > * (seq_page_cost/(random_page_cost)) > > * EXCLUDE constraints has no tags to be linked. > > * "EXCLUDE constraints" is not indexed from the Index page. > CREATE TABLE ... CONSTRAINT ... EXCLUDE rather than CREATE TABLE > CONSTRAINT ... EXCLUDE. Here is a patch to fix

Re: [HACKERS] Questions about 9.0 release note

2010-03-30 Thread Alvaro Herrera
Also, where are we on using full names rather than first names only? I don't see the point in omitting the last names. Are we trying to obscure to outsiders who is really working on our code? -- Alvaro Herrerahttp://www.CommandPrompt.com/ The PostgreSQL Company

Re: [HACKERS] Questions about 9.0 release note

2010-03-30 Thread Robert Haas
On Tue, Mar 30, 2010 at 1:37 AM, Takahiro Itagaki wrote: > Hi, I have some questions about 9.0 release note. > I'd like to work for some of them if required. Comments welcome. > > * Allow per-tablespace sequential and random page cost variables >  (seq_page_cost/(random_page_cost)) via ALTER TABLE

[HACKERS] Questions about 9.0 release note

2010-03-29 Thread Takahiro Itagaki
Hi, I have some questions about 9.0 release note. I'd like to work for some of them if required. Comments welcome. * Allow per-tablespace sequential and random page cost variables (seq_page_cost/(random_page_cost)) via ALTER TABLESPACE ... SET/RESET ^^ Are those