pgloader icon indicating copy to clipboard operation
pgloader copied to clipboard

FATAL error: 76 fell through ECASE expression

Open Ella-rep opened this issue 9 months ago • 3 comments

I open a new issue in reference to this one: https://github.com/dimitri/pgloader/issues/1211

I have the same error: 2025-03-26T13:53:21.070001Z ERROR mysql: 76 fell through ECASE expression. Wanted one of (2 3 4 5 6 8 9 10 11 14 15 17 20 21 23 27 28 30 31 32 33 35 41 42 45 46 47 48 49 50 51 52 54 55 56 60 61 62 63 64 65 69 72 77 78 79 82 83 87 90 92 93 94 95 96 97 98 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 254).

I use pgloader 3.6.3 compiled with SBCL 2.1.11.debian I have tried with the latest image from docker and get the same result. I use mysql Ver 8.0.41 and psql 14.17, on Ubuntu 22.04.1

I have tried modifing the pg_hba.conf with the md5 but it doesn't change anything.

Ella-rep avatar Mar 27 '25 10:03 Ella-rep

I got the same error as well, and my environment as below:


**pgloader:** 
pgloader version "3.6.3~devel"
compiled with SBCL 2.1.11.debian

**mysql**
8.0.35

**PostgreSQL**
postgres (PostgreSQL) 16.0

**OS**
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="Ubuntu 22.04.3 LTS"

yangfande362 avatar May 07 '25 03:05 yangfande362

@yangfande362 hi, I finally got through this error by changing my pgloader version following this instructions:https://github.com/dimitri/pgloader/issues/1211#issuecomment-2791569023

Ella-dee avatar May 07 '25 07:05 Ella-dee

@yangfande362 hi, I finally got through this error by changing my pgloader version following this instructions:#1211 (comment)

@Ella-dee Thanks for your reply, I have finished the database migration via Navicat with a trial version.

yangfande362 avatar May 07 '25 08:05 yangfande362