text to hstore migration
in postgresql 8.2, in contrib, is great new datatype called hstore. if you're not familiar with it – check the docs. in short – this is indexable associative-array (hash) in one field. i was given a...
View ArticleDeserialization of hstore data structure in Perl
You might be familiar with hstore datatype in PostgreSQL – if you're not – check it out, as it is really cool. Basically it's hash in database, which you can search in. This is how it looks: # \d x...
View ArticleWaiting for 8.5 – changes in hstore
Andrew Gierth (RhodiumToad on irc) wrote, and Tom Lane committed: Assorted improvements in contrib/hstore. Remove the 64K limit on the lengths of keys and values within an hstore. (This changes the...
View ArticleWaiting for 9.3 – JSON generation improvements.
On 10th of March, Andrew Dunstan committed patch: JSON generation improvements. This adds the following: json_agg(anyrecord) -> json to_json(any) -> json hstore_to_json(hstore) -> json...
View ArticleWaiting for 9.5 – Add transforms feature
On 26th of April, Peter Eisentraut committed patch: Add transforms feature This provides a mechanism for specifying conversions between SQL data types and procedural languages. As examples, there are...
View Articletext to hstore migration
in postgresql 8.2, in contrib, is great new datatype called hstore. if you're not familiar with it – check the docs. in short – this is indexable associative-array (hash) in one field. i was given a...
View ArticleDeserialization of hstore data structure in Perl
You might be familiar with hstore datatype in PostgreSQL – if you're not – check it out, as it is really cool. Basically it's hash in database, which you can search in. This is how it looks: # \d x...
View ArticleWaiting for 8.5 – changes in hstore
Andrew Gierth (RhodiumToad on irc) wrote, and Tom Lane committed: Assorted improvements in contrib/hstore. Remove the 64K limit on the lengths of keys and values within an hstore. (This changes the...
View ArticleWaiting for 9.3 – JSON generation improvements.
On 10th of March, Andrew Dunstan committed patch: JSON generation improvements. This adds the following: json_agg(anyrecord) -> json to_json(any) -> json hstore_to_json(hstore) -> json...
View ArticleWaiting for 9.5 – Add transforms feature
On 26th of April, Peter Eisentraut committed patch: Add transforms feature This provides a mechanism for specifying conversions between SQL data types and procedural languages. As examples, there are...
View ArticleWaiting for PostgreSQL 14 – Allow subscripting of hstore values.
On 11st of December 2020, Tom Lane committed patch: Allow subscripting of hstore values. This is basically a finger exercise to prove that it's possible for an extension module to add subscripting...
View ArticleGetting value from dynamic column in pl/PgSQL triggers?
Every so often, on irc, someone asks how to get value from column that is passed as argument. This is generally seen as not possible, as pl/PgSQL doesn't have support for dynamic column names. We can...
View Article