Re: Getting the type Oid in a CREATE TYPE output function

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Weslee Bilodeau <weslee(dot)bilodeau(at)hypermediasystems(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Getting the type Oid in a CREATE TYPE output function
Date: 2006-10-12 17:07:48
Message-ID: 13873.1160672868@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Weslee Bilodeau <weslee(dot)bilodeau(at)hypermediasystems(dot)com> writes:
> It works perfectly so long as I used the same key for all my custom
> types. When I want a different key for each type though (so for example,
> encrypt credit cards with one key, addresses with another, etc) I need a
> way to tell them apart.

[ shrug... ] Seems like you should be putting the key ID into the
stored encrypted datums, then.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Csaba Nagy 2006-10-12 17:15:40 Re: Hints proposal
Previous Message Csaba Nagy 2006-10-12 17:04:46 Re: [HACKERS] Hints proposal