Skip to content

Commit 61d2148

Browse files
committed
docs: add info for v1.7.0
1 parent 54a4238 commit 61d2148

File tree

3 files changed

+41
-11
lines changed

3 files changed

+41
-11
lines changed

CHANGELOG.md

+26
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,32 @@ All notable changes to the "PostgreSQL Hacker Helper" extension will be document
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [1.7.0]
9+
10+
### Added
11+
12+
Support for `Value` structs with different NodeTags (for old versions) - show actual value according to it's NodeTag (not whole union, but only required field).
13+
14+
Custom pointer types for `List *`. Earlier, all `T_List` elements were casted to `Node *`, now some `List *` variables/members have elements with their real stored types.
15+
I.e. `RestrictInfo->scansel_cache` is a `List *` that stores `MergeScanSelCache` structs (it is not Node).
16+
Now such `List`s displayed with their type.
17+
18+
User can define their own custom pointer types using configuration file. Configuration file layout updated (new field for this feature), current version 4.
19+
20+
Add more checks when working with system catalog or some other functions. I.e. Oid/pointer checks, `MemoryContext` checks when allocating memory, etc...
21+
22+
### Fix
23+
24+
Memory leaks when evaluating `Expr` representation (pointers got from `get_func_name` and `get_opname` were not `pfree`'d).
25+
26+
Caching of `Expr` representations worked incorrectly. That led to performance decrease (and more memory leaks).
27+
28+
### Changed
29+
30+
Track some binary features of postgres instance in current debug session. I.e. whether it have `bms_next_member` or not. (performance feature)
31+
32+
Do not show `initial_elements`, `head` and `tail` members of `List *`.
33+
834
## [1.6.1]
935

1036
### Fix

README.md

+14
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,20 @@ Known issues:
263263

264264
## Release Notes
265265

266+
### 1.7.0
267+
268+
Add support for custom pointer types in `List *` elements. Earlier, all `void *` were casted to `Node *`. Users also can specify their own custom `List` types in configuration file.
269+
270+
Fix memory leaking when evaluating `Expr` representation (`get_func_name` and `get_opname` were not `pfree`d).
271+
272+
Fix caching not working for `Expr` representations. This led to performance degradations (multiple same evaluations).
273+
274+
Add more checking when working with system catalog or some other functions (`MemoryContext` validity checking and so on).
275+
276+
Tracking of postgres binary features (i.e. `bms_next_member` presence) for more performance.
277+
278+
Do not show `initial_elements`, `head` and `tail` members of `List *`.
279+
266280
### 1.6.1
267281

268282
Fix error message appeared when making debugger steps too fast.

package.json

+1-11
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "postgresql-hacker-helper",
33
"displayName": "PostgreSQL Hacker Helper",
44
"description": "Extension to assist Postgres hackers - source code developers",
5-
"version": "1.6.1",
5+
"version": "1.7.0",
66
"engines": {
77
"vscode": "^1.30.0"
88
},
@@ -100,16 +100,6 @@
100100
}
101101
]
102102
},
103-
"colors": [
104-
{
105-
"id": "pghelper.sample.color",
106-
"description": "Color for ",
107-
"defaults": {
108-
"dark": "errorForeground",
109-
"light": "errorForeground"
110-
}
111-
}
112-
],
113103
"views": {
114104
"debug": [
115105
{

0 commit comments

Comments
 (0)