Save and continue edit by AJAX
PostgreSQL: Fix handling of nextval() default values (thanks to @ujovlado)