mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-08-17 09:53:29 +02:00
This should have been done when the json functionality was added to hstore in 9.3.0. To handle this correctly, the upgrade script therefore uses conditional logic by using plpgsql in a DO statement to add the two new functions and the new cast. If hstore_to_json_loose is detected as already present and dependent on the hstore extension nothing is done. This will require that the database be loaded with plpgsql. People who have installed the earlier and spurious 1.1 version of hstore will need to do: ALTER EXTENSION hstore UPDATE; to pick up the new functions properly.
6 lines
158 B
Plaintext
6 lines
158 B
Plaintext
# hstore extension
|
|
comment = 'data type for storing sets of (key, value) pairs'
|
|
default_version = '1.2'
|
|
module_pathname = '$libdir/hstore'
|
|
relocatable = true
|