~ubuntu-branches/debian/squeeze/pgadmin3/squeeze

« back to all changes in this revision

Viewing changes to pgadmin/dlg/dlgFunction.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Gerfried Fuchs
  • Date: 2009-12-17 20:34:00 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20091217203400-tlnmt4m3v7udjp0h
Tags: 1.10.1-1
* New upstream release, containing fix for:
  - default value in function parameters not shown (closes: #547940)
  - cannot open files without dot in names for restore (closes: #451038)
* Suggest postgresql-contrib (closes: #503291)
* Set myself as Maintainer and remove Raphael. Thanks for his work so far.
* Switch Uploaders and Maintainer role to better describe reality.
* Bump to Standards-Version to 3.8.3.
* Update to debhelper level 7, use dh_prep instead of dh_clean -k.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
//////////////////////////////////////////////////////////////////////////
2
2
//
3
3
// pgAdmin III - PostgreSQL Tools
4
 
// RCS-ID:      $Id: dlgFunction.cpp 7900 2009-06-09 09:46:21Z dpage $
 
4
// RCS-ID:      $Id: dlgFunction.cpp 8063 2009-10-06 02:45:04Z dpage $
5
5
// Copyright (C) 2002 - 2009, The pgAdmin Development Team
6
6
// This software is released under the BSD Licence
7
7
//
978
978
                    break;
979
979
                }
980
980
            }
981
 
            if (oldVal != newVal)
 
981
                        
 
982
            // Reset the vars if they've changed, or the function definition has
 
983
            // changed, which will remove them all :-(
 
984
            if ((oldVal != newVal) || didChange)  
982
985
            {
983
986
                sql += wxT("ALTER FUNCTION ") + name
984
987
                    +  wxT(" SET ") + newVar