Joachim Unger escreveu: > The column expansion lists date types without a date cast. > And all of the text types too.
> Here is an example where I'm using NEW inside a trigger: > [...] > ins_sql := 'INSERT INTO ' || quote_ident(new_child_table) || '(' > ||col_names(new_child_table) || ') VALUES ' || NEW; > RAISE NOTICE 'INSERT: %',ins_sql; > EXECUTE ins_sql; > [...] > Why aren't you expanding it yourself? Currently, PostgreSQL doesn't have a function that does the quoting-if-needed automagically. -- Euler Taveira de Oliveira http://www.timbira.com/ -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs