/*
* Administrators manipulation methods
*
- * $Revision: 1.2 $
- * $Date: 2009/06/09 12:32:39 $
+ * $Revision: 1.3 $
+ * $Date: 2010/11/08 10:10:24 $
*
*/
#include <libpq-fe.h>
+#include "stg/stg_locker.h"
+#include "stg/admin_conf.h"
+#include "stg/blowfish.h"
#include "postgresql_store.h"
-#include "stg_locker.h"
-#include "admin_conf.h"
-#include "blowfish.h"
#define adm_enc_passwd "cjeifY8m3"
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)
{