Elements used to compose TopoGeometries can be retrieved by manually querying the topology tables, but PostGIS provides specialized functions for that purpose. First, we will find topological elements of Poland using the topology.GetTopoGeomElements function:
SELECT topology.GetTopoGeomElements(topogeom) FROM countries WHERE name='Poland';
gettopogeomelements
---------------------
{3155,3}
The function returns a set of rows, each one with one column of topoelement (which is just a two-element integer array) type. The first array element is a topological element ID, and the second is its type (1 - node, 2 - edge, 3 - face). Here we got one row, meaning the country is built from just one face.
For Norway, with lots of islands, the element list will be much longer:
SELECT topology.GetTopoGeomElements(topogeom) FROM countries WHERE name = 'Norway';
gettopogeomelements...