pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@commandprompt.com>
To: Yogvinder Singh <yogvinder@newgen.co.in>
Cc: pgsql-admin@postgresql.org
Subject: Re: Max no of commands per transaction
Date: Tue, 22 Nov 2005 09:05:01 -0300
Message-ID: <20051122120500.GA8685@surnet.cl> (raw)
In-Reply-To: <006901c5ef4a$bc1c8050$5605a8c0@ng3054>
References: <006901c5ef4a$bc1c8050$5605a8c0@ng3054>

Yogvinder Singh wrote:
> hi,
>     i am getting an error "ERROR:  You may only have 2^32-1 commands per transaction".
>     Can anyone tell where this size 2^32-1 is specified....
>     I want to reduce this size...

I doubt you can reduce it without causing problems for the system,
because some commands use more than one "command" internally.  Exactly
what are you planning to do with it?

It would actually be trivial to put a lower limit (see the
CommandCounterIncrement function -- you'll have to recompile), but I
guess I don't see the point.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.



view thread (4+ messages)  latest in thread

Message-ID: <20051122120500.GA8685@surnet.cl>
Permalink:  ../20051122120500.GA8685@surnet.cl/
Also on:    postgresql.org/message-id/20051122120500.GA8685@surnet.cl

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: alvherre@commandprompt.com, yogvinder@newgen.co.in
  Subject: Re: Max no of commands per transaction
  In-Reply-To: <20051122120500.GA8685@surnet.cl>
  References: <006901c5ef4a$bc1c8050$5605a8c0@ng3054> <20051122120500.GA8685@surnet.cl>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox