[SQL] sql question after upgrade

2003-02-22 Thread James Cooper
Hi just upgraded to 7.3.2 and imported my db schema with no probs! Just wondering... why VOLATILE is being appended to my functions - can anyone ansewer me what this means? - should i be using joins instead, does this make a difference? If so an example of this would be much appreciated!! C

Re: [SQL] 7.3 "group by" issue

2003-02-22 Thread Josh Berkus
Peter, > This does not work because the first select list item references a column > inside a join, which is not (necessarily) mathematically identical to the > column that arrives outside of the join and is in the GROUP BY clause. > (Think of an outer join: the column outside the join might conta

Re: [SQL] [BUGS] 7.3 GROUP BY differs from 7.2

2003-02-22 Thread Stephan Szabo
On Sat, 22 Feb 2003, Tom Lane wrote: > Stephan Szabo <[EMAIL PROTECTED]> writes: > > On Fri, 21 Feb 2003, Tom Lane wrote: > >> Anyone care to offer a gloss on the spec to prove that this behavior > >> is correct or not correct? > > > Hmm, I'd read SQL92 Section 7.5 (joined tables) Syntax Rules as

Re: [SQL] [BUGS] 7.3 GROUP BY differs from 7.2

2003-02-22 Thread Tom Lane
Stephan Szabo <[EMAIL PROTECTED]> writes: > On Fri, 21 Feb 2003, Tom Lane wrote: >> Anyone care to offer a gloss on the spec to prove that this behavior >> is correct or not correct? > Hmm, I'd read SQL92 Section 7.5 (joined tables) Syntax Rules as saying > that the non natural/using case is separ

Re: [SQL] [BUGS] 7.3 GROUP BY differs from 7.2

2003-02-22 Thread Stephan Szabo
On Fri, 21 Feb 2003, Tom Lane wrote: > Dan Langille <[EMAIL PROTECTED]> writes: > > This is the query in question: > > > SELECT element_id as wle_element_id, COUNT(watch_list_id) > > FROM watch_list JOIN watch_list_element > >ON watch_list.id = watch_list_element.watch_list_id > > WHE

Re: [SQL] function defination help ..

2003-02-22 Thread Rajesh Kumar Mallah
Thank you i will look into its source code. and try to find some solution for myself. regds mallah. On Saturday 22 February 2003 07:40 am, Peter Eisentraut wrote: > Rajesh Kumar Mallah writes: > > is it possible to get the function creation defination as produced by > > pg_dump by some SQL q