I have a table with a serial field, how can I obtain what serial was generated for the insert I'm doing? I could just do another query for max(id) .. where id is my serial field.. but I'm worried another insert could have already came in.
Travis