INSERT INTO senders (user_id, username, first_name, messages_sent, status)
VALUES (%(user_id)s, %(username)s, %(first_name)s, %(messages_sent)s, %(status)s)
INSERT INTO senders (user_id, username, first_name, messages_sent, status)
VALUES (%(user_id)s, %(username)s, %(first_name)s, %(messages_sent)s, %(status)s)
ON CONFLICT (user_id) DO NOTHING;
INSERT INTO senders (user_id, username, first_name, messages_sent, status)
VALUES (%(user_id)s, %(username)s, %(first_name)s, %(messages_sent)s, %(status)s)
ON CONFLICT (user_id) DO UPDATE SET messages_sent = 0
WHERE user_id = %(user_id)s;
glxinfo | egrep -i 'device|memory'
Device: Radeon RX 570 Series (POLARIS10, DRM 3.33.0, 5.3.0-51-generic, LLVM 9.0.0)
Video memory: 4096MB
Unified memory: no
Memory info (GL_ATI_meminfo):
VBO free memory - total: 3658 MB, largest block: 3658 MB
.....
COPY ./db.sql /docker-entrypoint-initdb.d/
Я щас уже не могу найти тот генератор. Но я искал его в github вот наподобие такого
https://github.com/sharphurt/ElvenNamesGenerator