WARNING: This page is about a different car, the 2009 Pontiac Torrent and 2009 Chevrolet Equinox. However, it is still accessible from the selected car via links, so may be relevant.
Fig 1: Identifying Oil Pressure Sensor
Courtesy of GENERAL MOTORS CORP.
Turn the ignition OFF.
Disconnect the oil pressure sensor electrical connector.