Полезная информация

next up previous contents index
Next: Combining Queries Up: Unique Row Identifiers Previous: Primary and Foreign Keys

Join Usage

While both OID's and sequences can be used as join keys, most POSTGRESQL users recommend using only sequences for join keys. Setting up sequences involves several steps:

For example, to configure a sequence to assign key values to the customer table, the following queries are required.

Bruce Momjian