pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruno Wolff III <bruno@wolff.to>
To: The One <i51359@yahoo.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: how to do a select * and decrypt a column at the same time?
Date: Tue, 16 Aug 2005 16:05:33 -0500
Message-ID: <20050816210533.GA29260@wolff.to> (raw)
In-Reply-To: <20050816195351.632.qmail@web33911.mail.mud.yahoo.com>
References: <20050816195351.632.qmail@web33911.mail.mud.yahoo.com>

On Tue, Aug 16, 2005 at 12:53:51 -0700,
  The One <i51359@yahoo.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.



view thread (3+ messages)  latest in thread

Message-ID: <20050816210533.GA29260@wolff.to>
Permalink:  ../20050816210533.GA29260@wolff.to/
Also on:    postgresql.org/message-id/20050816210533.GA29260@wolff.to

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: bruno@wolff.to, i51359@yahoo.com
  Subject: Re: how to do a select * and decrypt a column at the same time?
  In-Reply-To: <20050816210533.GA29260@wolff.to>

* 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