Re: New feature proposal - Mailing list pgsql-hackers

From Neil Conway
Subject Re: New feature proposal
Date
Msg-id 1169681739.12522.4.camel@localhost.localdomain
Whole thread Raw
In response to New feature proposal  (Sorin Schwimmer <sxn02@yahoo.com>)
List pgsql-hackers
On Wed, 2007-01-24 at 08:26 -0800, Sorin Schwimmer wrote:
> The front-end application can do it easy in a
> loop of a sort, but on remote servers (and that's the
> norm these days) it creates unnecessary network
> traffic.

You can avoid this easily via a stored procedure.

> My suggestion is to allow INSERT to do it REPEAT x.

We generally try to avoid non-standard extensions to SQL to accomplish
things that can be comfortably expressed in standard SQL, or via the
existing Postgres constructs (e.g. PL/PgSQL stored procedures).

-Neil




pgsql-hackers by date:

Previous
From: Sorin Schwimmer
Date:
Subject: New feature proposal
Next
From: Gavin Sherry
Date:
Subject: Re: New feature proposal