Re: [BUGS] BUG #2570: Connection closed unexpectedly

2006-08-09 Thread Tom Lane
"Pavel Golub" <[EMAIL PROTECTED]> writes: > 1. Connect to server. > 2. Execute some queries, e.g. SELECT 2; > 3. Wait for a while (to be sure I suggest 20 minutes) > 4. Try to execute query, e.g. SELECT version() > We got an error: "server closed the connection unexpectedly. This probably > means

[BUGS] BUG #2570: Connection closed unexpectedly

2006-08-09 Thread Pavel Golub
The following bug has been logged online: Bug reference: 2570 Logged by: Pavel Golub Email address: [EMAIL PROTECTED] PostgreSQL version: 8.0.x Operating system: Windows XP Description:Connection closed unexpectedly Details: Bug may be reproduced by any tool using l

Re: [BUGS] BUG #2565: pg tool doesn't detect window size changes

2006-08-09 Thread PF
On Wed, 2006-08-09 at 05:31 +, [EMAIL PROTECTED] wrote: > On Mon, Aug 07, 2006 at 09:40:59PM +, PFudd wrote: > > > > The following bug has been logged online: > > > > Bug reference: 2565 > > Logged by: PFudd > > Email address: [EMAIL PROTECTED] > > PostgreSQL version: 8

Re: [BUGS] BUG #2567: High IOWAIT

2006-08-09 Thread Jim C. Nasby
This isn't a bug; moving to pgsql-performance. On Tue, Aug 08, 2006 at 08:42:02AM +, kumarselvan wrote: > i have installed the postgres as mentioned in the Install file. it is a 4 > cpu 8 GB Ram Machine installed with Linux Enterprise version 3. when i am > running a load which will perfrom 40

Re: [BUGS] numerics lose scale and precision in views of unions

2006-08-09 Thread Tom Lane
"Brian C. DeRocher" <[EMAIL PROTECTED]> writes: > It appears that when you create a view of a union, numeric data types > loose their scale and precision. I think this is the same issue discussed here: http://archives.postgresql.org/pgsql-hackers/2004-12/msg00408.php That was just before 8.0 rele

[BUGS] numerics lose scale and precision in views of unions

2006-08-09 Thread Brian C. DeRocher
It appears that when you create a view of a union, numeric data types loose their scale and precision. db=> create table t1 (c1 numeric(4,2)); CREATE TABLE db=> create view v1 as select c1 from t1; CREATE VIEW db=> \d v1 View "brian.v1" Column | Type | Modifiers +-

Re: [HACKERS] [PATCHES] [BUGS] BUG #2569: statement_timeout bug on

2006-08-09 Thread Bruce Momjian
OK, done. --- Tom Lane wrote: > Bruce Momjian <[EMAIL PROTECTED]> writes: > > Tom Lane wrote: > >> Seems like this probably ought to round up not down: > > > I thought about that, but because statement_timeout is in millis,

Re: [PATCHES] [BUGS] BUG #2569: statement_timeout bug on Windows

2006-08-09 Thread Tom Lane
Bruce Momjian <[EMAIL PROTECTED]> writes: > Tom Lane wrote: >> Seems like this probably ought to round up not down: > I thought about that, but because statement_timeout is in millis, and > not micros, we can't have a value that gets rounded down. I am > thinking a cleaner solution is to check f

Re: [PATCHES] [BUGS] BUG #2569: statement_timeout bug on Windows

2006-08-09 Thread Bruce Momjian
Tom Lane wrote: > Bruce Momjian <[EMAIL PROTECTED]> writes: > ! /* WaitForSingleObjectEx() uses milliseconds */ > > ! waittime = timerCommArea.value.it_value.tv_usec > > / 1000 + timerCommArea.value.it_value.tv_sec * 1000; > > Seems like this

Re: [PATCHES] [BUGS] BUG #2569: statement_timeout bug on Windows

2006-08-09 Thread Tom Lane
Bruce Momjian <[EMAIL PROTECTED]> writes: ! /* WaitForSingleObjectEx() uses milliseconds */ > ! waittime = timerCommArea.value.it_value.tv_usec > / 1000 + timerCommArea.value.it_value.tv_sec * 1000; Seems like this probably ought to round

Re: [BUGS] BUG #2558: initDB failed to run

2006-08-09 Thread Jim Nasby
Please cc the list so others can learn.   Yes, I think a patch for this was recently committed. I know it was at least discussed somewhere... -Original Message-From: dror [mailto:[EMAIL PROTECTED]Sent: Wednesday, August 09, 2006 2:17 AMTo: Jim NasbySubject: RE: [BUGS] BUG #25

Re: [BUGS] BUG #2569: statement_timeout bug on Windows

2006-08-09 Thread Bruce Momjian
I have a big "Oops" for this item. Seems in 8.0, we used the Win32 call SetWaitableTimer(), which takes its timeout in 100 nanosecond intervals. This was changed to use WaitForSingleObjectEx() in 8.1, but not properly. The 8.0 code works fine. The attached patch will fix the problem, and will b

Re: [BUGS] BUG #2555: runtime error 80040e21

2006-08-09 Thread Victor Snezhko
Jim Nasby <[EMAIL PROTECTED]> writes: >> I'm using VB6, and trying to update a table. It is all happening on >> my home pc with IIS running too. I can download the table to a >> datagrid, bit I can't type any text i a textbox and update it whith >> out the error occuring. Here [skip] > I don't kno

[BUGS] corruption since 7.4.13 update ?

2006-08-09 Thread Franz . Rasper
Hello, i have a "new" machine with following problem: postgres-7.4.13[7874]: [457-1] ERROR: could not open segment 1 of relation "data_server_id_idx" (target block 791807): No such file or directory I my point of view it seems the same error as: http://archives.postgresql.org/pgsql-admin/2006-07