forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit029c5ac
committed
psql: Refine lexing of BEGIN...END blocks in CREATE FUNCTION statements
Only track BEGIN...END blocks if they are in a CREATE [OR REPLACE]{FUNCTION|PROCEDURE} statement. Ignore if in parentheses.Reviewed-by: Laurenz Albe <laurenz.albe@cybertec.at>Discussion:https://www.postgresql.org/message-id/cee01d26fe55bc086b3bcf10bfe4e8d450e2f608.camel@cybertec.at1 parent25593d7 commit029c5ac
2 files changed
+52
-9
lines changedLines changed: 45 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
870 | 870 |
| |
871 | 871 |
| |
872 | 872 |
| |
873 |
| - | |
874 |
| - | |
875 |
| - | |
| 873 | + | |
| 874 | + | |
| 875 | + | |
| 876 | + | |
| 877 | + | |
| 878 | + | |
| 879 | + | |
| 880 | + | |
| 881 | + | |
| 882 | + | |
| 883 | + | |
| 884 | + | |
| 885 | + | |
| 886 | + | |
| 887 | + | |
| 888 | + | |
| 889 | + | |
| 890 | + | |
876 | 891 |
| |
877 |
| - | |
878 |
| - | |
| 892 | + | |
| 893 | + | |
879 | 894 |
| |
880 |
| - | |
| 895 | + | |
| 896 | + | |
| 897 | + | |
| 898 | + | |
| 899 | + | |
| 900 | + | |
| 901 | + | |
| 902 | + | |
881 | 903 |
| |
882 |
| - | |
883 |
| - | |
| 904 | + | |
| 905 | + | |
| 906 | + | |
| 907 | + | |
| 908 | + | |
| 909 | + | |
| 910 | + | |
| 911 | + | |
| 912 | + | |
| 913 | + | |
| 914 | + | |
| 915 | + | |
| 916 | + | |
| 917 | + | |
| 918 | + | |
| 919 | + | |
884 | 920 |
| |
| 921 | + | |
885 | 922 |
| |
886 | 923 |
| |
887 | 924 |
| |
|
Lines changed: 7 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
114 | 114 |
| |
115 | 115 |
| |
116 | 116 |
| |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
117 | 122 |
| |
118 |
| - | |
| 123 | + | |
| 124 | + | |
119 | 125 |
| |
120 | 126 |
| |
121 | 127 |
| |
|
0 commit comments
Comments
(0)