Re: trigger failed to identify the partions - Mailing list pgsql-sql

From Richard Huxton
Subject Re: trigger failed to identify the partions
Date
Msg-id 4AA77DD7.5040908@archonet.com
Whole thread Raw
In response to trigger failed to identify the partions  ("Sridhar Reddy Ratna" <sridhar.ratna@cmcltd.com>)
Responses Re: trigger failed to identify the partions
List pgsql-sql
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


pgsql-sql by date:

Previous
From: "Sridhar Reddy Ratna"
Date:
Subject: trigger failed to identify the partions
Next
From: "Sridhar Reddy Ratna"
Date:
Subject: Re: trigger failed to identify the partions