~ubuntu-branches/ubuntu/hardy/postgresql-8.4/hardy-backports

« back to all changes in this revision

Viewing changes to src/backend/commands/variable.c

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2011-01-03 08:57:10 UTC
  • mfrom: (5.3.10 sid)
  • Revision ID: james.westby@ubuntu.com-20110103085710-v9u121v7u7oq8qca
Tags: 8.4.6-1~hardy1
Automated backport upload; no source changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
773
773
        Oid                     savedoid;
774
774
        char       *endptr;
775
775
 
 
776
        /* If session_authorization hasn't been set in this process, return "" */
 
777
        if (value == NULL || value[0] == '\0')
 
778
                return "";
 
779
 
776
780
        Assert(strspn(value, "x") == NAMEDATALEN &&
777
781
                   (value[NAMEDATALEN] == 'T' || value[NAMEDATALEN] == 'F'));
778
782