Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

There was a problem

You must be a member of this account.

Nghi Pham's latest activity

Wednesday, May 04 2011
6767 "Returning ID" does not work due to trigger was updated in Ruby on Rails
  • Nghi Pham
    Nghi Pham commented at 4:32 AM

    i dont get it. why dont you just change your trigger to return the id?

    Yes, "return true" in the trigger may somehow solve the problem. However, what I mean h...

  • Nghi Pham
    Nghi Pham commented at 4:29 AM

    i dont get it. why dont you just change your trigger to return the id? Yes, "return true" in the trigger may somehow solve the problem. However, what I mean h...

Tuesday, May 03 2011
6767 "Returning ID" does not work due to trigger was created in Ruby on Rails
  • Nghi Pham
    Nghi Pham created the ticket at 4:55 AM

    I use PostgreSQL table partitioning. That is, a trigger is to be invoked prior to every INSERT query.

    The trigger looks like this:

    create or replace function i...