agora inbox for postgres@postgres.berkeley.edu  
help / color / mirror / Atom feed
From: Andrew K. Yu <andrew@postgres.Berkeley.EDU>
To: joerg.plewe@mpi-dortmund.mpg.de
Cc: postgres@postgres.Berkeley.EDU
Subject: Re:  operators
Date: Thu, 30 Jun 1994 16:07:56 -0700
Message-ID: <199406302307.QAA20235@eden.CS.Berkeley.EDU> (raw)

> retrieve (x="Hello" $+ " world," $+ " what's on?")
> WARN:Jun 30 11:19:39:parser: syntax error at or near "$+"
	
associativity for defined operators don't work.
	
> How do I have to define the operator '$+' to work like '+' does?

you cannot. The parser treats them differently.

> I admit that I do not understand the meanings of all the options of 
> 'define operator'.

don't worry. The manual lies about associativity anyway.

-andrew

==============================================================================
   To add/remove yourself to/from the POSTGRES mailing list: send mail with 
   the subject line ADD or DEL to "postgres-request@postgres.Berkeley.EDU"

   If this fails, send mail to "post_questions@postgres.Berkeley.EDU" and
   a human will deal with it.  DO NOT post to the "postgres" mailing list.
==============================================================================



reply

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 using the --to and --cc options:
  reply via email

  To: postgres@postgres.berkeley.edu
  Cc: andrew@postgres.Berkeley.EDU, joerg.plewe@mpi-dortmund.mpg.de
  Subject: Re:  operators
  In-Reply-To: <199406302307.QAA20235@eden.CS.Berkeley.EDU>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox