Advertisement
Guest User

Untitled

a guest
Sep 18th, 2019
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.26 KB | None | 0 0
  1. ERROR: syntax error at or near "NOT"
  2. LINE 1: CREATE MATERIALIZED VIEW IF NOT EXISTS chw_hierarchy AS
  3. ^
  4. ERROR: syntax error at or near "NOT"
  5. LINE 1: CREATE UNIQUE INDEX IF NOT EXISTS chw_hierarchy_uuid ON chw_...
  6. ^
  7. ERROR: syntax error at or near "NOT"
  8. LINE 1: CREATE INDEX IF NOT EXISTS chw_hierarchy_parent_uuid ON chw_...
  9. ^
  10. ERROR: syntax error at or near "NOT"
  11. LINE 1: CREATE INDEX IF NOT EXISTS chw_hierarchy_parent_parent_uuid ...
  12. ^
  13. ERROR: syntax error at or near "NOT"
  14. LINE 1: CREATE INDEX IF NOT EXISTS chw_hierarchy_supervisor_uuid ON ...
  15. ^
  16. ERROR: syntax error at or near "current_user"
  17. LINE 1: REASSIGN OWNED BY current_user TO full_access;
  18. ^
  19. ERROR: relation "chw_hierarchy" does not exist
  20. ERROR: syntax error at or near "NOT"
  21. LINE 1: CREATE MATERIALIZED VIEW IF NOT EXISTS schw_hierarchy AS
  22. ^
  23. ERROR: syntax error at or near "NOT"
  24. LINE 1: CREATE UNIQUE INDEX IF NOT EXISTS schw_hierarchy_uuid ON sch...
  25. ^
  26. ERROR: syntax error at or near "NOT"
  27. LINE 1: CREATE INDEX IF NOT EXISTS schw_hierarchy_parent_uuid ON sch...
  28. ^
  29. ERROR: syntax error at or near "current_user"
  30. LINE 1: REASSIGN OWNED BY current_user TO full_access;
  31. ^
  32. ERROR: relation "schw_hierarchy" does not exist
  33. ERROR: relation "useview_exit" already exists
  34. ERROR: syntax error at or near "NOT"
  35. LINE 1: CREATE UNIQUE INDEX IF NOT EXISTS useview_exit_reported_pati...
  36. ^
  37. ERROR: syntax error at or near "current_user"
  38. LINE 1: REASSIGN OWNED BY current_user TO full_access;
  39. ^
  40. GRANT
  41. ERROR: relation "useview_household_survey" already exists
  42. ERROR: syntax error at or near "NOT"
  43. LINE 1: CREATE UNIQUE INDEX IF NOT EXISTS useview_household_survey_r...
  44. ^
  45. ERROR: syntax error at or near "current_user"
  46. LINE 1: REASSIGN OWNED BY current_user TO full_access;
  47. ^
  48. GRANT
  49. ERROR: relation "useview_pregnancy" already exists
  50. ERROR: syntax error at or near "NOT"
  51. LINE 1: CREATE UNIQUE INDEX IF NOT EXISTS useview_pregnancy_reported...
  52. ^
  53. ERROR: syntax error at or near "current_user"
  54. LINE 1: REASSIGN OWNED BY current_user TO full_access;
  55. ^
  56. GRANT
  57. ERROR: relation "useview_trace_referral_follow_up" already exists
  58. ERROR: syntax error at or near "NOT"
  59. LINE 1: CREATE UNIQUE INDEX IF NOT EXISTS useview_trace_referral_fol...
  60. ^
  61. ERROR: syntax error at or near "current_user"
  62. LINE 1: REASSIGN OWNED BY current_user TO full_access;
  63. ^
  64. GRANT
  65. ERROR: syntax error at or near "IS"
  66. LINE 1: CREATE MATERIALIZED VIEW IS NOT EXISTS form_metadata AS
  67. ^
  68. ERROR: syntax error at or near "current_user"
  69. LINE 1: REASSIGN OWNED BY current_user TO full_access;
  70. ^
  71. GRANT
  72. ERROR: syntax error at or near "NOT"
  73. LINE 1: CREATE UNIQUE INDEX IF NOT EXISTS form_metadata_uuid on form...
  74. ^
  75. ERROR: syntax error at or near "NOT"
  76. LINE 1: CREATE INDEX IF NOT EXISTS form_metadata_reported_by form_me...
  77. ^
  78. ERROR: syntax error at or near "NOT"
  79. LINE 1: CREATE INDEX IF NOT EXISTS form_metadata_reported ON form_me...
  80. ^
  81. ERROR: syntax error at or near "NOT"
  82. LINE 1: CREATE INDEX IF NOT EXISTS form_metadata_formname ON form_me...
  83. ^
  84. ERROR: relation "useview_facility_reports" already exists
  85. ERROR: syntax error at or near "NOT"
  86. LINE 1: CREATE UNIQUE INDEX IF NOT EXISTS useview_facility_reports_r...
  87. ^
  88. ERROR: syntax error at or near "current_user"
  89. LINE 1: REASSIGN OWNED BY current_user TO full_access;
  90. ^
  91. GRANT
  92. ERROR: relation "useview_immunization" already exists
  93. ERROR: syntax error at or near "NOT"
  94. LINE 1: CREATE UNIQUE INDEX IF NOT EXISTS useview_immunization_repor...
  95. ^
  96. ERROR: syntax error at or near "current_user"
  97. LINE 1: REASSIGN OWNED BY current_user TO full_access;
  98. ^
  99. GRANT
  100. ERROR: relation "useview_referral_follow_up" already exists
  101. ERROR: syntax error at or near "NOT"
  102. LINE 1: CREATE UNIQUE INDEX IF NOT EXISTS useview_referral_follow_up...
  103. ^
  104. ERROR: syntax error at or near "current_user"
  105. LINE 1: REASSIGN OWNED BY current_user TO full_access;
  106. ^
  107. GRANT
  108. ERROR: relation "useview_trace" already exists
  109. ERROR: syntax error at or near "NOT"
  110. LINE 1: CREATE UNIQUE INDEX IF NOT EXISTS useview_trace_reported_tra...
  111. ^
  112. ERROR: syntax error at or near "current_user"
  113. LINE 1: REASSIGN OWNED BY current_user TO full_access;
  114. ^
  115. GRANT
  116. ERROR: operator does not exist: jsonb ->> boolean
  117. LINE 28: ...->>'type' = 'data_record' AND doc ? 'form' AND doc->>'form' ...
  118. ^
  119. HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts.
  120. ERROR: syntax error at or near "NOT"
  121. LINE 1: CREATE UNIQUE INDEX IF NOT EXISTS formview_reported_reported...
  122. ^
  123. ERROR: syntax error at or near "NOT"
  124. LINE 1: CREATE INDEX IF NOT EXISTS formview_reported_parent_uuid ON ...
  125. ^
  126. ERROR: syntax error at or near "current_user"
  127. LINE 1: REASSIGN OWNED BY current_user TO full_access;
  128. ^
  129. ERROR: relation "formview_reported" does not exist
  130. ERROR: relation "useview_fp_follow_up" already exists
  131. ERROR: syntax error at or near "NOT"
  132. LINE 1: CREATE UNIQUE INDEX IF NOT EXISTS useview_fp_follow_up_repor...
  133. ^
  134. ERROR: syntax error at or near "current_user"
  135. LINE 1: REASSIGN OWNED BY current_user TO full_access;
  136. ^
  137. GRANT
  138. ERROR: relation "useview_monthly_follow_up" already exists
  139. ERROR: syntax error at or near "NOT"
  140. LINE 1: CREATE UNIQUE INDEX IF NOT EXISTS useview_monthly_follow_up_...
  141. ^
  142. ERROR: syntax error at or near "current_user"
  143. LINE 1: REASSIGN OWNED BY current_user TO full_access;
  144. ^
  145. GRANT
  146. ERROR: relation "useview_sputum_collection" already exists
  147. ERROR: syntax error at or near "NOT"
  148. LINE 1: CREATE UNIQUE INDEX IF NOT EXISTS useview_sputum_collection_...
  149. ^
  150. ERROR: syntax error at or near "current_user"
  151. LINE 1: REASSIGN OWNED BY current_user TO full_access;
  152. ^
  153. GRANT
  154. ERROR: relation "useview_treatment_enrolment" already exists
  155. ERROR: syntax error at or near "NOT"
  156. LINE 1: CREATE UNIQUE INDEX IF NOT EXISTS useview_treatment_enrolmen...
  157. ^
  158. ERROR: syntax error at or near "current_user"
  159. LINE 1: REASSIGN OWNED BY current_user TO full_access;
  160. ^
  161. GRANT
  162. ERROR: relation "useview_daily_follow_up" already exists
  163. ERROR: syntax error at or near "NOT"
  164. LINE 1: CREATE UNIQUE INDEX IF NOT EXISTS useview_daily_follow_up_re...
  165. ^
  166. ERROR: syntax error at or near "current_user"
  167. LINE 1: REASSIGN OWNED BY current_user TO full_access;
  168. ^
  169. GRANT
  170. ERROR: relation "useview_fp_screening" already exists
  171. ERROR: syntax error at or near "NOT"
  172. LINE 1: CREATE UNIQUE INDEX IF NOT EXISTS useview_fp_screening_repor...
  173. ^
  174. ERROR: syntax error at or near "current_user"
  175. LINE 1: REASSIGN OWNED BY current_user TO full_access;
  176. ^
  177. GRANT
  178. ERROR: relation "useview_newborn_postnatal_follow_up" already exists
  179. ERROR: syntax error at or near "NOT"
  180. LINE 1: CREATE UNIQUE INDEX IF NOT EXISTS newborn_pnc_follow_up_repo...
  181. ^
  182. ERROR: syntax error at or near "current_user"
  183. LINE 1: REASSIGN OWNED BY current_user TO full_access;
  184. ^
  185. GRANT
  186. ERROR: relation "useview_tb_home_visit" already exists
  187. ERROR: syntax error at or near "NOT"
  188. LINE 1: CREATE UNIQUE INDEX IF NOT EXISTS useview_tb_home_visit_repo...
  189. ^
  190. ERROR: syntax error at or near "current_user"
  191. LINE 1: REASSIGN OWNED BY current_user TO full_access;
  192. ^
  193. GRANT
  194. ERROR: relation "useview_under_5_screening" already exists
  195. ERROR: syntax error at or near "NOT"
  196. LINE 1: CREATE UNIQUE INDEX IF NOT EXISTS under_5_screening_reported...
  197. ^
  198. ERROR: syntax error at or near "current_user"
  199. LINE 1: REASSIGN OWNED BY current_user TO full_access;
  200. ^
  201. GRANT
  202. ERROR: relation "useview_death" already exists
  203. ERROR: syntax error at or near "NOT"
  204. LINE 1: CREATE UNIQUE INDEX IF NOT EXISTS useview_death_reported_pat...
  205. ^
  206. ERROR: syntax error at or near "current_user"
  207. LINE 1: REASSIGN OWNED BY current_user TO full_access;
  208. ^
  209. GRANT
  210. ERROR: relation "useview_hiv_home_visit" already exists
  211. ERROR: syntax error at or near "NOT"
  212. LINE 1: CREATE UNIQUE INDEX IF NOT EXISTS useview_hiv_home_visit_rep...
  213. ^
  214. ERROR: syntax error at or near "current_user"
  215. LINE 1: REASSIGN OWNED BY current_user TO full_access;
  216. ^
  217. GRANT
  218. ERROR: relation "useview_over_5_screening" already exists
  219. ERROR: syntax error at or near "NOT"
  220. LINE 1: CREATE UNIQUE INDEX IF NOT EXISTS over_5_screening_reported_...
  221. ^
  222. ERROR: syntax error at or near "current_user"
  223. LINE 1: REASSIGN OWNED BY current_user TO full_access;
  224. ^
  225. GRANT
  226. ERROR: relation "useview_tb_results" already exists
  227. ERROR: syntax error at or near "NOT"
  228. LINE 1: CREATE UNIQUE INDEX IF NOT EXISTS useview_tb_results_reporte...
  229. ^
  230. ERROR: syntax error at or near "current_user"
  231. LINE 1: REASSIGN OWNED BY current_user TO full_access;
  232. ^
  233. GRANT
  234. ERROR: relation "useview_delivery" already exists
  235. ERROR: syntax error at or near "NOT"
  236. LINE 1: CREATE UNIQUE INDEX IF NOT EXISTS useview_delivery_reported_...
  237. ^
  238. ERROR: syntax error at or near "current_user"
  239. LINE 1: REASSIGN OWNED BY current_user TO full_access;
  240. ^
  241. GRANT
  242. ERROR: relation "useview_hiv_screening" already exists
  243. ERROR: syntax error at or near "NOT"
  244. LINE 1: CREATE UNIQUE INDEX IF NOT EXISTS useview_hiv_screening_repo...
  245. ^
  246. ERROR: syntax error at or near "current_user"
  247. LINE 1: REASSIGN OWNED BY current_user TO full_access;
  248. ^
  249. GRANT
  250. DROP MATERIALIZED VIEW
  251. SELECT 32343
  252. ERROR: syntax error at or near "current_user"
  253. LINE 1: REASSIGN OWNED BY current_user TO full_access;
  254. ^
  255. GRANT
  256. ERROR: syntax error at or near "NOT"
  257. LINE 1: CREATE UNIQUE INDEX IF NOT EXISTS useview_population_demogra...
  258. ^
  259. ERROR: syntax error at or near "NOT"
  260. LINE 1: CREATE INDEX IF NOT EXISTS useview_population_demographics_r...
  261. ^
  262. ERROR: relation "useview_tb_results_task" already exists
  263. ERROR: syntax error at or near "NOT"
  264. LINE 1: CREATE UNIQUE INDEX IF NOT EXISTS useview_tb_results_task_re...
  265. ^
  266. ERROR: syntax error at or near "current_user"
  267. LINE 1: REASSIGN OWNED BY current_user TO full_access;
  268. ^
  269. GRANT
  270. ERROR: relation "useview_discharge_instructions" already exists
  271. ERROR: syntax error at or near "NOT"
  272. LINE 1: CREATE UNIQUE INDEX IF NOT EXISTS useview_discharge_instruct...
  273. ^
  274. ERROR: syntax error at or near "current_user"
  275. LINE 1: REASSIGN OWNED BY current_user TO full_access;
  276. ^
  277. GRANT
  278. ERROR: relation "useview_hiv_home_visit" already exists
  279. ERROR: syntax error at or near "NOT"
  280. LINE 1: CREATE UNIQUE INDEX IF NOT EXISTS useview_hiv_home_visit_rep...
  281. ^
  282. ERROR: syntax error at or near "current_user"
  283. LINE 1: REASSIGN OWNED BY current_user TO full_access;
  284. ^
  285. GRANT
  286. ERROR: relation "useview_postnatal_follow_up" already exists
  287. ERROR: syntax error at or near "NOT"
  288. LINE 1: CREATE UNIQUE INDEX IF NOT EXISTS pnc_follow_up_reported_pat...
  289. ^
  290. ERROR: syntax error at or near "current_user"
  291. LINE 1: REASSIGN OWNED BY current_user TO full_access;
  292. ^
  293. GRANT
  294. ERROR: relation "useview_tb_screening" already exists
  295. ERROR: syntax error at or near "NOT"
  296. LINE 1: CREATE UNIQUE INDEX IF NOT EXISTS useview_tb_screening_repor...
  297. ^
  298. ERROR: syntax error at or near "current_user"
  299. LINE 1: REASSIGN OWNED BY current_user TO full_access;
  300. ^
  301. GRANT
  302. ERROR: relation "useview_discharge" already exists
  303. ERROR: syntax error at or near "NOT"
  304. LINE 1: CREATE UNIQUE INDEX IF NOT EXISTS useview_discharge_reported...
  305. ^
  306. ERROR: syntax error at or near "current_user"
  307. LINE 1: REASSIGN OWNED BY current_user TO full_access;
  308. ^
  309. GRANT
  310. ERROR: relation "useview_hospitalization" already exists
  311. ERROR: syntax error at or near "NOT"
  312. LINE 1: CREATE UNIQUE INDEX IF NOT EXISTS useview_hospitalization_re...
  313. ^
  314. ERROR: syntax error at or near "current_user"
  315. LINE 1: REASSIGN OWNED BY current_user TO full_access;
  316. ^
  317. GRANT
  318. ERROR: relation "useview_pregnancy_follow_up" already exists
  319. ERROR: syntax error at or near "NOT"
  320. LINE 1: CREATE UNIQUE INDEX IF NOT EXISTS useview_pregnancy_follow_u...
  321. ^
  322. ERROR: syntax error at or near "current_user"
  323. LINE 1: REASSIGN OWNED BY current_user TO full_access;
  324. ^
  325. GRANT
  326. ERROR: relation "useview_trace_follow_up" already exists
  327. ERROR: syntax error at or near "NOT"
  328. LINE 1: CREATE UNIQUE INDEX IF NOT EXISTS useview_trace_follow_up_re...
  329. ^
  330. ERROR: syntax error at or near "current_user"
  331. LINE 1: REASSIGN OWNED BY current_user TO full_access;
  332. ^
  333. GRANT
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement