[prev in list] [next in list] [prev in thread] [next in thread] 

List:       postgresql-sql
Subject:    Re: [SQL] Error: Template Id should be teh identifier of a template - help
From:       Tom Lane <tgl () sss ! pgh ! pa ! us>
Date:       2012-08-17 17:28:58
Message-ID: 17350.1345224538 () sss ! pgh ! pa ! us
[Download RAW message or body]

Alex <alex.thegreat@ambix.net> writes:
> When I execute this:

> UPDATE HTMLPAGE SET PAGE_URL = REPLACE(PAGE_URL, '.dot', '.html')  
> WHERE PAGE_URL LIKE '%.dot';

> I get the following error from psql.  Could you tell me what is wrong  
> or how to fix it?

>> Failed to execute SQL : SQL UPDATE HTMLPAGE SET PAGE_URL =  
>> REPLACE(PAGE_URL, '.dot', '.html') WHERE PAGE_URL LIKE '%.dot';  
>> failed : ERROR: Template Id should be the identifier of a template

That is not any built-in Postgres error message.  Perhaps it is coming
from a trigger function or some such?  In any case, we can't help you.
You need to identify what layer of software it's coming from, and
complain to the appropriate people.

			regards, tom lane


-- 
Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-sql
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic