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

Re: Max no of commands per transaction

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Yogvinder Singh <yogvinder(at)newgen(dot)co(dot)in>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Max no of commands per transaction
Date: 2005-11-22 12:05:01
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-admin
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                      
The PostgreSQL Company - Command Prompt, Inc.

In response to


pgsql-admin by date

Next:From: Yogvinder SinghDate: 2005-11-22 12:37:27
Subject: Re: Max no of commands per transaction
Previous:From: DiegoDate: 2005-11-22 11:34:39
Subject: PG Version 8.1

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