forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitbdeb2c4
committed
Add WRITE_INDEX_ARRAY
We have a few WRITE_{name of type}_ARRAY macros, but the one caseusing the Index type was hand-coded. Wrap it into a macro as well.This also changes the behavior slightly: Before, the field name wasskipped if the length was zero. Now it prints the field name even inthat case. This is more consistent with how other array fields arehandled.Reviewed-by: Jacob Champion <pchampion@vmware.com>Discussion:https://www.postgresql.org/message-id/c091e5cd-45f8-69ee-6a9b-de86912cc7e7@enterprisedb.com1 parent308da17 commitbdeb2c4
1 file changed
+8
-8
lines changedLines changed: 8 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
124 | 124 |
| |
125 | 125 |
| |
126 | 126 |
| |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
127 | 134 |
| |
128 | 135 |
| |
129 | 136 |
| |
| |||
2510 | 2517 |
| |
2511 | 2518 |
| |
2512 | 2519 |
| |
2513 |
| - | |
2514 |
| - | |
2515 |
| - | |
2516 |
| - | |
2517 |
| - | |
2518 |
| - | |
2519 |
| - | |
2520 |
| - | |
| 2520 | + | |
2521 | 2521 |
| |
2522 | 2522 |
| |
2523 | 2523 |
| |
|
0 commit comments
Comments
(0)