Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Bugs > Re: statement_t...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 4 Topic 3761 of 4088
Post > Topic >>

Re: statement_timeout and crosstab

by tgl@[EMAIL PROTECTED] (Tom Lane) May 9, 2008 at 11:59 PM

"Tiago D. Jacobs - iMDT" <tiago@[EMAIL PROTECTED]
> writes:
> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
> <html>
> <head>
> </head>
> <body bgcolor="#ffffff" text="#000000">
> <blockquote><small><font face="Arial">Hi, i think that there is a bug
> with the </font></small><small><font face="Arial">crosstab function,
> the query is not stopped even with a too little value for
</font></small><small><font
>  face="Arial">statement_timeout, like this:</font></small><br>
>   <br>
>   <small><font face="Arial">set statement_timeout =
1;</font></small><br>
>   <small><font face="Arial">create temp table resultset_26243
> TABLESPACE temp_space as</font></small><br>
>   <small><font face="Arial">SELECT *</font></small><br>
>   <small><font face="Arial">FROM crosstab(</font></small><br>
>   <small><font face="Arial">'', '' );<br>
>   <br>
> I implemented at application level, but i think that if is a bug, it's
> good to re****t you.<br>
>   <br>
> Any ideas?<br>
>   <br>
> regards,<br>
> tiago jacobs<br>
>   <br>
>   <br>
>   </font></small></blockquote>
> </body>
> </html>

(1) Please do not post HTML.

(2) Your example fails instantly with
ERROR:  a column definition list is required for functions returning
"record"
I'm prepared to believe that there's a loop in crosstab() that fails to
check for interrupts reasonably often, but it's not obvious where.  You
need to provide a complete working test case if you want the problem
investigated.

			regards, tom lane

-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
 




 4 Posts in Topic:
statement_timeout and crosstab
tiago@[EMAIL PROTECTED]   2008-05-09 16:06:14 
Re: statement_timeout and crosstab
tgl@[EMAIL PROTECTED] (T  2008-05-09 23:59:45 
Re: statement_timeout and crosstab
tiago@[EMAIL PROTECTED]   2008-05-10 16:52:01 
Re: statement_timeout and crosstab
tgl@[EMAIL PROTECTED] (T  2008-05-10 16:57:48 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Oct 10 23:23:32 CDT 2008.