get_cast_func syscache utility function - Mailing list pgsql-hackers

From Andrew Dunstan
Subject get_cast_func syscache utility function
Date
Msg-id 54591387.7020102@dunslane.net
Whole thread Raw
Responses Re: get_cast_func syscache utility function  (Pavel Stehule <pavel.stehule@gmail.com>)
Re: get_cast_func syscache utility function  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
here's a patch for a utility function to look up the cast function for a 
from/to pair of types, as recently suggested by Alvaro. Although it only 
contains one use (in json.c), the upcoming jsonb generators would also 
use it twice. I'd like to get this committed fairly quickly so I can 
prepare an updated patch for the jsonb generators.

cheers

andrew



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: superuser() shortcuts
Next
From: Pavel Stehule
Date:
Subject: Re: get_cast_func syscache utility function