- Notifications
You must be signed in to change notification settings - Fork5
Commitab22b34
committed
Fixes:
While a normal SELECT statement can contain a GROUP BY clause, a cursordeclaration cannot. This was not the case in PG-1.0. Was there a goodreason why this was changed? Are cursors being phased out? Is there any wayto get data with just a SELECT (and without a DECLARE CURSOR ...)?The patch below seems to fix things. If anyone can see a problem with it,please let me know. Thanks.Submitted by: David Smith <dasmith@perseus.tufts.edu>1 parentc4e53a1 commitab22b34
3 files changed
+11
-5
lines changedLines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
9 |
| - | |
| 9 | + | |
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
| |||
462 | 462 |
| |
463 | 463 |
| |
464 | 464 |
| |
| 465 | + | |
465 | 466 |
| |
466 | 467 |
| |
467 | 468 |
| |
|
Lines changed: 5 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
10 |
| - | |
| 10 | + | |
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
| |||
509 | 509 |
| |
510 | 510 |
| |
511 | 511 |
| |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
512 | 516 |
| |
513 | 517 |
| |
514 | 518 |
| |
|
Lines changed: 4 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
13 |
| - | |
| 13 | + | |
14 | 14 |
| |
15 | 15 |
| |
16 | 16 |
| |
| |||
1349 | 1349 |
| |
1350 | 1350 |
| |
1351 | 1351 |
| |
1352 |
| - | |
| 1352 | + | |
1353 | 1353 |
| |
1354 | 1354 |
| |
1355 | 1355 |
| |
| |||
1370 | 1370 |
| |
1371 | 1371 |
| |
1372 | 1372 |
| |
1373 |
| - | |
| 1373 | + | |
| 1374 | + | |
1374 | 1375 |
| |
1375 | 1376 |
| |
1376 | 1377 |
| |
|
0 commit comments
Comments
(0)