From: Miguel Gonzalez <jffernandez@usuarios.retecal.es>
To: PostgreSqlAdmin <pgsql-admin@postgresql.org>
Subject: Creating Users
Date: Tue, 14 Aug 2001 16:45:13 +0200
Message-ID: <005401c124cf$b9e976c0$c83616d4@usuarios.retecal.es> (raw)
References: <3B788B57.8030406@kikakuya.com>
dear all,
I am developing a client application with C++ Builder 3 to access a
Database designed with PostgreSQL 7.0.4 using a BDE alias through the ODBC
driver.
I would like to have a form where I can add users to my users table of my
database and also create the corresponding entry to the postgres pg_user
table.
What I have tried through the Database Explorer is the following
transaction (I use begin and commit, otherwise the parser complains):
BEGIN;
CREATE USER user1 WITH PASSWORD 'passwd_user1' IN GROUP users_invui;
COMMIT;
I check in the pg_user table but no entry is added. I execute without the
begin and the commit comands the same query in the backend (psql) and it
works perfectly. What am I doing wrong?
Many thanks in advance and sorry for my English
Miguel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: jffernandez@usuarios.retecal.es
Subject: Re: Creating Users
In-Reply-To: <005401c124cf$b9e976c0$c83616d4@usuarios.retecal.es>
References: <3B788B57.8030406@kikakuya.com> <005401c124cf$b9e976c0$c83616d4@usuarios.retecal.es>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox