PostgreSQL Source Code
git master
|
Go to the source code of this file.
Data Structures | |
struct | HOldEntry |
Functions | |
static int | hstoreValidNewFormat (HStore *hs) |
static int | hstoreValidOldFormat (HStore *hs) |
HStore * | hstoreUpgrade (Datum orig) |
PG_FUNCTION_INFO_V1 (hstore_version_diag) | |
Datum | hstore_version_diag (PG_FUNCTION_ARGS) |
Datum hstore_version_diag | ( | PG_FUNCTION_ARGS | ) |
Definition at line 352 of file hstore_compat.c.
References hstoreValidNewFormat(), hstoreValidOldFormat(), PG_DETOAST_DATUM, PG_GETARG_DATUM, and PG_RETURN_INT32.
Definition at line 236 of file hstore_compat.c.
References ARRPTR, DatumGetPointer(), elog, HEntry::entry, ERROR, HENTRY_ISFIRST, HENTRY_ISNULL, HENTRY_POSMASK, HS_COUNT, HS_FIXSIZE, HS_FLAG_NEWVERSION, HS_SETCOUNT, HSE_ISFIRST, hstoreValidNewFormat(), hstoreValidOldFormat(), i, HOldEntry::keylen, PG_DETOAST_DATUM, PG_DETOAST_DATUM_COPY, HOldEntry::pos, HStore::size_, HOldEntry::valisnull, HOldEntry::vallen, VARSIZE, and WARNING.
|
static |
Definition at line 119 of file hstore_compat.c.
References ARRPTR, CALCDATASIZE, HS_COUNT, HS_FLAG_NEWVERSION, HSE_ENDPOS, HSE_ISFIRST, HSE_ISNULL, HSTORE_KEYLEN, i, HStore::size_, and VARSIZE.
Referenced by hstore_version_diag(), and hstoreUpgrade().
|
static |
Definition at line 171 of file hstore_compat.c.
References ARRPTR, CALCDATASIZE, HS_FLAG_NEWVERSION, i, HOldEntry::keylen, HStore::size_, StaticAssertStmt, HOldEntry::valisnull, and VARSIZE.
Referenced by hstore_version_diag(), and hstoreUpgrade().
PG_FUNCTION_INFO_V1 | ( | hstore_version_diag | ) |