Re: Composite type - Mailing list pgsql-general

From John R Pierce
Subject Re: Composite type
Date
Msg-id 52E72651.2070906@hogranch.com
Whole thread Raw
In response to Composite type  (antono124 <g.antonopoulos000@gmail.com>)
List pgsql-general
On 1/26/2014 9:02 AM, antono124 wrote:
> I want to refer the first table in the second. I want to reference the whole
> table not only one field, so something like that:

does this table1 have a primary key?  if so, referencing the PK allows
you to fetch the whole row via a join.   if this table doesn't have a
primary key, um, why not??



--
john r pierce                                      37N 122W
somewhere on the middle of the left coast



pgsql-general by date:

Previous
From: ning chan
Date:
Subject: plsql / plpgsql code coverage tool, static analysis tool
Next
From: John R Pierce
Date:
Subject: Re: Fully-automatic streaming replication failover when master dies?