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

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2011-07-14 18:39:43 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20110714183943-eqlbsrurk6kh6lou
Tags: 9.1~beta3-1
* New upstream beta release.
  - Works around gcc 4.6.0 bug. (Closes: #633086)

  Note that this does not change the data format since Beta 2, so no need
  to dump/reload clusters.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1175
1175
 
1176
1176
create table alterlock (f1 int primary key, f2 text);
1177
1177
 
1178
1178
begin; alter table alterlock alter column f2 set statistics 150;
1179
1179
select * from my_locks order by 1;
1180
1180
rollback;
1212
1211
select * from my_locks order by 1;
1213
1212
rollback;
1214
1213
 
1215
1214
begin; alter table alterlock alter column f2 set default 'x';
1216
1215
select * from my_locks order by 1;
1217
1216
rollback;