I just started looking into MySQL to Postgres migration. One of the differences between the two is LAST_INSERT_ID()
for MySQL and CURRVAL('serial_variable')
for Postgres. Although there were many pages with examples about these, I found this page useful at explaining how to use the function.
This page appears to be a good resource that lists many differences between the two. More docs are available here.
Hello! Someone in my Facebook group shared this website with
us so I came to take a look. I’m definitely enjoying the information. I’m book-marking and will be tweeting this to my followers!
Excellent blog and great design and style.