- Notifications
You must be signed in to change notification settings - Fork5
Commit6f58115

Thomas G. Lockhart
Measure the current transaction time to milliseconds.
Define a new function, GetCurrentTransactionStartTimeUsec() to get the time to this precision.Allow now() and timestamp 'now' to use this higher precision result so we now have fractional seconds in this "constant".Add timestamp without time zone type.Move previous timestamp type to timestamp with time zone.Accept another ISO variant for date/time values: yyyy-mm-ddThh:mm:ss (note the "T" separating the day from hours information).Remove 'current' from date/time types; convert to 'now' in input.Separate time and timetz regression tests.Separate timestamp and timestamptz regression test.1 parent1f075a3 commit6f58115
File tree
27 files changed
+2763
-1858
lines changed- src
- backend
- access/transam
- parser
- utils/adt
- include
- access
- catalog
- utils
27 files changed
+2763
-1858
lines changedLines changed: 19 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| |||
369 | 369 |
| |
370 | 370 |
| |
371 | 371 |
| |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
372 | 387 |
| |
373 | 388 |
| |
374 | 389 |
| |
| |||
859 | 874 |
| |
860 | 875 |
| |
861 | 876 |
| |
| 877 | + | |
862 | 878 |
| |
| 879 | + | |
| 880 | + | |
863 | 881 |
| |
864 | 882 |
| |
865 | 883 |
| |
|
Lines changed: 20 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
14 |
| - | |
| 14 | + | |
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
| |||
259 | 259 |
| |
260 | 260 |
| |
261 | 261 |
| |
262 |
| - | |
| 262 | + | |
263 | 263 |
| |
264 | 264 |
| |
265 | 265 |
| |
| |||
4229 | 4229 |
| |
4230 | 4230 |
| |
4231 | 4231 |
| |
4232 |
| - | |
| 4232 | + | |
4233 | 4233 |
| |
4234 | 4234 |
| |
4235 |
| - | |
| 4235 | + | |
| 4236 | + | |
| 4237 | + | |
| 4238 | + | |
| 4239 | + | |
| 4240 | + | |
| 4241 | + | |
4236 | 4242 |
| |
4237 | 4243 |
| |
4238 | 4244 |
| |
| |||
4263 | 4269 |
| |
4264 | 4270 |
| |
4265 | 4271 |
| |
| 4272 | + | |
| 4273 | + | |
| 4274 | + | |
| 4275 | + | |
| 4276 | + | |
| 4277 | + | |
| 4278 | + | |
| 4279 | + | |
| 4280 | + | |
| 4281 | + | |
4266 | 4282 |
| |
4267 | 4283 |
| |
4268 | 4284 |
| |
|
Lines changed: 13 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| |||
240 | 240 |
| |
241 | 241 |
| |
242 | 242 |
| |
243 |
| - | |
| 243 | + | |
244 | 244 |
| |
245 | 245 |
| |
246 | 246 |
| |
| |||
498 | 498 |
| |
499 | 499 |
| |
500 | 500 |
| |
| 501 | + | |
501 | 502 |
| |
502 | 503 |
| |
503 | 504 |
| |
| |||
577 | 578 |
| |
578 | 579 |
| |
579 | 580 |
| |
580 |
| - | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
581 | 585 |
| |
582 | 586 |
| |
583 | 587 |
| |
| |||
634 | 638 |
| |
635 | 639 |
| |
636 | 640 |
| |
637 |
| - | |
638 | 641 |
| |
639 | 642 |
| |
640 | 643 |
| |
| 644 | + | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
641 | 649 |
| |
642 | 650 |
| |
643 | 651 |
| |
| |||
646 | 654 |
| |
647 | 655 |
| |
648 | 656 |
| |
649 |
| - | |
| 657 | + | |
650 | 658 |
| |
651 | 659 |
| |
652 | 660 |
| |
|
Lines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| |||
40 | 40 |
| |
41 | 41 |
| |
42 | 42 |
| |
43 |
| - | |
| 43 | + | |
44 | 44 |
| |
45 | 45 |
| |
46 | 46 |
| |
47 |
| - | |
| 47 | + | |
48 | 48 |
| |
49 | 49 |
| |
50 | 50 |
| |
|
Lines changed: 15 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| |||
462 | 462 |
| |
463 | 463 |
| |
464 | 464 |
| |
| 465 | + | |
465 | 466 |
| |
466 | 467 |
| |
467 | 468 |
| |
468 | 469 |
| |
| 470 | + | |
| 471 | + | |
469 | 472 |
| |
470 | 473 |
| |
471 | 474 |
| |
| |||
481 | 484 |
| |
482 | 485 |
| |
483 | 486 |
| |
484 |
| - | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
485 | 496 |
| |
486 | 497 |
| |
487 | 498 |
| |
| |||
492 | 503 |
| |
493 | 504 |
| |
494 | 505 |
| |
| 506 | + | |
| 507 | + | |
495 | 508 |
| |
496 | 509 |
| |
497 | 510 |
| |
|
0 commit comments
Comments
(0)