Extending solder only PCB pins
Thanks all the guys that commented. 
There seems not to be a solution that doesn't include soldering. There are some suggestions to use PCB edge connectors but those would not be a solution if the pins are located in the middle of the PCB.

The component name to use is an "smd pin header".
Example