Re: Getting the type Oid in a CREATE TYPE output function - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Getting the type Oid in a CREATE TYPE output function
Date
Msg-id 13873.1160672868@sss.pgh.pa.us
Whole thread Raw
In response to Re: Getting the type Oid in a CREATE TYPE output function  (Weslee Bilodeau <weslee.bilodeau@hypermediasystems.com>)
Responses Re: Getting the type Oid in a CREATE TYPE output function  ("Marko Kreen" <markokr@gmail.com>)
List pgsql-hackers
Weslee Bilodeau <weslee.bilodeau@hypermediasystems.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


pgsql-hackers by date:

Previous
From: Csaba Nagy
Date:
Subject: Re: [PERFORM] Hints proposal
Next
From: Tom Lane
Date:
Subject: Re: [PERFORM] Hints proposal