Return-Path: pg_adm@postgres.berkeley.edu
Received: by postgres.Berkeley.EDU (5.61/1.29)
	id AA22464; Tue, 8 Jun 93 14:18:18 -0700
From: Shiri Nematollaah <shiri@cs.concordia.ca>
Subject: Question On POSTGRES
To: postgres@postgres.berkeley.edu
Sender: pg_adm@postgres.berkeley.edu
Date: Tue, 08 Jun 93 17:15:20 -0400
From: Shiri Nematollaah <shiri@cs.concordia.ca>
Message-Id:  <9306081715.aa24725@concour.cs.concordia.ca>


    On page 10 of the POSTGRES user manual, there is an example
    that defines a function high_pay. It is as the following.
    
    
     define function high_pay
     (language = "postquel", returntype = set of EMP)
      as "retrieve (EMP.all) where EMP.salary > 50000" \g
    
    Question: It is not shown how such function may be used
    in a query.  Please give an example for this 
    particular case. E.g., in a retrieve to EMP.
    
    
    Thanks in advance,
    
    Nemat
