~ubuntu-branches/ubuntu/oneiric/postgresql-9.1/oneiric-security

« back to all changes in this revision

Viewing changes to src/test/regress/expected/create_operator.out

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2011-05-11 10:41:53 UTC
  • Revision ID: james.westby@ubuntu.com-20110511104153-psbh2o58553fv1m0
Tags: upstream-9.1~beta1
ImportĀ upstreamĀ versionĀ 9.1~beta1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
--
 
2
-- CREATE_OPERATOR
 
3
--
 
4
CREATE OPERATOR ## (
 
5
   leftarg = path,
 
6
   rightarg = path,
 
7
   procedure = path_inter,
 
8
   commutator = ##
 
9
);
 
10
CREATE OPERATOR <% (
 
11
   leftarg = point,
 
12
   rightarg = widget,
 
13
   procedure = pt_in_widget,
 
14
   commutator = >% ,
 
15
   negator = >=%
 
16
);
 
17
CREATE OPERATOR @#@ (
 
18
   rightarg = int8,             -- left unary
 
19
   procedure = numeric_fac
 
20
);
 
21
CREATE OPERATOR #@# (
 
22
   leftarg = int8,              -- right unary
 
23
   procedure = numeric_fac
 
24
);
 
25
CREATE OPERATOR #%# (
 
26
   leftarg = int8,              -- right unary
 
27
   procedure = numeric_fac
 
28
);
 
29
-- Test comments
 
30
COMMENT ON OPERATOR ###### (int4, NONE) IS 'bad right unary';
 
31
ERROR:  operator does not exist: integer ######