Create a table like this, and then add it as a layer to PostGIS. It has one simple geography, a line.
CREATE TABLE foo AS
SELECT ST_GeogFromText(
'LINESTRING(-122.27172 37.80345,-122.27172 37.81549)'
) AS highway;
You can even create an index on it if you think it matters,
CREATE INDEX hwidx ON foo USING gist ( highway );
You can see the line in WKT in the table,
st_astext
-----------------------------------------------------
LINESTRING(-122.27172 37.80345,-122.27172 37.81549)
Here is the table definition,
Table "public.foo"
Column | Type | Modifiers
---------+-----------+-----------
highway | geography |
Yet, when I Zoom to Layer
in QGIS, no joy! It just shows a blank screen. I am using QGIS 2.18.2.