Docs: Porting from PostgreSQL Doc Update

Created on 9 Nov 2017  路  7Comments  路  Source: cockroachdb/docs

Re: Porting from PostgreSQL

Issue Description

JSON datatype not mentioned

Suggested Resolution

Add section about JSON and JSONB not being supported. The solution AFAICT is to use STRING and BYTES instead.

O-external X-duplicate

Most helpful comment

Thanks, @andreis. JSON/JSONB support is coming in the next major release, but for now, let me look into adding such a suggestion.

@awoods187, @justinj, thoughts?

All 7 comments

Thanks, @andreis. JSON/JSONB support is coming in the next major release, but for now, let me look into adding such a suggestion.

@awoods187, @justinj, thoughts?

I think this page is specifically for features we do support, but whose behaviour differs from Postgres. There's a very large list of features (and specifically datatypes) that Postgres has and we don't support, and if we're putting this on here we would probably want to put the rest on here too. cc @mjibson who I believe created this page though, for his thoughts.

Also, we will only be supporting JSONB (not JSON) in the next release.

The purpose of that page is to describe identical, supported syntax that has different results when run in postgres or crdb. I think missing features should not be included in this page.

@mjibson it's literally called "porting from Postgres", not "identical supported syntax that has different results when run in pg or cr" 馃槅

All, based on recent discussions with @awoods187 and others, we will likely end up expanding the purpose of this page to list the major differences to Postgres with justifications and, if possible, workarounds. This will include functional incompatibility (some Postgres feature just doesn't work in Cockroach) and may include non-functional incompatibility (feature works but perhaps with different performance implications).

Was this page helpful?
0 / 5 - 0 ratings

Related issues

pirate picture pirate  路  7Comments

yzdocs picture yzdocs  路  6Comments

taroface picture taroface  路  6Comments

wub picture wub  路  4Comments

sploiselle picture sploiselle  路  3Comments