Error in pgaccess (parse error at or near """) on create new user with password - Mailing list pgsql-bugs

From Thomas Swan
Subject Error in pgaccess (parse error at or near """) on create new user with password
Date
Msg-id 4.3.1.2.20000509024808.00b486f8@sunset.backbone.olemiss.edu
Whole thread Raw
Responses Re: Error in pgaccess (parse error at or near """) on create new user with password  (Peter Eisentraut <e99re41@DoCS.UU.SE>)
List pgsql-bugs
============================================================================
                         POSTGRESQL BUG REPORT TEMPLATE
============================================================================


Your name               :Thomas Swan
Your email address      :tswan@ics.olemiss.edu


System Configuration
---------------------
   Architecture (example: Intel Pentium)         :Intel Celeron

   Operating System (example: Linux 2.0.26 ELF)  : Linux 2.2.15 ELF

   PostgreSQL version (example: PostgreSQL-6.5.1):   PostgreSQL-7.0 Release

   Compiler used (example:  gcc 2.8.0)           : egcs-2.91.66


Please enter a FULL description of your problem:
------------------------------------------------
When using pgaccess to create a new user the followin error results.

Error executing query
CREATE user "whomever" WITH PASSWORD "foo" CREATEDB CREATEUSER

PostgreSQL error message:
ERROR: parser: parse error at or near """

PostgreSQL status: PGRES_FATAL_ERROR


{any variation of rights reproduces the error}


Please describe a way to repeat the problem.   Please try to provide a
concise reproducible example, if at all possible:
----------------------------------------------------------------------

Try to create  a new user with a password


If you know how this problem might be fixed, list the solution below:
---------------------------------------------------------------------

The with password doesn't like the double quote characters however, writing the same query by hand and using single
quotesworks...  just change the query or check and make sure the parser will expect double quotes if that is what's
expected. So either it's pgaccess using the wrong SQL statement to create a user or the statement is being incorrectly
handled.


-
- Thomas Swan
- ________________________________________
- Graduate Student  - Computer Science
- The University of Mississippi
-
- "People can be sorted into two fundamental groups,
- those that divide people into two groups and
- those that don't."

pgsql-bugs by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: query slowness caused by table alias
Next
From: Peter Eisentraut
Date:
Subject: Re: Error in pgaccess (parse error at or near """) on create new user with password