"Norman Khine" <norman(at)khine(dot)net> writes:
> What should be the correct syntax for embedding this.
This would work fine:
INSERT INTO table VALUES (foo, bar, baz, currval('seq'), ...);
The elements of an INSERT/VALUES list are expressions, not
necessarily literal constants.
regards, tom lane