Search Postgresql Archives

Re: I need to ecrypt one column to an output file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Apr 15, 2008 at 01:11:10PM -0700, Ralph Smith wrote:
> I need to do a simple query and output to a file.
> No problem.
>
> But how do I encrypt one column's output?

COPY (SELECT a, b, c, some_func(d) AS d_s3krit FROM your_tab) TO...;

Does that help?

Cheers,
David.
> There are lots of developer related links here, and info to "use the 
> /contrib pgcrypto", but I'm not a PG developer and I failed to find any 
> info on HOW TO USE that library function...
>
> Thanks all,
>
> Ralph Smith
> smithrn@xxxxxxxxxxxxxx
> =====================
>
>
>

-- 
David Fetter <david@xxxxxxxxxx> http://fetter.org/
Phone: +1 415 235 3778  AIM: dfetter666  Yahoo!: dfetter
Skype: davidfetter      XMPP: david.fetter@xxxxxxxxx

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux