From: James Olin Oden <joden@lee.k12.nc.us>
To: D'Arcy J.M. Cain <darcy@druid.net>
Cc: pgsql-sql@postgreSQL.org
Subject: Re: [SQL] can a column be aliased?
Date: Tue, 4 Aug 1998 08:26:16 -0400
Message-ID: <81Aug3.071531edt.35713@gateway.lee.k12.nc.us> (raw)
References: <m0z3f0t-00006FC@druid.net>
> I don't think so. Better use a sequence instead. You shouldn't be
> using OID as a key anyway. You lose the value if you dump and reload.
>
Ah...there's the rub. Well, I haven't been doing that anyway; I was merely trying
to explore the possiblity of doing so after I heard some users ask about it. At
first thought I had the reservation of it not being portable, but with your
thought (they change after a dump and reload) I can see that's a _real_ bad idea.
Thanks...james
> --
> D'Arcy J.M. Cain <darcy@{druid|vex}.net> | Democracy is three wolves
> http://www.druid.net/darcy/ | and a sheep voting on
> +1 416 424 2871 (DoD#0082) (eNTP) | what's for dinner.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: joden@lee.k12.nc.us, darcy@druid.net
Subject: Re: [SQL] can a column be aliased?
In-Reply-To: <81Aug3.071531edt.35713@gateway.lee.k12.nc.us>
References: <m0z3f0t-00006FC@druid.net> <81Aug3.071531edt.35713@gateway.lee.k12.nc.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox