From 9c1f9c3a596a5262dab9b6b56f3380b44275fd6c Mon Sep 17 00:00:00 2001 From: Maxim Mamontov Date: Mon, 8 Nov 2010 14:26:53 +0200 Subject: [PATCH 1/1] =?utf8?q?=D0=9F=D1=80=D0=B8=20=D0=BF=D0=BE=D0=BB?= =?utf8?q?=D1=83=D1=87=D0=B5=D0=BD=D0=B8=D0=B8=20=D1=81=D0=BF=D0=B8=D1=81?= =?utf8?q?=D0=BA=D0=B0=20=D0=B0=D0=B4=D0=BC=D0=B8=D0=BD=D0=BE=D0=B2=20?= =?utf8?q?=D0=B8=D0=B7=20=D0=B1=D0=B0=D0=B7=D1=8B=20=D0=B8=D0=B3=D0=BD?= =?utf8?q?=D0=BE=D1=80=D0=B8=D1=80=D1=83=D0=B5=D0=BC=20=D1=81=D0=B8=D1=81?= =?utf8?q?=D1=82=D0=B5=D0=BC=D0=BD=D0=BE=D0=B3=D0=BE=20=D0=B0=D0=B4=D0=BC?= =?utf8?q?=D0=B8=D0=BD=D0=B0=20('@stargazer')?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../plugins/store/postgresql/postgresql_store_admins.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/stargazer/plugins/store/postgresql/postgresql_store_admins.cpp b/projects/stargazer/plugins/store/postgresql/postgresql_store_admins.cpp index 28bfbc0c..d14f3a4d 100644 --- a/projects/stargazer/plugins/store/postgresql/postgresql_store_admins.cpp +++ b/projects/stargazer/plugins/store/postgresql/postgresql_store_admins.cpp @@ -63,7 +63,7 @@ if (StartTransaction()) return -1; } -result = PQexec(connection, "SELECT login FROM tb_admins"); +result = PQexec(connection, "SELECT login FROM tb_admins WHERE login <> '@stargazer'"); if (PQresultStatus(result) != PGRES_TUPLES_OK) { -- 2.44.2