Re: Wrong error message in REINDEX command

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Sawada Masahiko <sawada(dot)mshk(at)gmail(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Wrong error message in REINDEX command
Date: 2015-03-08 15:33:32
Message-ID: 16922.1425828812@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Sawada Masahiko <sawada(dot)mshk(at)gmail(dot)com> writes:
> I got wrong error message when I did REINDEX SYSTEM command in
> transaction as follows.
> It should say "ERROR: REINDEX SYSTEM cannot run inside a transaction block"
> Attached patch fixes it.

Hm, yeah, looks like ReindexObject() has a similar disease internally
(not to mention being very inappropriately named itself...)

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2015-03-08 15:34:05 Re: [PATCH] Add transforms feature
Previous Message Peter Eisentraut 2015-03-08 13:22:53 Re: improving speed of make check-world