1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
8 CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
10 HREF="mailto:pgsql-docs@postgresql.org"><LINK
12 TITLE="PostgreSQL 7.4.1 Documentation"
13 HREF="index.html"><LINK
15 TITLE="PostgreSQL Client Applications"
16 HREF="reference-client.html"><LINK
19 HREF="app-droplang.html"><LINK
22 HREF="app-ecpg.html"><LINK
25 HREF="stylesheet.css"><META
27 CONTENT="2003-12-22T03:48:47"></HEAD
33 SUMMARY="Header navigation table"
43 >PostgreSQL 7.4.1 Documentation</TH
51 HREF="app-droplang.html"
60 HREF="app-droplang.html"
105 >dropuser -- remove a <SPAN
113 CLASS="REFSYNOPSISDIV"
142 > removes an existing
153 > the databases which that user owned.
154 Only superusers (users with <TT
171 > is a wrapper around the
176 HREF="sql-dropuser.html"
181 There is no effective difference between dropping users via
182 this utility and via other methods for accessing the server.
196 > accepts the following command-line arguments:
210 > Specifies the name of the <SPAN
213 > user to be removed.
214 You will be prompted for a name if none is specified on the command line.
227 > Echo the commands that <SPAN
231 and sends to the server.
244 > Prompt for confirmation before actually removing the user.
257 > Do not display a response.
268 > also accepts the following
269 command-line arguments for connection parameters:
292 > Specifies the host name of the machine on which the
294 is running. If the value begins with a slash, it is used
295 as the directory for the Unix domain socket.
314 > Specifies the TCP port or local Unix domain socket file
315 extension on which the server
316 is listening for connections.
335 > User name to connect as (not the user name to drop)
348 > Force password prompt (to connect to the server, not for the
349 password of the user to be dropped).
382 > Default connection parameters
396 > In case of difficulty, see <A
397 HREF="sql-dropuser.html"
408 discussions of potential problems and error messages.
409 The database server must be running at the
410 targeted host. Also, any default connection settings and environment
411 variables used by the <SPAN
429 > from the default database
441 CLASS="COMPUTEROUTPUT"
450 > using the server on host
454 >, port 5000, with verification and a peek at the underlying
463 >dropuser -p 5000 -h eden -i -e joe</KBD
466 CLASS="COMPUTEROUTPUT"
467 >User "joe" and any owned databases will be permanently deleted.
468 Are you sure? (y/n) </SAMP
474 CLASS="COMPUTEROUTPUT"
489 HREF="app-createuser.html"
495 HREF="sql-dropuser.html"
505 SUMMARY="Footer navigation table"
516 HREF="app-droplang.html"
553 HREF="reference-client.html"