pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Richard Huxton <dev@archonet.com>
To: Sridhar Reddy Ratna <sridhar.ratna@cmcltd.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: trigger failed to identify the partions
Date: Wed, 09 Sep 2009 11:05:11 +0100
Message-ID: <4AA77DD7.5040908@archonet.com> (raw)
In-Reply-To: <17DD0201A12947039313F26974E8E9B4@Sridharvisic>
References: <17DD0201A12947039313F26974E8E9B4@Sridharvisic>

Sridhar Reddy Ratna wrote:
> 
>                         dateTable := coll_fp_subdtls_01;
> 
>             ELSE
> 
>                         dateTable := coll_fp_subdtls_02;


> ERROR:  column "coll_fp_subdtls_01" does not exist
> 
> ERROR: column "coll_fp_subdtls_01" does not exist


I think you missed the word "column" in the error message (easy to do,
you know you are naming tables). You've missed the quotes around the
partition-names so it's trying to find a column on a table that matches.

  dateTable := 'coll_fp_subdtls_01';


-- 
  Richard Huxton
  Archonet Ltd



view thread (4+ messages)  latest in thread

Message-ID: <4AA77DD7.5040908@archonet.com>
Permalink:  ../4AA77DD7.5040908@archonet.com/
Also on:    postgresql.org/message-id/4AA77DD7.5040908@archonet.com

 · 

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: dev@archonet.com, sridhar.ratna@cmcltd.com
  Subject: Re: trigger failed to identify the partions
  In-Reply-To: <4AA77DD7.5040908@archonet.com>

* 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