CREATE DOMAIN json vs built-in json - Mailing list pgsql-hackers

From Hitoshi Harada
Subject CREATE DOMAIN json vs built-in json
Date
Msg-id CAP7QgmnVC_uZhGOTVbGbEjiBzjWkgswYCfVFYVHHNfxn9SZ=8Q@mail.gmail.com
Whole thread Raw
Responses Re: CREATE DOMAIN json vs built-in json
Re: CREATE DOMAIN json vs built-in json
List pgsql-hackers
I've noticed our plv8 regression test now fails.  It has CREATE DOMAIN
json AS text ... and validates text via v8's JSON.parse(), which was
working before introducing built-in json type.  The test itself can be
solved simply by creating schema, but my surprise is that we allow a
domain whose name is the same as other base type.  Is it intentional?

Thanks,
-- 
Hitoshi Harada


pgsql-hackers by date:

Previous
From: Daniel Farina
Date:
Subject: Re: Cross-backend signals and administration (Was: Re: pg_terminate_backend for same-role)
Next
From: Abel Abraham Camarillo Ojeda
Date:
Subject: Re: CREATE DOMAIN json vs built-in json