Ma per caso PostgreSQL ha tutto un linguaggio suo di SQL? me lo chiedo perché mi sta dando parecchi problemi su tutte le query che utilizzavo su mysql senza problemi, per esempio in questa:
SELECT * FROM t_apparati WHERE sn_sab = '$seriale' || sn_arcdata = '$seriale' || sn_ier = '$seriale';
mi viene restituito questo errore: operator does not exist: text = boolean at character 62 HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts