Commit a624b45
authored
[Postgres] When renaming QgsProject in PostgreSQL copy also comment (#64705)
* if comment column exist, copy value when renaming project
* add renameProject()
* update trigger to handle renames
* simplify the renaming project command
* if current project was renamed, apply it also in the session
* fix precommit
* remove unused variable1 parent dbb73c4 commit a624b45
File tree
3 files changed
+37
-14
lines changed- src/providers/postgres
3 files changed
+37
-14
lines changedLines changed: 11 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
935 | 935 | | |
936 | 936 | | |
937 | 937 | | |
| 938 | + | |
| 939 | + | |
938 | 940 | | |
939 | 941 | | |
940 | 942 | | |
941 | 943 | | |
942 | 944 | | |
943 | | - | |
944 | | - | |
945 | | - | |
946 | | - | |
947 | | - | |
948 | | - | |
949 | | - | |
| 945 | + | |
| 946 | + | |
| 947 | + | |
| 948 | + | |
950 | 949 | | |
951 | | - | |
952 | | - | |
953 | | - | |
| 950 | + | |
| 951 | + | |
954 | 952 | | |
955 | | - | |
956 | | - | |
957 | | - | |
| 953 | + | |
| 954 | + | |
958 | 955 | | |
959 | 956 | | |
960 | | - | |
| 957 | + | |
961 | 958 | | |
962 | 959 | | |
963 | 960 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
750 | 750 | | |
751 | 751 | | |
752 | 752 | | |
| 753 | + | |
| 754 | + | |
| 755 | + | |
753 | 756 | | |
754 | 757 | | |
755 | 758 | | |
| |||
839 | 842 | | |
840 | 843 | | |
841 | 844 | | |
| 845 | + | |
| 846 | + | |
| 847 | + | |
| 848 | + | |
| 849 | + | |
| 850 | + | |
| 851 | + | |
| 852 | + | |
| 853 | + | |
| 854 | + | |
| 855 | + | |
| 856 | + | |
| 857 | + | |
| 858 | + | |
| 859 | + | |
| 860 | + | |
842 | 861 | | |
843 | 862 | | |
844 | 863 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
208 | 208 | | |
209 | 209 | | |
210 | 210 | | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
211 | 218 | | |
212 | 219 | | |
213 | 220 | | |
| |||
0 commit comments