pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Rosser Schwarz <rosser.schwarz@gmail.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: function fails where individual statements succeed
Date: Mon, 30 Aug 2004 17:03:21 -0400
Message-ID: <11478.1093899801@sss.pgh.pa.us> (raw)
In-Reply-To: <37d451f704083013401926a341@mail.gmail.com>
References: <37d451f7040830101763682930@mail.gmail.com>
	<11133.1093897977@sss.pgh.pa.us>
	<37d451f704083013401926a341@mail.gmail.com>

Rosser Schwarz <rosser.schwarz@gmail.com> writes:
> We've opted to simply script issuing the statements serially, rather
> than as a function for this one.  Your explanation makes sense, Tom,
> though I'm curious why it works in our long-running case (beyond the
> issue of fewer indices there).

Does the other case have any partial indexes?  The particular error
was about an index predicate condition; it might be that you don't
happen to fall foul of the issue when dealing with simple CREATE
INDEX commands.  I'd describe that as "miraculously managing not to
fail", though, not as a behavior I'd care to rely on.

			regards, tom lane



view thread (6+ messages)  latest in thread

Message-ID: <11478.1093899801@sss.pgh.pa.us>
Permalink:  ../11478.1093899801@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/11478.1093899801@sss.pgh.pa.us

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: tgl@sss.pgh.pa.us, rosser.schwarz@gmail.com
  Subject: Re: function fails where individual statements succeed
  In-Reply-To: <11478.1093899801@sss.pgh.pa.us>

* 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