Georgi Kolev <geo_kolev@mail.ru> writes:
> I agree that the solution INSERT...RETURNING is more general and flexible. But
> I think if we have such a solution as @@identity as in Sybase, PostgreSQL will
> be much more compatible and adoptable for migrations.
What characteristic does @@identity have that lastval() lacks?
-- Gregory Stark EnterpriseDB http://www.enterprisedb.com