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 > BUG #4113: serv...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 5 Topic 3722 of 3896
Post > Topic >>

BUG #4113: server closed the connection unexpectedly

by dba@[EMAIL PROTECTED] ("Javier Hernandez") Apr 18, 2008 at 08:15 PM

The following bug has been logged online:

Bug reference:      4113
Logged by:          Javier Hernandez
Email address:      dba@[EMAIL PROTECTED]
 version: 8.3.1
Operating system:   Linux version 2.6.9-11.ELsmp; Red Hat 3.4.3-22; gcc
version 3.4.3
Description:        server closed the connection unexpectedly
Details: 

The following script generates an unexpected loss of connection. 


begin;

\echo "Creating a table to hold numeric values only"
create table numeric_col_table (
num_col numeric(6,0) primary key not null
);

\echo "Creating a table to hold integer values only"
create table int_col_table (
int_col integer primary key not null
);


\echo "Inserting data into our numeric-only table"
insert into numeric_col_table (num_col) values (1), (2), (3);

\echo "Inserting data into our integer-only table"
insert into int_col_table (int_col) values (1), (2), (3);

\echo "Show contents of the numeric table"
select * from numeric_col_table;

\echo "Show contents of the numeric table"
select * from int_col_table;

\echo "Select everything from the integer table where int_col =
numeric_col"
select * from int_col_table where int_col in (select num_col from
numeric_col_table);

\echo "Select everything from the numeric table where numeric_col =
int_col"
select * from numeric_col_table where num_col in (select int_col from
int_col_table);

rollback;

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




 5 Posts in Topic:
BUG #4113: server closed the connection unexpectedly
dba@[EMAIL PROTECTED] (&  2008-04-18 20:15:50 
Re: BUG #4113: server closed the connection
bruce@[EMAIL PROTECTED]   2008-04-21 11:42:37 
Re: BUG #4113: server closed the connection unexpectedly
alvherre@[EMAIL PROTECTED  2008-04-21 11:53:53 
Re: BUG #4113: server closed the connection unexpectedly
tgl@[EMAIL PROTECTED] (T  2008-04-21 13:09:39 
Re: BUG #4113: server closed the connection unexpectedly
tgl@[EMAIL PROTECTED] (T  2008-04-21 16:55:15 

Post A Reply:
  Go here to Signup

AddThis Feed Button


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

Contact
tan13V112 Fri Jul 4 15:12:57 CDT 2008.