~ubuntu-branches/ubuntu/oneiric/postgis/oneiric-proposed

« back to all changes in this revision

Viewing changes to postgis/geography_inout.c

  • Committer: Bazaar Package Importer
  • Author(s): Alan Boudreault
  • Date: 2010-09-29 09:16:10 UTC
  • mfrom: (1.1.12 upstream)
  • Revision ID: james.westby@ubuntu.com-20100929091610-vj4efw8woq34hdn7
Tags: 1.5.2-1
* New upstream release, with a few bug fixes.
* Added shp2pgsql-gui binary.
* Removed patches, applied upstream: getopt.    

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/**********************************************************************
2
 
 * $Id: geography_inout.c 5313 2010-02-23 14:50:05Z colivier $
 
2
 * $Id: geography_inout.c 5719 2010-07-02 01:43:48Z pramsey $
3
3
 *
4
4
 * PostGIS - Spatial Types for PostgreSQL
5
5
 * Copyright 2009 Paul Ramsey <pramsey@cleverelephant.ca>
731
731
 
732
732
                if (!srs)
733
733
                {
734
 
                        elog(ERROR, "SRID SRID_DEFAULT unknown in spatial_ref_sys table");
 
734
                        elog(ERROR, "SRID %d unknown in spatial_ref_sys table", SRID_DEFAULT);
735
735
                        PG_RETURN_NULL();
736
736
                }
737
737
        }
931
931
        {
932
932
                ereport(ERROR, (
933
933
                            errcode(ERRCODE_INVALID_PARAMETER_VALUE),
934
 
                            errmsg("Only SRID SRID_DEFAULT is currently supported in geography." )));
 
934
                            errmsg("Only SRID %d is currently supported in geography.", SRID_DEFAULT )));
935
935
        }
936
936
 
937
937
        /*