Re: Max no of commands per transaction

From: "Yogvinder Singh" <yogvinder(at)newgen(dot)co(dot)in>
To: "Alvaro Herrera" <alvherre(at)commandprompt(dot)com>
Subject: Re: Max no of commands per transaction
Date: 2005-11-22 12:37:27
Message-ID: 00b801c5ef61$7f711230$5605a8c0@ng3054
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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

----- Original Message -----
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>
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.
>

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Alvaro Herrera 2005-11-22 13:00:50 Re: Max no of commands per transaction
Previous Message Alvaro Herrera 2005-11-22 12:05:01 Re: Max no of commands per transaction