Stephan Szabo wrote:
On Thu, 19 May 2005, James Croft wrote:
Hi all,
I'm trying to create a trigger function for a few tables that will store
old versions of rows prior to any update on them. Part of the function
needs to creates other tables (the table to store these snapshots in).
When this trig
On Thu, 19 May 2005, James Croft wrote:
> Hi all,
>
> I'm trying to create a trigger function for a few tables that will store
> old versions of rows prior to any update on them. Part of the function
> needs to creates other tables (the table to store these snapshots in).
>
> When this trigger run
Hi all,
I'm trying to create a trigger function for a few tables that will store
old versions of rows prior to any update on them. Part of the function
needs to creates other tables (the table to store these snapshots in).
When this trigger runs I get the and error of 'syntax error at or near
"
James Croft wrote:
The problems seems to be with the table_name arg being a variable and
not a literal but can't see how to fix this.
If anyone knows what's going on here or has any pointers it would be
appreciated.
Thanks,
James
Sorry,
I'm running PgSQL 7.4.7 on RedHat Enterprise Linux 3.