Insert more than one t-uple in a single sql - Mailing list pgsql-general

From Gonzalo Villegas
Subject Insert more than one t-uple in a single sql
Date
Msg-id BAY112-DAV19105DCB6C39371A6D3BFFA9030@phx.gbl
Whole thread Raw
In response to Re: What's faster?  (Martijn van Oosterhout <kleptog@svana.org>)
Responses Re: Insert more than one t-uple in a single sql  (Chris <dmagick@gmail.com>)
Re: Insert more than one t-uple in a single sql  (Klint Gore <kg@kgb.une.edu.au>)
List pgsql-general

Hi all,

I'm trying to insert more than one t-uple in a single sql query. Just like

copy table (field1,field2,...) from ....

It must be something like

insert into table (field1,field2,...) values (v1,v2,...),(b1,b2,...),
(c1,c2,...)



Thanks in advance!

Gonzalo A. Villegas

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: referential integrity without trigger
Next
From: Chris
Date:
Subject: Re: Insert more than one t-uple in a single sql