Skip site navigation (1) Skip section navigation (2)

Re: insert more than one rows

From: "A(dot) Kretschmer" <andreas(dot)kretschmer(at)schollglas(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: Re: insert more than one rows
Date: 2006-06-28 08:06:35
Message-ID: 20060628080635.GB6673@webserv.wug-glas.de (view raw or flat)
Thread:
Lists: pgsql-novice
am  28.06.2006, um  7:59:44 +0000 mailte roy simkes folgendes:
> Hi,I'm using Pgsql 8.1 in my project and I have to insert more than
> one rows with one sql query as the insert commmand slows a lot the
> server and comsumes too much resources. I have read some older mails
> about this and most of them recommended to use COPY command but the
> thing is I don't have a chance to create a file. I have a php form

Read this:

http://people.planetpostgresql.org/greg/index.php?/archives/56-Inserting-multiple-rows-in-a-single-statement.html


HTH, Andreas
-- 
Andreas Kretschmer    (Kontakt: siehe Header)
Heynitz:  035242/47215,      D1: 0160/7141639
GnuPG-ID 0x3FFF606C http://wwwkeys.de.pgp.net
 ===    Schollglas Unternehmensgruppe    === 

In response to

pgsql-novice by date

Next:From: Andrej Ricnik-BayDate: 2006-06-28 08:33:42
Subject: Re: insert more than one rows
Previous:From: roy simkesDate: 2006-06-28 07:59:44
Subject: insert more than one rows

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group