Re: What is a tuple?

From: Timothy Reaves <treaves(at)silverfields(dot)com>
To: Elaine Lindelef <eel(at)cognitivity(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: What is a tuple?
Date: 2002-06-26 02:48:11
Message-ID: 20020625224811.6854a2bb.treaves@silverfields.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, 25 Jun 2002 14:40:03 -0700
Elaine Lindelef <eel(at)cognitivity(dot)com> wrote:

> My apologies for the stupid question, but before I started using
> postgres I never came across the word "tuple" quite in this context
> before. I know a "tuple" as "a data object containing two or more
> components" ... but I'm not sure of its precise meaning in the
> postgres universe. Is a tuple a row, a field value, a field value
> paired with its datatype, what? If someone asks me the size of my
> largest tuple, how do I calculate it? It seems to be related deeply
> to the structure of postgres somehow.
>

A 'tuple' is not a database - nor PostgreSQL - term. It is a
mathimatical term meaing a set. Withen the context of databases, a tuple
is always a row. 'Tuples' refers to the tuple set, or row set.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Martijn van Oosterhout 2002-06-26 02:53:58 Re: What is a tuple?
Previous Message Nadim Bitar 2002-06-26 02:38:43 Large Objects