All
This commit is contained in:
23
pgsql-log/get-logs.sh
Normal file
23
pgsql-log/get-logs.sh
Normal file
@@ -0,0 +1,23 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Source and destination directories
|
||||
SRC_DIR="/var/lib/pgsql/15/data/log/"
|
||||
DEST_DIR="/usr/share/nginx/html/paad/pgsql-log/"
|
||||
|
||||
# Days of the week
|
||||
DAYS=("Mon" "Tue" "Wed" "Thu" "Fri" "Sat" "Sun")
|
||||
|
||||
echo "Done"
|
||||
# Iterate over each day and copy the file if it exists
|
||||
for day in "${DAYS[@]}"; do
|
||||
src_file="${SRC_DIR}postgresql-${day}.log"
|
||||
dest_file="${DEST_DIR}postgresql-${day}.log"
|
||||
|
||||
if [[ -f "$src_file" ]]; then
|
||||
sudo cp "$src_file" "$dest_file"
|
||||
echo "Copied ${src_file} to ${dest_file}"
|
||||
else
|
||||
echo "File ${src_file} not found"
|
||||
fi
|
||||
|
||||
done
|
||||
0
pgsql-log/postgresql-Fri.log
Normal file
0
pgsql-log/postgresql-Fri.log
Normal file
0
pgsql-log/postgresql-Mon.log
Normal file
0
pgsql-log/postgresql-Mon.log
Normal file
0
pgsql-log/postgresql-Sat.log
Normal file
0
pgsql-log/postgresql-Sat.log
Normal file
0
pgsql-log/postgresql-Sun.log
Normal file
0
pgsql-log/postgresql-Sun.log
Normal file
5
pgsql-log/postgresql-Thu.log
Normal file
5
pgsql-log/postgresql-Thu.log
Normal file
@@ -0,0 +1,5 @@
|
||||
2023-09-14 00:04:57.032 UTC [1335198] LOG: could not receive data from client: Connection timed out
|
||||
2023-09-14 00:05:29.800 UTC [1335199] LOG: could not receive data from client: Connection timed out
|
||||
2023-09-14 00:15:52.392 UTC [1335630] LOG: could not receive data from client: Connection timed out
|
||||
2023-09-14 00:15:52.392 UTC [1335631] LOG: could not receive data from client: Connection timed out
|
||||
2023-09-14 00:15:52.392 UTC [1335632] LOG: could not receive data from client: Connection timed out
|
||||
159
pgsql-log/postgresql-Tue.log
Normal file
159
pgsql-log/postgresql-Tue.log
Normal file
@@ -0,0 +1,159 @@
|
||||
2023-09-12 00:12:17.352 UTC [1093788] LOG: could not receive data from client: Connection timed out
|
||||
2023-09-12 00:12:17.352 UTC [1093789] LOG: could not receive data from client: Connection timed out
|
||||
2023-09-12 00:12:17.355 UTC [1093796] LOG: could not receive data from client: Connection timed out
|
||||
2023-09-12 16:04:38.145 UTC [1278220] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:04:38.211 UTC [1278221] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:04:38.587 UTC [1278222] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:04:39.607 UTC [1278223] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:04:43.386 UTC [1278224] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:04:51.218 UTC [1278225] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:04:53.150 UTC [1278227] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:04:53.161 UTC [1278228] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:04:53.654 UTC [1278229] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:04:55.210 UTC [1278230] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:04:55.569 UTC [1278231] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:05:07.666 UTC [1278240] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:05:08.015 UTC [1278241] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:05:08.173 UTC [1278242] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:05:08.548 UTC [1278243] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:05:08.590 UTC [1278244] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:05:08.807 UTC [1278245] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:05:09.198 UTC [1278246] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:05:09.964 UTC [1278247] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:05:10.657 UTC [1278248] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:05:14.658 UTC [1278252] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:05:15.371 UTC [1278253] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:05:16.303 UTC [1278255] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:05:16.462 UTC [1278256] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:05:16.834 UTC [1278257] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:05:17.022 UTC [1278258] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:05:17.222 UTC [1278259] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:05:17.392 UTC [1278260] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:05:17.574 UTC [1278261] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:05:17.952 UTC [1278262] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:05:18.880 UTC [1278263] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:05:20.321 UTC [1278265] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:05:20.681 UTC [1278266] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:05:29.281 UTC [1278280] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:05:35.416 UTC [1278284] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:05:41.918 UTC [1278285] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:05:44.962 UTC [1278286] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:05:45.403 UTC [1278287] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:05:45.567 UTC [1278288] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:05:45.745 UTC [1278289] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:05:45.946 UTC [1278290] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:05:45.947 UTC [1278291] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:05:46.204 UTC [1278292] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:05:46.316 UTC [1278293] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:05:46.741 UTC [1278294] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:05:47.078 UTC [1278295] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:05:47.334 UTC [1278296] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:05:47.696 UTC [1278297] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:05:48.307 UTC [1278299] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:05:48.310 UTC [1278300] FATAL: expected SASL response, got message type 88
|
||||
2023-09-12 16:05:48.318 UTC [1278301] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:05:48.326 UTC [1278302] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:05:48.336 UTC [1278303] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:05:48.344 UTC [1278304] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:05:48.441 UTC [1278305] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:05:48.452 UTC [1278306] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:05:48.461 UTC [1278307] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:05:48.469 UTC [1278308] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:05:48.477 UTC [1278309] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:05:48.486 UTC [1278310] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:05:48.539 UTC [1278311] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:05:48.656 UTC [1278312] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:05:48.740 UTC [1278313] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:05:49.097 UTC [1278314] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:05:49.308 UTC [1278315] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:05:49.441 UTC [1278316] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:05:49.592 UTC [1278317] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:05:49.839 UTC [1278318] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:05:50.213 UTC [1278319] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:05:50.244 UTC [1278320] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:05:50.584 UTC [1278321] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:05:50.661 UTC [1278322] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:05:51.031 UTC [1278323] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:05:53.822 UTC [1278325] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:05:54.197 UTC [1278326] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:05:55.686 UTC [1278327] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:05:55.686 UTC [1278328] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:05:55.692 UTC [1278329] LOG: invalid length of startup packet
|
||||
2023-09-12 16:05:55.739 UTC [1278330] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:05:55.830 UTC [1278331] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:05:55.923 UTC [1278332] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:05:56.048 UTC [1278333] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:05:56.140 UTC [1278334] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:05:56.168 UTC [1278335] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:05:56.224 UTC [1278336] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:05:56.316 UTC [1278337] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:05:56.684 UTC [1278338] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:05:57.391 UTC [1278339] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:05:57.392 UTC [1278340] FATAL: expected SASL response, got message type 88
|
||||
2023-09-12 16:05:57.763 UTC [1278341] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:05:58.118 UTC [1278342] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:05:58.280 UTC [1278343] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:05:58.514 UTC [1278344] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:05:58.849 UTC [1278350] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:05:59.251 UTC [1278351] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:05:59.313 UTC [1278352] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:05:59.438 UTC [1278353] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:05:59.794 UTC [1278354] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:06:00.072 UTC [1278355] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:06:00.193 UTC [1278356] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:06:00.193 UTC [1278357] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:06:00.196 UTC [1278358] FATAL: expected SASL response, got message type 88
|
||||
2023-09-12 16:06:00.422 UTC [1278359] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:06:00.424 UTC [1278360] FATAL: expected SASL response, got message type 88
|
||||
2023-09-12 16:06:00.793 UTC [1278361] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:06:01.106 UTC [1278362] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:06:01.124 UTC [1278363] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:06:01.411 UTC [1278364] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:06:01.414 UTC [1278365] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:06:01.495 UTC [1278366] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:06:01.555 UTC [1278367] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:06:01.590 UTC [1278368] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:06:01.628 UTC [1278369] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:06:01.739 UTC [1278370] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:06:01.739 UTC [1278371] FATAL: expected SASL response, got message type 88
|
||||
2023-09-12 16:06:02.120 UTC [1278373] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:06:02.140 UTC [1278372] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:06:02.330 UTC [1278374] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:06:02.453 UTC [1278376] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:06:02.454 UTC [1278375] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:06:02.814 UTC [1278377] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:06:03.165 UTC [1278378] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:06:03.203 UTC [1278379] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:06:03.558 UTC [1278380] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:06:03.915 UTC [1278381] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:06:04.214 UTC [1278382] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:06:04.390 UTC [1278383] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:06:04.509 UTC [1278384] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:06:04.879 UTC [1278385] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:06:05.266 UTC [1278386] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:06:05.632 UTC [1278387] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:06:05.981 UTC [1278388] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:06:08.768 UTC [1278390] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:06:08.976 UTC [1278392] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:06:09.347 UTC [1278394] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:06:09.953 UTC [1278395] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:06:10.157 UTC [1278396] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:06:10.383 UTC [1278397] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:06:10.731 UTC [1278398] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:06:10.828 UTC [1278399] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:06:11.182 UTC [1278400] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:06:11.463 UTC [1278401] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:06:16.727 UTC [1278403] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:06:17.169 UTC [1278404] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:06:20.081 UTC [1278405] FATAL: database "paad" does not exist
|
||||
2023-09-12 16:36:39.375 UTC [1202] LOG: checkpoint starting: time
|
||||
2023-09-12 16:36:40.120 UTC [1202] LOG: checkpoint complete: wrote 8 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.705 s, sync=0.014 s, total=0.746 s; sync files=6, longest=0.009 s, average=0.003 s; distance=31 kB, estimate=390 kB
|
||||
2023-09-12 17:27:45.480 UTC [1273693] LOG: could not receive data from client: Connection timed out
|
||||
2023-09-12 17:27:45.480 UTC [1273692] LOG: could not receive data from client: Connection timed out
|
||||
2023-09-12 17:27:45.483 UTC [1273700] LOG: could not receive data from client: Connection timed out
|
||||
2023-09-12 18:11:26.920 UTC [1277694] LOG: could not receive data from client: Connection timed out
|
||||
2023-09-12 18:11:26.920 UTC [1277695] LOG: could not receive data from client: Connection timed out
|
||||
2023-09-12 18:11:26.923 UTC [1277697] LOG: could not receive data from client: Connection timed out
|
||||
2023-09-12 18:50:46.216 UTC [1282892] LOG: could not receive data from client: Connection timed out
|
||||
2023-09-12 18:50:46.217 UTC [1282894] LOG: could not receive data from client: Connection timed out
|
||||
2023-09-12 18:50:46.219 UTC [1282893] LOG: could not receive data from client: Connection timed out
|
||||
187
pgsql-log/postgresql-Wed.log
Normal file
187
pgsql-log/postgresql-Wed.log
Normal file
@@ -0,0 +1,187 @@
|
||||
2023-09-13 15:10:48.250 UTC [1314581] ERROR: syntax error at or near "123" at character 1
|
||||
2023-09-13 15:10:48.250 UTC [1314581] STATEMENT: 123
|
||||
2023-09-13 15:16:54.253 UTC [1202] LOG: checkpoint starting: time
|
||||
2023-09-13 15:16:58.601 UTC [1202] LOG: checkpoint complete: wrote 44 buffers (0.3%); 0 WAL file(s) added, 0 removed, 0 recycled; write=4.317 s, sync=0.017 s, total=4.349 s; sync files=32, longest=0.007 s, average=0.001 s; distance=156 kB, estimate=367 kB
|
||||
2023-09-13 15:21:54.696 UTC [1202] LOG: checkpoint starting: time
|
||||
2023-09-13 15:21:55.734 UTC [1202] LOG: checkpoint complete: wrote 11 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=1.004 s, sync=0.016 s, total=1.038 s; sync files=11, longest=0.008 s, average=0.002 s; distance=49 kB, estimate=335 kB
|
||||
2023-09-13 15:26:54.749 UTC [1202] LOG: checkpoint starting: time
|
||||
2023-09-13 15:26:55.073 UTC [1202] LOG: checkpoint complete: wrote 4 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.302 s, sync=0.007 s, total=0.324 s; sync files=4, longest=0.005 s, average=0.002 s; distance=19 kB, estimate=304 kB
|
||||
2023-09-13 15:31:54.105 UTC [1202] LOG: checkpoint starting: time
|
||||
2023-09-13 15:31:55.137 UTC [1202] LOG: checkpoint complete: wrote 11 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=1.004 s, sync=0.012 s, total=1.033 s; sync files=11, longest=0.008 s, average=0.002 s; distance=51 kB, estimate=278 kB
|
||||
2023-09-13 15:36:52.177 UTC [1319833] ERROR: column "id" does not exist at character 111
|
||||
2023-09-13 15:36:52.177 UTC [1319833] HINT: Perhaps you meant to reference the column "log_registro.ip".
|
||||
2023-09-13 15:36:52.177 UTC [1319833] STATEMENT: INSERT INTO "log_registro" (clave, ip, navegador, informacion, detalle) VALUES ($1, $2, $3, $4, $5) RETURNING id
|
||||
2023-09-13 15:36:54.167 UTC [1202] LOG: checkpoint starting: time
|
||||
2023-09-13 15:36:54.595 UTC [1202] LOG: checkpoint complete: wrote 5 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.402 s, sync=0.010 s, total=0.428 s; sync files=5, longest=0.008 s, average=0.002 s; distance=27 kB, estimate=253 kB
|
||||
2023-09-13 15:37:02.062 UTC [1319867] ERROR: column "id" does not exist at character 111
|
||||
2023-09-13 15:37:02.062 UTC [1319867] HINT: Perhaps you meant to reference the column "log_registro.ip".
|
||||
2023-09-13 15:37:02.062 UTC [1319867] STATEMENT: INSERT INTO "log_registro" (clave, ip, navegador, informacion, detalle) VALUES ($1, $2, $3, $4, $5) RETURNING id
|
||||
2023-09-13 15:37:12.285 UTC [1319905] ERROR: column "id" does not exist at character 111
|
||||
2023-09-13 15:37:12.285 UTC [1319905] HINT: Perhaps you meant to reference the column "log_registro.ip".
|
||||
2023-09-13 15:37:12.285 UTC [1319905] STATEMENT: INSERT INTO "log_registro" (clave, ip, navegador, informacion, detalle) VALUES ($1, $2, $3, $4, $5) RETURNING id
|
||||
2023-09-13 15:41:54.688 UTC [1202] LOG: checkpoint starting: time
|
||||
2023-09-13 15:41:55.213 UTC [1202] LOG: checkpoint complete: wrote 6 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.502 s, sync=0.009 s, total=0.525 s; sync files=5, longest=0.005 s, average=0.002 s; distance=1 kB, estimate=228 kB
|
||||
2023-09-13 15:42:52.137 UTC [1320925] LOG: could not receive data from client: Connection reset by peer
|
||||
2023-09-13 15:46:54.296 UTC [1202] LOG: checkpoint starting: time
|
||||
2023-09-13 15:46:54.521 UTC [1202] LOG: checkpoint complete: wrote 3 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.201 s, sync=0.008 s, total=0.225 s; sync files=3, longest=0.005 s, average=0.003 s; distance=7 kB, estimate=206 kB
|
||||
2023-09-13 15:47:26.636 UTC [1321052] LOG: could not receive data from client: Connection reset by peer
|
||||
2023-09-13 15:47:26.638 UTC [1321044] LOG: could not receive data from client: Connection reset by peer
|
||||
2023-09-13 17:25:10.856 UTC [1315055] LOG: could not receive data from client: Connection timed out
|
||||
2023-09-13 17:46:56.136 UTC [1202] LOG: checkpoint starting: time
|
||||
2023-09-13 17:46:56.663 UTC [1202] LOG: checkpoint complete: wrote 6 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.502 s, sync=0.009 s, total=0.528 s; sync files=6, longest=0.006 s, average=0.002 s; distance=23 kB, estimate=188 kB
|
||||
2023-09-13 17:47:01.576 UTC [1315057] LOG: could not receive data from client: Connection timed out
|
||||
2023-09-13 18:43:58.748 UTC [1329584] ERROR: column "periodo.periodo_id" must appear in the GROUP BY clause or be used in an aggregate function at character 8
|
||||
2023-09-13 18:43:58.748 UTC [1329584] STATEMENT: SELECT periodo.* FROM horario_view
|
||||
JOIN horario_profesor USING (HORARIO_ID)
|
||||
JOIN periodo USING (PERIODO_ID)
|
||||
GROUP BY PERIODO_ID LIMIT 100 OFFSET 0
|
||||
2023-09-13 18:51:57.615 UTC [1202] LOG: checkpoint starting: time
|
||||
2023-09-13 18:51:58.149 UTC [1202] LOG: checkpoint complete: wrote 6 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.502 s, sync=0.010 s, total=0.535 s; sync files=6, longest=0.006 s, average=0.002 s; distance=2 kB, estimate=169 kB
|
||||
2023-09-13 18:56:57.193 UTC [1202] LOG: checkpoint starting: time
|
||||
2023-09-13 18:56:57.721 UTC [1202] LOG: checkpoint complete: wrote 6 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.502 s, sync=0.011 s, total=0.529 s; sync files=6, longest=0.008 s, average=0.002 s; distance=27 kB, estimate=155 kB
|
||||
2023-09-13 19:01:57.806 UTC [1202] LOG: checkpoint starting: time
|
||||
2023-09-13 19:01:58.135 UTC [1202] LOG: checkpoint complete: wrote 4 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.302 s, sync=0.010 s, total=0.329 s; sync files=4, longest=0.007 s, average=0.003 s; distance=4 kB, estimate=140 kB
|
||||
2023-09-13 19:58:05.896 UTC [1325906] LOG: could not receive data from client: Connection timed out
|
||||
2023-09-13 19:58:05.896 UTC [1325966] LOG: could not receive data from client: Connection timed out
|
||||
2023-09-13 19:58:05.899 UTC [1325908] LOG: could not receive data from client: Connection timed out
|
||||
2023-09-13 20:36:58.599 UTC [1202] LOG: checkpoint starting: time
|
||||
2023-09-13 20:36:59.033 UTC [1202] LOG: checkpoint complete: wrote 5 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.402 s, sync=0.012 s, total=0.435 s; sync files=5, longest=0.008 s, average=0.003 s; distance=29 kB, estimate=129 kB
|
||||
2023-09-13 20:41:58.126 UTC [1202] LOG: checkpoint starting: time
|
||||
2023-09-13 20:41:58.960 UTC [1202] LOG: checkpoint complete: wrote 9 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.803 s, sync=0.010 s, total=0.835 s; sync files=7, longest=0.006 s, average=0.002 s; distance=49 kB, estimate=121 kB
|
||||
2023-09-13 20:46:59.040 UTC [1202] LOG: checkpoint starting: time
|
||||
2023-09-13 20:46:59.368 UTC [1202] LOG: checkpoint complete: wrote 4 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.302 s, sync=0.012 s, total=0.329 s; sync files=4, longest=0.009 s, average=0.003 s; distance=23 kB, estimate=111 kB
|
||||
2023-09-13 20:56:59.514 UTC [1202] LOG: checkpoint starting: time
|
||||
2023-09-13 20:57:00.247 UTC [1202] LOG: checkpoint complete: wrote 8 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.703 s, sync=0.013 s, total=0.733 s; sync files=6, longest=0.008 s, average=0.003 s; distance=29 kB, estimate=103 kB
|
||||
2023-09-13 21:08:36.720 UTC [1334189] ERROR: column "reposicion_id" does not exist at character 392
|
||||
2023-09-13 21:08:36.720 UTC [1334189] QUERY: INSERT INTO reposicion_solicitud (fecha_clase, fecha_nueva, hora_nueva, estado_reposicion_id, profesor_id,
|
||||
descripcion, horario_id, alumnos, es_reposicion, tipoaula_id, duracion_id, usuario_id, bloque, ciclo)
|
||||
VALUES(p_fecha_falta, p_fecha_nueva, p_hora_nueva, p_edo, p_prof, p_desc, p_hor, p_alumnos, p_esrepo, p_aula, p_duracion, p_usr_creador, p_bloque, p_ciclo)
|
||||
RETURNING reposicion_id
|
||||
2023-09-13 21:08:36.720 UTC [1334189] CONTEXT: PL/pgSQL function fi_reposicion_solicitud(date,date,time without time zone,integer,integer,integer,text,integer,boolean,integer,integer,integer,integer,integer) line 6 at SQL statement
|
||||
2023-09-13 21:08:36.720 UTC [1334189] STATEMENT: SELECT * from fi_reposicion_solicitud($1, $2, $3, $4, $5, 1, $6, $7, true, $8, $9, $10, $11, $12)
|
||||
2023-09-13 21:09:36.512 UTC [1334212] ERROR: record "new" has no field "duracion_total"
|
||||
2023-09-13 21:09:36.512 UTC [1334212] CONTEXT: SQL expression "NEW.hora_nueva + (NEW.duracion_total || ' minutes')::interval > '22:00'"
|
||||
PL/pgSQL function validate_reposicion_duration() line 5 at IF
|
||||
SQL statement "INSERT INTO reposicion_solicitud (fecha_clase, fecha_nueva, hora_nueva, estado_reposicion_id, profesor_id,
|
||||
descripcion, horario_id, alumnos, es_reposicion, tipoaula_id, duracion_id, usuario_id, bloque, ciclo)
|
||||
VALUES(p_fecha_falta, p_fecha_nueva, p_hora_nueva, p_edo, p_prof, p_desc, p_hor, p_alumnos, p_esrepo, p_aula, p_duracion, p_usr_creador, p_bloque, p_ciclo)
|
||||
RETURNING reposicion_solicitud_id"
|
||||
PL/pgSQL function fi_reposicion_solicitud(date,date,time without time zone,integer,integer,integer,text,integer,boolean,integer,integer,integer,integer,integer) line 6 at SQL statement
|
||||
2023-09-13 21:09:36.512 UTC [1334212] STATEMENT: SELECT * from fi_reposicion_solicitud($1, $2, $3, $4, $5, 1, $6, $7, true, $8, $9, $10, $11, $12)
|
||||
2023-09-13 21:11:59.523 UTC [1202] LOG: checkpoint starting: time
|
||||
2023-09-13 21:12:00.258 UTC [1202] LOG: checkpoint complete: wrote 8 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.703 s, sync=0.010 s, total=0.736 s; sync files=6, longest=0.005 s, average=0.002 s; distance=29 kB, estimate=95 kB
|
||||
2023-09-13 21:12:22.344 UTC [1330587] LOG: could not receive data from client: Connection timed out
|
||||
2023-09-13 21:12:22.345 UTC [1330589] LOG: could not receive data from client: Connection timed out
|
||||
2023-09-13 21:12:22.347 UTC [1330620] LOG: could not receive data from client: Connection timed out
|
||||
2023-09-13 21:16:50.951 UTC [1334211] ERROR: syntax error at or near "," at character 811
|
||||
2023-09-13 21:16:50.951 UTC [1334211] STATEMENT: CREATE OR REPLACE FUNCTION public.fs_reposiciones_solicitud(p_fecha_ini date, p_fecha_fin date, p_usr integer DEFAULT NULL::integer, p_edo integer DEFAULT NULL::integer, p_esrepo boolean DEFAULT NULL::boolean)
|
||||
RETURNS TABLE(reposicion_id integer, horario_id integer, fecha_nueva date, hora_nueva time without time zone, descripcion character varying, profesor_id integer, profesor_clave character varying, profesor_nombre character varying, profesor_correo character varying, estado_reposicion_id integer, fecha_clase date, alumnos integer, tipoaula_id integer, tipoaula_nombre character varying, tipoaula_supervisor boolean, es_reposicion boolean, salon_id integer, duracion_total integer, materia_nombre character varying, horario_grupo character varying, horario_hora time without time zone,usuario_nombre, usuario_nombre character varying)
|
||||
LANGUAGE sql
|
||||
AS $function$
|
||||
/* Obtiene datos de reposición, se filtra por rango de fechas. Opcional: estado y si es reposicion/cambio */
|
||||
SELECT r.reposicion_solicitud_id, r.horario_id, r.fecha_nueva, r.hora_nueva, r.descripcion,
|
||||
r.profesor_id, p.profesor_clave, p.profesor_nombre, p.profesor_correo,
|
||||
r.estado_reposicion_id, r.fecha_clase, r.alumnos, r.tipoaula_id, ta.tipoaula_nombre, ta.tipoaula_supervisor, r.es_reposicion,
|
||||
r.salon_id, d.duracion_interval , m.materia_nombre, h.horario_grupo, h.horario_hora, u.usuario_nombre
|
||||
FROM reposicion_solicitud r
|
||||
INNER JOIN profesor p ON r.profesor_id = p.profesor_id
|
||||
INNER JOIN horario h ON h.horario_id = r.horario_id
|
||||
INNER JOIN materia m ON m.materia_id = h.materia_id
|
||||
INNER JOIN tipoaula ta ON ta.tipoaula_id = r.tipoaula_id
|
||||
inner join duracion d on d.duracion_id = r.duracion_id
|
||||
inner join usuario u on u.usuario_id = r.usuario_id
|
||||
WHERE r.fecha_nueva BETWEEN p_fecha_ini AND p_fecha_fin
|
||||
AND r.estado_reposicion_id = COALESCE(p_edo, r.estado_reposicion_id)
|
||||
AND r.es_reposicion = COALESCE(p_esrepo, r.es_reposicion)
|
||||
and r.usuario_id = coalesce(p_usr,r.usuario_id)
|
||||
ORDER BY fecha_nueva DESC, hora_nueva, profesor_nombre
|
||||
$function$
|
||||
|
||||
2023-09-13 21:16:59.336 UTC [1202] LOG: checkpoint starting: time
|
||||
2023-09-13 21:17:01.074 UTC [1202] LOG: checkpoint complete: wrote 18 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=1.707 s, sync=0.014 s, total=1.738 s; sync files=13, longest=0.007 s, average=0.002 s; distance=61 kB, estimate=92 kB
|
||||
2023-09-13 21:17:10.919 UTC [1334211] ERROR: return type mismatch in function declared to return record
|
||||
2023-09-13 21:17:10.919 UTC [1334211] DETAIL: Final statement returns interval instead of integer at column 18.
|
||||
2023-09-13 21:17:10.919 UTC [1334211] CONTEXT: SQL function "fs_reposiciones_solicitud"
|
||||
2023-09-13 21:17:10.919 UTC [1334211] STATEMENT: CREATE OR REPLACE FUNCTION public.fs_reposiciones_solicitud(p_fecha_ini date, p_fecha_fin date, p_usr integer DEFAULT NULL::integer, p_edo integer DEFAULT NULL::integer, p_esrepo boolean DEFAULT NULL::boolean)
|
||||
RETURNS TABLE(reposicion_id integer, horario_id integer, fecha_nueva date, hora_nueva time without time zone, descripcion character varying, profesor_id integer, profesor_clave character varying, profesor_nombre character varying, profesor_correo character varying, estado_reposicion_id integer, fecha_clase date, alumnos integer, tipoaula_id integer, tipoaula_nombre character varying, tipoaula_supervisor boolean, es_reposicion boolean, salon_id integer, duracion_total integer, materia_nombre character varying, horario_grupo character varying, horario_hora time without time zone, usuario_nombre character varying)
|
||||
LANGUAGE sql
|
||||
AS $function$
|
||||
/* Obtiene datos de reposición, se filtra por rango de fechas. Opcional: estado y si es reposicion/cambio */
|
||||
SELECT r.reposicion_solicitud_id, r.horario_id, r.fecha_nueva, r.hora_nueva, r.descripcion,
|
||||
r.profesor_id, p.profesor_clave, p.profesor_nombre, p.profesor_correo,
|
||||
r.estado_reposicion_id, r.fecha_clase, r.alumnos, r.tipoaula_id, ta.tipoaula_nombre, ta.tipoaula_supervisor, r.es_reposicion,
|
||||
r.salon_id, d.duracion_interval , m.materia_nombre, h.horario_grupo, h.horario_hora, u.usuario_nombre
|
||||
FROM reposicion_solicitud r
|
||||
INNER JOIN profesor p ON r.profesor_id = p.profesor_id
|
||||
INNER JOIN horario h ON h.horario_id = r.horario_id
|
||||
INNER JOIN materia m ON m.materia_id = h.materia_id
|
||||
INNER JOIN tipoaula ta ON ta.tipoaula_id = r.tipoaula_id
|
||||
inner join duracion d on d.duracion_id = r.duracion_id
|
||||
inner join usuario u on u.usuario_id = r.usuario_id
|
||||
WHERE r.fecha_nueva BETWEEN p_fecha_ini AND p_fecha_fin
|
||||
AND r.estado_reposicion_id = COALESCE(p_edo, r.estado_reposicion_id)
|
||||
AND r.es_reposicion = COALESCE(p_esrepo, r.es_reposicion)
|
||||
and r.usuario_id = coalesce(p_usr,r.usuario_id)
|
||||
ORDER BY fecha_nueva DESC, hora_nueva, profesor_nombre
|
||||
$function$
|
||||
|
||||
|
||||
2023-09-13 21:21:59.104 UTC [1202] LOG: checkpoint starting: time
|
||||
2023-09-13 21:21:59.839 UTC [1202] LOG: checkpoint complete: wrote 8 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.703 s, sync=0.014 s, total=0.735 s; sync files=8, longest=0.008 s, average=0.002 s; distance=38 kB, estimate=87 kB
|
||||
2023-09-13 21:36:46.968 UTC [1334883] ERROR: function fs_reposicionesprofesor(unknown, unknown, unknown, unknown, unknown) does not exist at character 15
|
||||
2023-09-13 21:36:46.968 UTC [1334883] HINT: No function matches the given name and argument types. You might need to add explicit type casts.
|
||||
2023-09-13 21:36:46.968 UTC [1334883] STATEMENT: SELECT * FROM fs_reposicionesprofesor($1, $2, $3 ,NULL, NULL)
|
||||
2023-09-13 21:47:00.190 UTC [1202] LOG: checkpoint starting: time
|
||||
2023-09-13 21:47:01.318 UTC [1202] LOG: checkpoint complete: wrote 12 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=1.104 s, sync=0.011 s, total=1.129 s; sync files=7, longest=0.007 s, average=0.002 s; distance=46 kB, estimate=83 kB
|
||||
2023-09-13 21:50:56.561 UTC [1335273] ERROR: column r.profesor_id does not exist at character 574
|
||||
2023-09-13 21:50:56.561 UTC [1335273] HINT: Perhaps you meant to reference the column "p.profesor_id".
|
||||
2023-09-13 21:50:56.561 UTC [1335273] QUERY:
|
||||
/* Obtiene datos de reposición */
|
||||
SELECT r.reposicion_id, r.horario_id, r.fecha_nueva, r.hora_nueva, r.hora_nueva + (r.duracion_total * INTERVAL '1 minute') AS hora_nueva_fin,
|
||||
r.descripcion, r.profesor_id, p.profesor_clave, p.profesor_nombre, p.profesor_correo,
|
||||
r.estado_reposicion_id, r.fecha_clase, r.alumnos, r.tipoaula_id, ta.tipoaula_nombre, ta.tipoaula_supervisor, r.es_reposicion,
|
||||
r.salon_id, r.duracion_total, m.materia_id, m.materia_nombre, h.horario_grupo, h.horario_hora,
|
||||
er.estado_nombre, er.estado_color
|
||||
FROM reposicion r
|
||||
INNER JOIN profesor p ON r.profesor_id = p.profesor_id
|
||||
INNER JOIN horario h ON h.horario_id = r.horario_id
|
||||
INNER JOIN materia m ON m.materia_id = h.materia_id
|
||||
INNER JOIN estado_reposicion er ON er.estado_reposicion_id = r.estado_reposicion_id
|
||||
INNER JOIN tipoaula ta ON ta.tipoaula_id = r.tipoaula_id
|
||||
WHERE r.reposicion_id = COALESCE(p_rep, r.reposicion_id)
|
||||
AND r.profesor_id = COALESCE(p_prof, r.profesor_id)
|
||||
AND r.fecha_nueva BETWEEN COALESCE(p_fecha_ini, r.fecha_nueva) AND COALESCE(p_fecha_fin,r.fecha_nueva)
|
||||
AND r.estado_reposicion_id = COALESCE(p_edo, r.estado_reposicion_id)
|
||||
AND (
|
||||
(p_jefe_carrera IS NOT NULL AND m.carrera_id IN (SELECT carrera_id FROM fs_usuario_carrera(p_jefe_carrera, NULL))
|
||||
) OR
|
||||
p_jefe_carrera IS NULL
|
||||
)
|
||||
ORDER BY fecha_nueva DESC, hora_nueva, profesor_nombre
|
||||
LIMIT p_limit OFFSET COALESCE(p_offset, 0);
|
||||
|
||||
2023-09-13 21:50:56.561 UTC [1335273] CONTEXT: SQL function "fs_reposicion" during startup
|
||||
2023-09-13 21:50:56.561 UTC [1335273] STATEMENT: SELECT * from fs_reposicion($1, NULL, NULL, NULL, NULL, NULL, NULL, NULL)
|
||||
2023-09-13 21:52:00.410 UTC [1202] LOG: checkpoint starting: time
|
||||
2023-09-13 21:52:01.046 UTC [1202] LOG: checkpoint complete: wrote 7 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.603 s, sync=0.015 s, total=0.637 s; sync files=7, longest=0.010 s, average=0.003 s; distance=42 kB, estimate=79 kB
|
||||
2023-09-13 21:57:00.144 UTC [1202] LOG: checkpoint starting: time
|
||||
2023-09-13 21:57:01.074 UTC [1202] LOG: checkpoint complete: wrote 10 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.904 s, sync=0.010 s, total=0.931 s; sync files=7, longest=0.005 s, average=0.002 s; distance=54 kB, estimate=76 kB
|
||||
2023-09-13 22:31:00.936 UTC [1332732] LOG: could not receive data from client: Connection timed out
|
||||
2023-09-13 22:31:00.936 UTC [1332733] LOG: could not receive data from client: Connection timed out
|
||||
2023-09-13 22:31:00.939 UTC [1332734] LOG: could not receive data from client: Connection timed out
|
||||
2023-09-13 22:44:07.368 UTC [1333316] LOG: could not receive data from client: Connection timed out
|
||||
2023-09-13 22:44:07.370 UTC [1333318] LOG: could not receive data from client: Connection timed out
|
||||
2023-09-13 22:48:29.512 UTC [1333475] LOG: could not receive data from client: Connection timed out
|
||||
2023-09-13 23:01:35.944 UTC [1333668] LOG: could not receive data from client: Connection timed out
|
||||
2023-09-13 23:01:35.944 UTC [1333669] LOG: could not receive data from client: Connection timed out
|
||||
2023-09-13 23:01:35.945 UTC [1333670] LOG: could not receive data from client: Connection timed out
|
||||
2023-09-13 23:10:20.232 UTC [1333848] LOG: could not receive data from client: Connection timed out
|
||||
2023-09-13 23:10:20.232 UTC [1333849] LOG: could not receive data from client: Connection timed out
|
||||
2023-09-13 23:10:20.234 UTC [1333850] LOG: could not receive data from client: Connection timed out
|
||||
2023-09-13 23:25:54.120 UTC [1334210] LOG: could not receive data from client: Connection timed out
|
||||
2023-09-13 23:26:02.312 UTC [1334209] LOG: could not receive data from client: Connection timed out
|
||||
2023-09-13 23:29:59.880 UTC [1334211] LOG: could not receive data from client: Connection timed out
|
||||
2023-09-13 23:49:39.528 UTC [1334892] LOG: could not receive data from client: Connection timed out
|
||||
2023-09-13 23:49:39.528 UTC [1334893] LOG: could not receive data from client: Connection timed out
|
||||
2023-09-13 23:49:39.530 UTC [1334894] LOG: could not receive data from client: Connection timed out
|
||||
2023-09-13 23:58:27.912 UTC [1335197] LOG: could not receive data from client: Connection timed out
|
||||
0
pgsql-log/tail
Normal file
0
pgsql-log/tail
Normal file
Reference in New Issue
Block a user