(doubtless these are hangovers from the old separate-books days).
-
+
Data Definition
columns that are either a primary key or form a unique constraint.
If the foreign key references a unique constraint, there are some
additional possibilities regarding how null values are matched.
- These are explained in the CREATE TABLE entry
- in e">.
+ These are explained in the reference documentation for
+ e">.
-
+
Data Manipulation
To do bulk loads
, that is, inserting a lot of data,
- take a look at the <command>COPY command (see
- ). It is not as flexible as the
- INSERT command, but more efficient.
+ take a look at the <xref linkend="sql-copy"
+ endterm="sql-copy-title"> command. It is not as flexible as the
+ INSERT command, but is more efficient.
linkend="functions-aggregate-table"> shows the built-in aggregate
functions. The special syntax considerations for aggregate
functions are explained in .
- Consult for additional introductory
+ Consult -agg"> for additional introductory
information.
behavior you can set this variable to off, but in the long run
you are encouraged to change your applications to use the
ONLY key word to exclude subtables. See
- sql"> for more information about inheritance.
+ ddl-inherit"> for more information about inheritance.
command shell. (For more internal commands, type
\? at the psql prompt.) The
full capabilities of psql are documented in
-
reference">. If PostgreSQL> is
+
app-psql">. If PostgreSQL> is
installed correctly you can also type man psql
at the operating system shell prompt to see the documentation. In
this tutorial we will not use these features explicitly, but you
- The syntax for creating triggers is described in .
+ The syntax for creating triggers is described in
+ .
CREATE>, TEMPORARY>, EXECUTE>,
USAGE>, and ALL PRIVILEGES>. For more
information on the different types of privileges support by
-
PostgreSQL, refer to the
- GRANT page in . The right to modify or
+ reference page.
+ The right to modify or
destroy an object is always the privilege of the owner only. To
assign privileges, the GRANT command is
used. So, if joe is an existing user, and
it is not immediately clear which function would be called with
some trivial input like test(1, 1.5). The
- currently implemented resolution rules are described in the
+ currently implemented resolution rules are described in
, but it is unwise to design a system that subtly
relies on this behavior.
- For further details see the description of the CREATE
- TYPE command in .
+ For further details see the description of the
+ command.