{"id":1934,"date":"2025-04-10T15:06:16","date_gmt":"2025-04-10T12:06:16","guid":{"rendered":"https:\/\/elvinto.ru\/?p=1934"},"modified":"2025-04-10T15:06:16","modified_gmt":"2025-04-10T12:06:16","slug":"%d0%b5%d1%81%d0%bb%d0%b8-%d0%b7%d0%b0%d0%b1%d1%8b%d0%bb-%d0%b0%d0%b4%d0%bc%d0%b8%d0%bd%d1%81%d0%ba%d0%b8%d0%b9-%d0%bf%d0%b0%d1%80%d0%be%d0%bb%d1%8c-%d0%be%d1%82-1%d1%81","status":"publish","type":"post","link":"https:\/\/elvinto.ru\/?p=1934","title":{"rendered":"\u0415\u0441\u043b\u0438 \u0437\u0430\u0431\u044b\u043b \u0430\u0434\u043c\u0438\u043d\u0441\u043a\u0438\u0439 \u043f\u0430\u0440\u043e\u043b\u044c \u043e\u0442 1\u0421"},"content":{"rendered":"\n<p>\u0422\u0443\u0442 \u0433\u043b\u0430\u0432\u043d\u043e\u0435 \u0431\u0435\u0437 \u043f\u0430\u043d\u0438\u043a\u0438 \u0438 \u0447\u0442\u043e\u0431\u044b \u0431\u044b\u043b \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u0411\u0414 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438.<\/p>\n\n\n\n<p>\u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c\u0441\u044f \u043a Postgre<\/p>\n\n\n\n<p><code>su postgres<\/code><\/p>\n\n\n\n<p><code>psql<\/code><\/p>\n\n\n\n<p>\u041d\u0430\u0439\u0442\u0438 \u043d\u0443\u0436\u043d\u0443\u044e \u0431\u0430\u0437\u0443 \u0434\u0430\u043d\u043d\u044b\u0445<\/p>\n\n\n\n<p><code>SELECT datname FROM pg_database;<\/code><\/p>\n\n\n\n<p>\u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c\u0441\u044f \u043a \u0411\u0414<\/p>\n\n\n\n<p><code>\\connect MyDatabaseName<\/code><\/p>\n\n\n\n<p>\u041f\u0435\u0440\u0435\u0438\u043c\u0435\u043d\u043e\u0432\u0430\u0442\u044c \u0442\u0430\u0431\u043b\u0438\u0446\u0443 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439<\/p>\n\n\n\n<p><code>ALTER TABLE v8users RENAME TO v8users_tmp;<br>UPDATE Params SET FileName = \u2018users.usr_tmp\u2019 WHERE FileName = 'users.usr';<\/code><\/p>\n\n\n\n<p>\u0412\u043e\u0439\u0442\u0438 \u0432 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0442\u043e\u0440 \u0438 \u043d\u0438\u0447\u0435\u0433\u043e \u0431\u043e\u043b\u044c\u0448\u0435 \u043d\u0435 \u0434\u0435\u043b\u0430\u0442\u044c<\/p>\n\n\n\n<p>\u0412\u0435\u0440\u043d\u0443\u0442\u044c \u0432\u0441\u0451 \u043a\u0430\u043a \u0431\u044b\u043b\u043e<\/p>\n\n\n\n<p><code>ALTER TABLE v8users_tmp RENAME TO v8users;<br>UPDATE Params SET FileName = \u2018users.usr\u2019 WHERE FileName = 'users.usr_tmp';<\/code><\/p>\n\n\n\n<p>\u041e\u0442\u043a\u0440\u044b\u0442\u044c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043d\u0430 \u043d\u0443\u0436\u043d\u043e\u0433\u043e \u0430\u0434\u043c\u0438\u043d\u0441\u043a\u043e\u0433\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u043d\u0443\u0436\u043d\u044b\u0439 \u043f\u0430\u0440\u043e\u043b\u044c, \u043b\u0438\u0431\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043d\u043e\u0432\u043e\u0433\u043e.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<ol class=\"wp-block-list\"><\/ol>\n","protected":false},"excerpt":{"rendered":"<p>\u0422\u0443\u0442 \u0433\u043b\u0430\u0432\u043d\u043e\u0435 \u0431\u0435\u0437 \u043f\u0430\u043d\u0438\u043a\u0438 \u0438 \u0447\u0442\u043e\u0431\u044b \u0431\u044b\u043b \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u0411\u0414 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438. \u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c\u0441\u044f \u043a Postgre su postgres psql \u041d\u0430\u0439\u0442\u0438 \u043d\u0443\u0436\u043d\u0443\u044e \u0431\u0430\u0437\u0443 \u0434\u0430\u043d\u043d\u044b\u0445 SELECT datname FROM pg_database; \u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c\u0441\u044f \u043a \u0411\u0414 \\connect MyDatabaseName \u041f\u0435\u0440\u0435\u0438\u043c\u0435\u043d\u043e\u0432\u0430\u0442\u044c \u0442\u0430\u0431\u043b\u0438\u0446\u0443 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 ALTER TABLE v8users RENAME TO v8users_tmp;UPDATE Params SET FileName = \u2018users.usr_tmp\u2019 WHERE FileName = &#8216;users.usr&#8217;; \u0412\u043e\u0439\u0442\u0438 \u0432 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0442\u043e\u0440 \u0438 \u043d\u0438\u0447\u0435\u0433\u043e \u0431\u043e\u043b\u044c\u0448\u0435 \u043d\u0435 &hellip; <a href=\"https:\/\/elvinto.ru\/?p=1934\" class=\"more-link\">\u0427\u0438\u0442\u0430\u0442\u044c \u0434\u0430\u043b\u0435\u0435<span class=\"screen-reader-text\"> \u00ab\u0415\u0441\u043b\u0438 \u0437\u0430\u0431\u044b\u043b \u0430\u0434\u043c\u0438\u043d\u0441\u043a\u0438\u0439 \u043f\u0430\u0440\u043e\u043b\u044c \u043e\u0442 1\u0421\u00bb<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-1934","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/elvinto.ru\/index.php?rest_route=\/wp\/v2\/posts\/1934","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/elvinto.ru\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/elvinto.ru\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/elvinto.ru\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/elvinto.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1934"}],"version-history":[{"count":1,"href":"https:\/\/elvinto.ru\/index.php?rest_route=\/wp\/v2\/posts\/1934\/revisions"}],"predecessor-version":[{"id":1935,"href":"https:\/\/elvinto.ru\/index.php?rest_route=\/wp\/v2\/posts\/1934\/revisions\/1935"}],"wp:attachment":[{"href":"https:\/\/elvinto.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1934"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/elvinto.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1934"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/elvinto.ru\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1934"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}