From owner-postgres95@postgres95.vnet.net Tue Feb 27 17:52:41 1996
Return-Path: <owner-postgres95@postgres95.vnet.net>
Received: from portal.ilt.com by venus (4.1/ILT-1.1)
	id AA25943; Tue, 27 Feb 96 17:52:39 PST
Received: from shiloh.vnet.net by portal.ilt.com (4.1/ILT-1.1)
	id AA03870; Tue, 27 Feb 96 17:50:22 PST
Received: (from daemon@localhost) by shiloh.vnet.net (8.6.12/8.6.12) id SAA14873 for postgres95-outgoing; Tue, 27 Feb 1996 18:54:23 -0500
Received: (from jason@localhost) by shiloh.vnet.net (8.6.12/8.6.12) id SAA14867; Tue, 27 Feb 1996 18:54:10 -0500
From: Jason Wright <jason@postgres95.vnet.net>
Message-Id: <199602272354.SAA14867@shiloh.vnet.net>
Subject: Re: [PG95]: Trouble with createuser (1.01)
To: gsi@pvv.ntnu.no
Date: Tue, 27 Feb 1996 18:54:07 -0500 (EST)
Cc: postgres95@shiloh.vnet.net
In-Reply-To: <199602272141.VAA11795@storm.stud.unit.no> from "Geir N. Soerensen" at Feb 27, 96 10:41:12 pm
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Length: 1132      
Sender: owner-postgres95@postgres95.vnet.net
Precedence: bulk
Status: R

> 
> When I try to do this:
> 	 createuser somename
> 
> I get the following message:
> 
> 	|: Unknown operator
> 
There was a small problem in the initial release of pg95-1.01.  The current
archive on s2k-ftp.cs.berkeley.edu already has the patch applied (You
probably got a copy before the patch was made.)

Here's the patch for those who encounter the same problem.

--Jason

*** src/bin/monitor/monitor.c.orig	Mon Feb 26 16:22:38 1996
--- src/bin/monitor/monitor.c	Mon Feb 26 16:10:34 1996
***************
*** 657,663 ****
  	break;
      case PGRES_TUPLES_OK:
  /*	PQprintTuples(result,stdout,PrintAttNames,TerseOutput,COLWIDTH); */
! 	PQdisplayTuples(result,stdout,1,"|",PrintAttNames,TerseOutput);
  	break;
      case PGRES_COPY_OUT:
  	handle_copy_out(result);
--- 657,666 ----
  	break;
      case PGRES_TUPLES_OK:
  /*	PQprintTuples(result,stdout,PrintAttNames,TerseOutput,COLWIDTH); */
! 	if (TerseOutput)
! 	    PQdisplayTuples(result,stdout,1,"",PrintAttNames,TerseOutput);
! 	else
! 	    PQdisplayTuples(result,stdout,1,"|",PrintAttNames,TerseOutput);
  	break;
      case PGRES_COPY_OUT:
  	handle_copy_out(result);

