Get information about columns in a PostgreSQL table.
dbTableInfo(conn, name, allinfo = FALSE)
A connection object to a PostgreSQL database.
A character string specifying a PostgreSQL schema (if
necessary), and table or view name (e.g., name
= c("schema", "table")
).
Logical, Get all information on table? Default is column names, types, nullable, and maximum length of character columns.
data frame
if (FALSE) {
dbTableInfo(conn, c("schema", "table"))
}