I was looking for something like the follow but i dont get ...
I want to do two inserts. In my first insert i want that the query returns a result for me and in the second, i want that the postgres just insert the values in my table.
I thought the following :
BEGIN; INSERT INTO "Login"( "CPF", "password", status, "idSeller") VALUES ('108', '12345', 'ok', '2555') RETURNING "CPF" INTO STRICT teste;