PostgreSQL Programmer's Guide
Prev | Chapter 32. Backend Interface | Next

# Debugging Commands

> Note: This section on debugging commands was commented-out in the original documentation. Thomas 1998-08-05

r

  Randomly print the open class.

m -1

  Toggle display of time information.

m 0

  Set retrievals to now.

m 1 Jan 1 01:00:00 1988

  Set retrievals to snapshots of the specfied time.

m 2 Jan 1 01:00:00 1988, Feb 1 01:00:00 1988

  Set retrievals to ranges of the specified times. Either time may be replaced with space if an unbounded time range is desired.

&A `classname` `natts` `name1` `type1` `name2` `type2` `...`

  Add `natts` attributes named `name1`, `name2`, etc. of types `type1`, `type2`, etc. to the class `classname`.

&RR `oldclassname` `newclassname`

  Rename the `oldclassname` class to `newclassname`.

&RA classname oldattname newattname `classname` `oldattname` `newattname`

  Rename the `oldattname` attribute in the class named `classname` to `newattname`.

Prev | Home | Next
Macro Commands | Up | Example