Re: md5 hash on table row

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Michael Fuhr <mike(at)fuhr(dot)org>
Cc: "A(dot) Kretschmer" <andreas(dot)kretschmer(at)schollglas(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: md5 hash on table row
Date: 2005-11-02 18:17:02
Message-ID: 200511021817.jA2IH2U13894@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Michael Fuhr wrote:
> On Wed, Nov 02, 2005 at 06:07:45PM +0100, A. Kretschmer wrote:
> > am 02.11.2005, um 9:35:33 -0700 mailte Michael Fuhr folgendes:
> > > test=> SELECT id, md5(textin(record_out(foo))) FROM foo;
> >
> > is 'record_out()' new in 8.1?
>
> The signature has changed over time:
>
> 7.3 record_out(record)
> 7.4 record_out(record)
> 8.0 record_out(record,oid)
> 8.1 record_out(record)
>
> As I already discovered and as Tom pointed out, the cast from foo
> to record works only in 8.1. In 8.0 you can use row(foo), but that
> adds even more decoration to the output.

Where should we document this?

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2005-11-02 18:20:46 Re: md5 hash on table row
Previous Message Tony Caduto 2005-11-02 17:44:05 Re: Postgres + CentOS