Skip to content
Snippets Groups Projects
Select Git revision
  • benchmark-tools
  • postgres-lambda
  • master default
  • REL9_4_25
  • REL9_5_20
  • REL9_6_16
  • REL_10_11
  • REL_11_6
  • REL_12_1
  • REL_12_0
  • REL_12_RC1
  • REL_12_BETA4
  • REL9_4_24
  • REL9_5_19
  • REL9_6_15
  • REL_10_10
  • REL_11_5
  • REL_12_BETA3
  • REL9_4_23
  • REL9_5_18
  • REL9_6_14
  • REL_10_9
  • REL_11_4
23 results

drop.l

Blame
  • drop.l 1.22 KiB
    .\" This is -*-nroff-*-
    .\" XXX standard disclaimer belongs here....
    .\" $Header: /cvsroot/pgsql/src/man/Attic/drop.l,v 1.3 1997/09/26 15:20:12 thomas Exp $
    .TH "DROP TABLE" SQL 09/26/97 PostgreSQL
    .SH NAME
    drop table \(em destroy existing classes
    .SH SYNOPSIS
    .nf
    \fBdrop table\fR classname-1 { \fB,\fR classname-i }
    .fi
    .SH DESCRIPTION
    .BR "Drop Table"
    removes classes from the data base.  Only its owner may destroy a
    class.  A class may be emptied of instances, but not destroyed, by
    using 
    .IR delete (l).
    .PP
    If a class being destroyed has secondary indices on it, then they will
    be removed first.  The removal of just a secondary index will not
    affect the indexed class.
    .PP
    The destruction of classes is not reversable.  Thus, a destroyed class
    will not be recovered if a transaction which destroys this class fails
    to commit.  In addition, historical access to instances in a destroyed
    class is not possible.
    .SH EXAMPLE
    .nf
    --
    --Destroy the emp class
    --
    drop table emp
    .fi
    .nf
    --
    --Destroy the emp and parts classes
    --
    drop table emp, parts
    .fi
    .SH "SEE ALSO"
    delete(l),
    drop aggregate(l),
    drop database(l),
    drop function(l),
    drop index(l),
    drop operator(l),
    drop rule(l),
    drop sequence(l),
    drop trigger(l),
    drop type(l),
    drop view(l).