From: | Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: pg_stat_database shows userid as OID |
Date: | 2002-11-17 20:13:52 |
Message-ID: | 20021117201352.GB8581@dcc.uchile.cl |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-patches |
On Sun, Nov 17, 2002 at 01:16:29PM -0500, Tom Lane wrote:
> Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl> writes:
> > In the pg_stat_activity view, the usesysid is shown as having type Oid.
> > However pg_shadow says it's an integer. Is there a reason?
>
> There's been disagreement for a long time over whether userids should be
> OIDs or ints. If you want to introduce consistency then it's going to
> take a lot more than a one-line patch. (First you'll need to convince
> the partisans involved which answer is the right one.)
Oh, I see. I wasn't aware of this. I don't really know which answer is
"the right one". I don't care a lot about this thing either, but I'll
keep it into my list of amusements, and will probably even dig into
the archives sometime.
--
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
Criptografía: Poderosa técnica algorítmica de codificación que es
empleada en la creación de manuales de computadores.
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2002-11-17 20:19:54 | Re: Getting float8 data into cube? |
Previous Message | Bruno Wolff III | 2002-11-17 19:59:38 | Getting float8 data into cube? |
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2002-11-17 21:24:49 | Re: pg_stat_database shows userid as OID |
Previous Message | Bruno Wolff III | 2002-11-17 19:46:52 | 7.4 cube patch to add create cast |