I simply ran this code:
set startclicks [clock clicks -milliseconds]
for {set x 0} {$x<1000} {incr x} {
set item_id [db_nextval acs_object_id_seq]
}
set endclicks [clock clicks -milliseconds]
[expr $endclicks - $startclicks]
And setting cache to 20 or to 100 didn't matter.
During the AIESEC - Oracle 8i - migration I found out that retrieving an id from acs_objects_id was the most expensive operation, so I thought it might be similar with PG. Looks like it isn't.