When I built a trestle style table, I did not glue the trestle or the pins in place. The trestle table is secured with the pins, but can be disassembled quickly by removing the pins.
I have the two vertical ends removable from the top by punching out two dowels on each end. The two verticals are mortised into the 4" X 5" base at bottom and a thick horizontal attached to the top. This was a copy of an expensive "Harvest" table I saw that liked a lot.
It is one heavy piece, made of 2" red oak.
I have disassembled it once to take out while we installed a new kitchen floor. It breaks down quickly into 4 pieces. Still takes two people to carry the top.
So all that being said, it is a matter of personal preference to glue the trestle in place or not.