Re: A Table's Primary Key Listing

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: Roger Tannous <roger77_lb(at)yahoo(dot)com>
Cc: "D'Arcy J(dot)M(dot) Cain" <darcy(at)druid(dot)net>, pgsql-sql(at)postgresql(dot)org, tgl(at)sss(dot)pgh(dot)pa(dot)us, roger77_lb(at)hotmail(dot)com
Subject: Re: A Table's Primary Key Listing
Date: 2005-08-22 15:12:54
Message-ID: 20050822151254.GD30337@surnet.cl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On Mon, Aug 22, 2005 at 03:23:29AM -0700, Roger Tannous wrote:
> So, D'Arcy's solution, although described as 'unsatisfactory' (ref.:
> D'Arcy's message), seem to be the only solution.
>
> So I noticed I was trying to play the wise man, trying to do things in a
> better way, but nothing was found than D'Arcy's query:

There's a PL/pgSQL function, which was posted to the spanish list:

http://archives.postgresql.org/pgsql-es-ayuda/2005-08/msg00644.php

Not sure if it qualifies as "better" or "worse" for you.

--
Alvaro Herrera (<alvherre[a]alvh.no-ip.org>)
"El que vive para el futuro es un iluso, y el que vive para el pasado,
un imbécil" (Luis Adler, "Los tripulantes de la noche")

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Marc G. Fournier 2005-08-22 17:16:30 PL/SQL Function: self-contained transaction?
Previous Message Michael Fuhr 2005-08-22 14:28:46 Re: Problem calling stored procedure