~aglenyoung/+junk/postgres-9.3-dtrace

« back to all changes in this revision

Viewing changes to src/test/regress/sql/privileges.sql

  • Committer: Package Import Robot
  • Author(s): Martin Pitt, Christoph Berg, Martin Pitt
  • Date: 2013-06-26 15:13:32 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20130626151332-p34yjpn0txbdsdzd
Tags: 9.3~beta2-1
[ Christoph Berg ]
* hurd-i386: Ignore testsuite failures so we have a working libpq5 (they
  don't implement semaphores so the server won't even start).
* Mark postgresql-9.3 as beta in the description, suggested by Joshua D.
  Drake.

[ Martin Pitt ]
* New upstream release 9.3 beta2.

Show diffs side-by-side

added added

removed removed

Lines of Context:
162
162
SELECT * FROM atestv3; -- ok
163
163
SELECT * FROM atestv0; -- fail
164
164
 
 
165
-- Appendrels excluded by constraints failed to check permissions in 8.4-9.2.
 
166
select * from
 
167
  ((select a.q1 as x from int8_tbl a offset 0)
 
168
   union all
 
169
   (select b.q2 as x from int8_tbl b offset 0)) ss
 
170
where false;
 
171
 
 
172
set constraint_exclusion = on;
 
173
select * from
 
174
  ((select a.q1 as x, random() from int8_tbl a where q1 > 0)
 
175
   union all
 
176
   (select b.q2 as x, random() from int8_tbl b where q2 > 0)) ss
 
177
where x < 0;
 
178
reset constraint_exclusion;
 
179
 
165
180
CREATE VIEW atestv4 AS SELECT * FROM atestv3; -- nested view
166
181
SELECT * FROM atestv4; -- ok
167
182
GRANT SELECT ON atestv4 TO regressuser2;