Re: Problem with the default registration of the JSON adapter - Mailing list psycopg

From Christophe Pettus
Subject Re: Problem with the default registration of the JSON adapter
Date
Msg-id 0B1C88B3-3554-4E44-ADF1-5185DF45A0D9@thebuild.com
Whole thread Raw
In response to Problem with the default registration of the JSON adapter  (Daniele Varrazzo <daniele.varrazzo@gmail.com>)
List psycopg
On Jul 19, 2013, at 11:41 AM, Daniele Varrazzo wrote:

> Another solution would be of course to cast the result to text instead.

The good news is that a SELECT json_field::TEXT ... doesn't do any computation, so you get a text value containing the
JSONback without conversion, efficiently. 

--
-- Christophe Pettus
  xof@thebuild.com



psycopg by date:

Previous
From: Daniele Varrazzo
Date:
Subject: Problem with the default registration of the JSON adapter
Next
From: Alexey Borzenkov
Date:
Subject: Connection failures when using green