pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@commandprompt.com>
To: Gavin Flower <gavinflower@archidevsys.co.nz>
Cc: Pg Bugs <pgsql-bugs@postgresql.org>
Subject: Re: Spurious errors relating to escaped single quotes
Date: Thu, 14 Jul 2011 12:45:08 -0400
Message-ID: <1310661849-sup-6899@alvh.no-ip.org> (raw)
In-Reply-To: <4E1ED6BC.9020709@archidevsys.co.nz>
References: <4E1ED6BC.9020709@archidevsys.co.nz>

Excerpts from Gavin Flower's message of jue jul 14 07:45:00 -0400 2011:
> Hi,
> 
> Using pg 9.1beta3, I was found that running a function generated an 
> error relating to escaped single quotes, yet still produced the answer I 
> expected!

The errors are not spurious.  The function doesn't exist now because it
didn't get created.  What happened is that now your inserts are going
into the parent table, not the partitions as your script intended.

-- 
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support



view thread (8+ messages)  latest in thread

Message-ID: <1310661849-sup-6899@alvh.no-ip.org>
Permalink:  ../1310661849-sup-6899@alvh.no-ip.org/
Also on:    postgresql.org/message-id/1310661849-sup-6899@alvh.no-ip.org

 · 

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-bugs@postgresql.org
  Cc: alvherre@commandprompt.com, gavinflower@archidevsys.co.nz
  Subject: Re: Spurious errors relating to escaped single quotes
  In-Reply-To: <1310661849-sup-6899@alvh.no-ip.org>
  References: <4E1ED6BC.9020709@archidevsys.co.nz> <1310661849-sup-6899@alvh.no-ip.org>

* 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