malloc and free . The memory allocated by palloc will be freed automatically at the end of each transaction, preventing memory leaks. Always zero the bytes of your structures using memset (or allocate them with palloc0
malloc that contains the string representation of the numeric type num . char *PGTYPESnumeric_to_asc(numeric *num, int dscale); The numeric value will be printed with dscale decimal digits, with rounding applied if necessary
saving a WITH HOLD cursor at transaction end, if it had already been read to completion (Tom Lane) § Fix detection of a relation that has grown to the maximum allowed length (Tom Lane
saving a WITH HOLD cursor at transaction end, if it had already been read to completion (Tom Lane) Fix detection of a relation that has grown to the maximum allowed length (Tom Lane
malloc 'ed the memory. The pgtypes library sometimes returns strings that it expects the caller to free, making it impossible to follow this rule. Add a PGTYPESchar_free() function that just wraps free , allowing applications
Save some cycles by not searching for subtransaction locks at commit (Simon Riggs) In a transaction holding many exclusive locks, this useless activity could be quite costly. Make pg_ctl more robust about reading
saving time adjustment occurs between, whereas adding 24 hours will give a different local time when this happens. For example, under US DST rules: '2005-04-03 00:00:00-05' + '1 day' = '2005
malloc that contains the string representation of the numeric type num . char *PGTYPESnumeric_to_asc(numeric *num, int dscale); The numeric value will be printed with dscale decimal digits, with rounding applied if necessary. PGTYPESnumeric
malloc or strdup because the library frees the memory using the free function. write_backup_status A pointer to the function that saves the backup status. The backup status is updated separately from saving
Соглашаюсь с условиями обработки персональных данных