Thanks to visit codestin.com
Credit goes to postgrespro.com

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 [email protected]
Whole thread Raw
In response to Re: Getting the type Oid in a CREATE TYPE output function  (Weslee Bilodeau <[email protected]>)
Responses Re: Getting the type Oid in a CREATE TYPE output function
List pgsql-hackers
Weslee Bilodeau <[email protected]> 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