Bug #888

PostgreSQL: serious mistake when call GetInsertedId()

Added by Sergey Nikitin over 4 years ago. Updated over 4 years ago.

Status:ApprovedStart date:10/01/2014
Priority:HighDue date:
Assignee:Miroslav Fidler% Done:

0%

Category:SqlSpent time:-
Target version:-

Description

In a function body of GetInstertedId() it is supposed that the field name of primary key will always have the name id.
But in a case when it not so, becomes difficult an audible error.

Forum link, where I describe solution:
http://www.ultimatepp.org/forums/index.php?t=msg&th=9069

History

#1 Updated by Zbigniew Rebacz over 4 years ago

Hello Sergey one more time :),

If you found appropriate solution please set status to "Patch ready" and assign it to Mirek.

Sincerely,
Klugier

#2 Updated by Sergey Nikitin over 4 years ago

  • Status changed from New to Patch ready
  • Assignee set to Miroslav Fidler

#3 Updated by Miroslav Fidler over 4 years ago

  • Status changed from Patch ready to Approved

Also available in: Atom PDF