Re: how to do a select * and decrypt a column at the same time?

From: Bruno Wolff III <bruno(at)wolff(dot)to>
To: The One <i51359(at)yahoo(dot)com>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: how to do a select * and decrypt a column at the same time?
Date: 2005-08-16 21:05:33
Message-ID: 20050816210533.GA29260@wolff.to
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On Tue, Aug 16, 2005 at 12:53:51 -0700,
The One <i51359(at)yahoo(dot)com> wrote:
> Hello,
>
> I have a table with one encrypted column.
> How can I do a select statement such that it will select all columns from the table and at the same time will decrypt it too?

You want to explicitly list all of the column names in the select list, except
for the encrypted column for which you should call the decryption function.

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message tv 2005-08-16 23:34:48 converting varchar to integer
Previous Message Craig Servin 2005-08-16 20:18:26 Updateing pg_trigger and pg_constraint