postgresql/pg_jsonb_opx
6 years agoRaise an error if un implemented append function called. master
glyn [Sun, 8 Mar 2015 16:35:45 +0000 (16:35 +0000)]
Raise an error if un implemented append function called.

6 years agoFix some funny behaviour in hstore 1.0 style operators and cease doing anything more...
glyn [Wed, 4 Mar 2015 17:22:51 +0000 (17:22 +0000)]
Fix some funny behaviour in hstore 1.0 style operators and cease doing anything more with hstore 2.0 style operators to avoid duplicating work at https://github.com/erthalion/jsonbx

6 years agoMinor change to readme
glyn [Tue, 24 Feb 2015 20:47:09 +0000 (20:47 +0000)]
Minor change to readme

6 years agoFix some logic when modifying scalars and simplify simple text deletion.
glyn [Tue, 24 Feb 2015 20:42:20 +0000 (20:42 +0000)]
Fix some logic when modifying scalars and simplify simple text deletion.

Also remove bunch of files comitted in error.

6 years agoAmend operations on scalar arrays
glyn [Mon, 23 Feb 2015 20:02:34 +0000 (20:02 +0000)]
Amend operations on scalar arrays

Currently deleting everything in a jsonb container results in either
an empty array or object container, the alternative is to produce an
error.

6 years agoAdd missing files
glyn [Sat, 21 Feb 2015 20:34:17 +0000 (20:34 +0000)]
Add missing files

6 years agoHad a play at making the following changes today, some will be a bit ugly as just...
glyn [Sat, 21 Feb 2015 20:05:53 +0000 (20:05 +0000)]
Had a play at making the following changes today, some will be a bit ugly as just testing and playing around:
- amend sql and add extension control file
- add in a basic replace function
- replace value comparison logic and handle nulls - this is still lacking
- move some duplicate logic out, but lots left
- have a go at putting together jsonb_replace_path and jsonb_delete_path functions, these are very rough and can be done better with proper thought.

6 years agoAdd to README.md
glyn [Mon, 16 Feb 2015 18:48:38 +0000 (18:48 +0000)]
Add to README.md

6 years agoAmmend missing semicolons in regression tests
glyn [Mon, 16 Feb 2015 18:38:38 +0000 (18:38 +0000)]
Ammend missing semicolons in regression tests

6 years agoAdd subdirectories for regression checks
glyn [Mon, 16 Feb 2015 18:31:23 +0000 (18:31 +0000)]
Add subdirectories for regression checks

6 years agoAdd some regression checks
glyn [Mon, 16 Feb 2015 18:28:50 +0000 (18:28 +0000)]
Add some regression checks

6 years agoChanges:
glyn [Fri, 30 Jan 2015 21:36:35 +0000 (21:36 +0000)]
Changes:
* attempt to remove object restrictions and allow operations on arrays and scalars.
* add a single text only key delete function
* unsure how operations on jsonb arrays should work, if for example arrays elements are numeric or boolean
possible angles are:
do some funny casting to text :-(
create separate functions taking (jsonb, int), (jsonb, bool) etc :-(

# Please enter the commit message for your changes. Lines starting

6 years agoMake a couple of minor changes after initial viewing of work at https://github.com...
glyn [Wed, 28 Jan 2015 13:37:34 +0000 (13:37 +0000)]
Make a couple of minor changes after initial viewing of work at https://github.com/erthalion/jsonbx

6 years agoAdd missing comparison sql functions file
glyn [Wed, 28 Jan 2015 10:17:26 +0000 (10:17 +0000)]
Add missing comparison sql functions file

6 years agoRename misspelt sql script
glyn [Tue, 27 Jan 2015 21:04:31 +0000 (21:04 +0000)]
Rename misspelt sql script

6 years agoFix funny indentaion
glyn [Tue, 27 Jan 2015 20:21:34 +0000 (20:21 +0000)]
Fix funny indentaion

6 years agoFix funny indentation
glyn [Tue, 27 Jan 2015 20:19:50 +0000 (20:19 +0000)]
Fix funny indentation

6 years agoInitial commit
glyn [Tue, 27 Jan 2015 20:14:54 +0000 (20:14 +0000)]
Initial commit

6 years agoInitial commit
glyn [Tue, 27 Jan 2015 20:14:42 +0000 (20:14 +0000)]
Initial commit