~ubuntu-branches/ubuntu/utopic/postgresql-9.4/utopic-security

« back to all changes in this revision

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

  • Committer: Package Import Robot
  • Author(s): Martin Pitt, CVE-2014-8161
  • Date: 2015-02-06 12:31:46 UTC
  • mfrom: (1.1.5) (7.1.2 utopic-proposed)
  • Revision ID: package-import@ubuntu.com-20150206123146-vtmf30jbkm7w16p8
Tags: 9.4.1-0ubuntu0.14.10
* New upstream security/bug fix release (LP: #1418928)
  - Fix buffer overruns in to_char() [CVE-2015-0241]
  - Fix buffer overruns in contrib/pgcrypto [CVE-2015-0243]
  - Fix possible loss of frontend/backend protocol synchronization after an
    error [CVE-2015-0244]
  - Fix information leak via constraint-violation error messages
    [CVE-2014-8161]
  - See release notes for details about other fixes:
    http://www.postgresql.org/about/news/1569/

Show diffs side-by-side

added added

removed removed

Lines of Context:
163
163
      99
164
164
(1 row)
165
165
 
 
166
DISCARD SEQUENCES;
 
167
SELECT currval('sequence_test'::regclass);
 
168
ERROR:  currval of sequence "sequence_test" is not yet defined in this session
166
169
DROP SEQUENCE sequence_test;
167
170
-- renaming sequences
168
171
CREATE SEQUENCE foo_seq;
341
344
      99
342
345
(1 row)
343
346
 
 
347
DISCARD SEQUENCES;
 
348
SELECT lastval();
 
349
ERROR:  lastval is not yet defined in this session
344
350
CREATE SEQUENCE seq2;
345
351
SELECT nextval('seq2');
346
352
 nextval