List all geometry/(geography) or raster columns available in a PostGIS database.

pgListGeom(conn, geog = TRUE)

pgListRast(conn)

Arguments

conn

A PostgreSQL database connection.

geog

Logical. For pgListGeom, whether to include PostGIS geography-type columns stored in the database

Value

If exec = TRUE, a data frame with schema, table, geometry/(geography) or raster (for pgListRast) column, and geometry/(geography) type.

Examples

if (FALSE) { pgListGeom(conn) pgListRast(conn) }