Betr: Re: Question insert data - Mailing list pgsql-general

From perico@12move.nl
Subject Betr: Re: Question insert data
Date
Msg-id 421C50940001BD4A@mail-3-bnl.tiscali.it
Whole thread Raw
In response to Re: Question insert data  (Stephan Szabo <sszabo@megazone.bigpanda.com>)
Responses Re: Betr: Re: Question insert data  (Stephan Szabo <sszabo@megazone.bigpanda.com>)
List pgsql-general
That's what I tought the problem was, but I created  a table afterwards without
inheritence. Could it have something to do with the max size of the schema
or oid's?


>-- Oorspronkelijk bericht --
>Date: Sat, 19 Mar 2005 14:55:50 -0800 (PST)
>From: Stephan Szabo <sszabo@megazone.bigpanda.com>
>To: perico@12move.nl
>Cc: pgsql-general@postgresql.org
>Subject: Re: [GENERAL] Question insert data
>
>
>On Sat, 19 Mar 2005 perico@12move.nl wrote:
>
>> Hi There,
>>
>> I've a problem with inserting data and I can't figure out what the problem
>> is:
>>
>>
>> what did I do:
>>
>>
>> 1. I've a master table containing about 40000 records. A count(*) provides
>> me the exact number.
>>
>> 2. I've create a table based on from the master. I copied a fraction from
>> the master into the new table using a where clause (insert into ... select
>> * from ... where a = b . The number of records copied is about 2553.
>
>Define "based on". Do you mean CREATE TABLE AS or perhaps that the new
>table inherits from the old one?  If the latter, you will see the rows in
>the parent as well as the child if you do a select from the parent.
>
>---------------------------(end of broadcast)---------------------------
>TIP 4: Don't 'kill -9' the postmaster


_____________________________________________________________________

12move ADSL vanaf 18,95 euro! GRATIS modem, GEEN aansluitkosten en GEEN datalimiet!
Ga nu naar http://adsl.12move.nl




pgsql-general by date:

Previous
From: Michael Ben-Nes
Date:
Subject: Re: Installing PostgreSQL in Debian
Next
From: Stephan Szabo
Date:
Subject: Re: Betr: Re: Question insert data