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

Atleast i want to know where is this setting for Max no of commands per transaction


----- Original Message ----- 
From: "Alvaro Herrera" <alvherre@commandprompt.com>
To: "Yogvinder Singh" <yogvinder@newgen.co.in>
Cc: <pgsql-admin@postgresql.org>
Sent: Tuesday, November 22, 2005 5:35 PM
Subject: Re: [ADMIN] Max no of commands per transaction


> 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: <00b801c5ef61$7f711230$5605a8c0@ng3054>
Permalink:  ../00b801c5ef61$7f711230$5605a8c0@ng3054/
Also on:    postgresql.org/message-id/00b801c5ef61$7f711230$5605a8c0@ng3054

 · 

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: yogvinder@newgen.co.in, alvherre@commandprompt.com
  Subject: Re: Max no of commands per transaction
  In-Reply-To: <00b801c5ef61$7f711230$5605a8c0@ng3054>
  References: <006901c5ef4a$bc1c8050$5605a8c0@ng3054> <20051122120500.GA8685@surnet.cl> <00b801c5ef61$7f711230$5605a8c0@ng3054>

* 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