pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mladen Gogala <gogala.mladen@gmail.com>
To: Masih Tavassoli <mtavasso@yahoo.co.uk>
To: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: JWT decoder
Date: Mon, 9 Aug 2021 12:23:40 -0400
Message-ID: <2ac9cc39-0a8f-ec84-6274-719e0a281e52@gmail.com> (raw)
In-Reply-To: <1544146796.304133.1628486143594@mail.yahoo.com>
References: <2138331050.291272.1628475372080.ref@mail.yahoo.com>
	<2138331050.291272.1628475372080@mail.yahoo.com>
	<e0675505-b0ad-0da8-7a50-79a2d2faeb82@gmail.com>
	<1544146796.304133.1628486143594@mail.yahoo.com>

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

view thread (7+ messages)  latest in thread

Message-ID: <2ac9cc39-0a8f-ec84-6274-719e0a281e52@gmail.com>
Permalink:  ../2ac9cc39-0a8f-ec84-6274-719e0a281e52@gmail.com/
Also on:    postgresql.org/message-id/2ac9cc39-0a8f-ec84-6274-719e0a281e52@gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: gogala.mladen@gmail.com, mtavasso@yahoo.co.uk
  Subject: Re: JWT decoder
  In-Reply-To: <2ac9cc39-0a8f-ec84-6274-719e0a281e52@gmail.com>
  References: <2138331050.291272.1628475372080.ref@mail.yahoo.com> <2138331050.291272.1628475372080@mail.yahoo.com> <e0675505-b0ad-0da8-7a50-79a2d2faeb82@gmail.com> <1544146796.304133.1628486143594@mail.yahoo.com> <2ac9cc39-0a8f-ec84-6274-719e0a281e52@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox