|
4 | 4 |
|
5 | 5 | This is a Visual Studio Code extension to assist PostgreSQL source code developers: |
6 | 6 |
|
7 | | -- Exploring Postgres variables (`Node *`, container types, etc...) |
8 | | -- Format code with `pgindent` |
| 7 | +- Exploring Postgres variables (`Node *`, `HTAB *`, `List *`, `Bitmapset *`, etc...) |
| 8 | +- Code formatting using `pgindent` |
| 9 | +- Syntax and completion support for `postgresql.conf` |
| 10 | +- Extension bootstrapping |
9 | 11 |
|
10 | 12 | ## Features |
11 | 13 |
|
@@ -145,9 +147,18 @@ Extension can help with creation of basic PostgreSQL extension files: Makefile, |
145 | 147 |
|
146 | 148 | Just run command `Bootstrap extension` and enter initial values (extension name, description, required files). Extension will be created inside `contrib` directory. |
147 | 149 |
|
| 150 | +### `postgresql.conf` syntax support |
| 151 | + |
| 152 | +PostgreSQL configuration files `postgresql.conf` and `postgresql.auto.conf` have syntax support. |
| 153 | +Also, for there is autocompletion for configuration parameters also with default contrib's GUCs. |
| 154 | + |
| 155 | + |
| 156 | + |
| 157 | +This syntax must be enabled for `postgresql[.auto].conf` files, but you can specify it using 'Change Language Mode' -> 'PostgreSQL configuration' |
| 158 | + |
148 | 159 | ## Extension Settings |
149 | 160 |
|
150 | | -There are 4 settings: |
| 161 | +There are 3 settings: |
151 | 162 |
|
152 | 163 | - `postgresql-hacker-helper.logLevel` - Log level |
153 | 164 |
|
@@ -210,6 +221,20 @@ Known issues: |
210 | 221 |
|
211 | 222 | ## Release Notes |
212 | 223 |
|
| 224 | +### 1.15.0 |
| 225 | + |
| 226 | +Syntax support for `postgresql.conf` with highlighting of units (possibly quoted) and default GUC autocompletion (with builtin contribs). |
| 227 | + |
| 228 | +Add `nodetags` parameter configuration for custom NodeTag values (if some are missing). |
| 229 | +When debugging starts will be started a worker which will parse `nodetags.h` file. |
| 230 | +If it finds new unknown NodeTags you will be asked to automatically add these to configuration file. |
| 231 | + |
| 232 | +Generalize `"htab"` and `"array"` configuration entries in order to not specify whether extension should check it's a member or a variable, because this information is clear from context. |
| 233 | + |
| 234 | +General performance optimization: lazy evaluation of functions, optimizations of parsing functions, improved caching strategy, etc... |
| 235 | + |
| 236 | +Fix invalid check of safe state when getting elements of `HTAB` |
| 237 | + |
213 | 238 | ### 1.14.0 |
214 | 239 |
|
215 | 240 | Support flexible array members as array members, so they are expanded as normal arrays. |
|
0 commit comments