Re: JWT decoder - Mailing list pgsql-general

From Mladen Gogala
Subject Re: JWT decoder
Date
Msg-id 2ac9cc39-0a8f-ec84-6274-719e0a281e52@gmail.com
Whole thread Raw
In response to Re: JWT decoder  (Masih Tavassoli <mtavasso@yahoo.co.uk>)
List pgsql-general

Hmmm, Pl/Python and Pl/Perl are languages usable from within Postgres. You can write Python functions in Postgres. I apologize for not making that clear.

On 8/9/21 1:15 AM, Masih Tavassoli wrote:
There are lots of decoders but I need to do it within postgresql.

On Monday, August 9, 2021, 01:24:33 PM GMT+10, Mladen Gogala <gogala.mladen@gmail.com> wrote:


You could probably use Pl/Python. Python has base64 module and urllib module which can deal with all URL strings I am aware of.  Pl/Perl would probably do as well.

-- 
Mladen Gogala
Database Consultant
Tel: (347) 321-1217
https://dbwhisperer.wordpress.com

pgsql-general by date:

Previous
From: Vijaykumar Jain
Date:
Subject: Re: Partitioning a table by integer value (preferably in place)
Next
From: Bryn Llewellyn
Date:
Subject: PL/pgSQL: Spurious 22P02 error on "select col into var" when col is user-defined type