Giter Site home page Giter Site logo

fosslc / ingres Goto Github PK

View Code? Open in Web Editor NEW
61.0 61.0 34.0 78.12 MB

Ingres is a feature rich and robust database (RDBMS)

Home Page: http://ingres.com

Shell 1.87% C 77.47% C++ 10.93% Objective-C 0.40% SuperCollider 4.07% Awk 0.04% Assembly 0.09% Logos 0.01% C# 1.82% Java 2.82% CSS 0.14% JavaScript 0.11% PHP 0.09% Ruby 0.06% Smalltalk 0.03% Coq 0.01% COBOL 0.01% Visual Basic 0.01% Fortran 0.01% Pascal 0.02%

ingres's People

Contributors

fosslc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

ingres's Issues

Geospatial causes diffs in SEP

The following files have diffs:

  • star/phase1/ddl/sta02.log
  • star/phase1/ddl/sta03.log
  • star/phase1/ddl/sta01.log
  • be/datatypes/dt07.log
  • be/datatypes/dtu63.log
  • be/datatypes/dtu29.log
  • be/miscfunc/msfn029.log
  • be/lar/lar66.log
  • be/lar/lar19.log
  • be/access/am85.log
  • be/util/utl06.log
  • be/util/utl02.log
  • be/util/utl07.log
  • be/util/utl08.log
  • be/util/utl04.log
  • be/util/utl05.log
  • be/util/utl03.log
  • fe/local/copy/cpy29.log
  • fe/local/vision/vis35.log
  • fe/local/vision/vis34.log

Disable SRID handling for copydb when geospatial is off

From Joe's email:

Hi,

I ran copydb from a 10.1.0 build 109 from int.lnx to usilsuds (2.6/0803)
and the copy.in file has "SRID 0" for each column, which I presume is
some Geospatial incantation:

create table abbjo03_bf(
s_bug_no integer SRID 0 not null default 0,
starprob varchar(10) SRID 0 not null default ' ',
bug_no integer SRID 0 not null default 0,
severity varchar(4) SRID 0 not null default ' ',
part varchar(20) SRID 0 not null default ' ',
category varchar(20) SRID 0 not null default ' ',
bug_sir varchar(1) SRID 0 not null default ' ',
descrip varchar(480) SRID 0 not null default ' '
)

I turned off GEO in my build so the DBMS doesn't like the extra specs,
but it seems to me they shouldn't be there in the first place.

Joe

Default to -nosrid if conf_WITH_GEO is not defined

This is a minor enhancement to the build, but worthwhile adding to our list of to-do's if we have time. The enhancement would be to flip -nosrid to default to on if the builder didn't build with geospatial enabled.

Since Geospatial support is part of core, this is an corner case for a minority of people so it's not urgent.

Passing along GEOS error messages

Currently when there is an error in GEOS the message is just written to the DBMS log, and there is no way to pass this to the user. The reason for this being that you have to register a geos_Error function when initializing GEOS. This error function can't take an ADF_CB as a parameter, hence we can't pass this error message along to the user. Ideally we would like to be able to do this.

iilink does not use -rpath properly

The problem is that fastload executes the dmfjsp executable which is a setuid program owned by the ingres userid. The tests are run using the testenv userid. In newer Linux releases the LD_LIBRARY_PATH is dropped when executing setuid programs as a different userid. Therefore libgeos-3.3.0.so can't be found.

The solution is to specify the library using a relative path specification and using the -rpath link option.

The iimerge executable is created using the iilink script. The iilink script is designed to create either an executable where all libraries are static, or all libraries are shared libraries. In the last release the iimerge was changed to use all static libraries to create the iimerge. The geospatial change was added to an iimerge which was not linked with the necessary -rpath flags because it was expecting all static libraries.

add spatial_ref_sys to main_catalog_list

From Karl Schendel:
spatial_ref_sys needs to be added to the "main_catalog_list"
array in upgradedb.qsc.

This governs handling for the table during an upgrade - for instance if the table definition is different or it doesn't exist yet.

Raster support

This ticket is to track adding raster support to Ingres. More details will follow as we develop the feature.

Sep tests geo11, geo13 and geo14 have diffs

Most of these diffs are due to floating point rounding errors on different platforms due to the large precision used in astextround. Investigate PointOnSurface that produces a complete different result in geo13.log

Geos and proj in non /usr/local location results in link failure.

From Kristoff Picard via Techinfo mailing list.

I did not install the Geos and Proj.4 libraries in /usr/local, but in some private directories and set the needed varaiables to point to the libraries and headers.(as described in the wiki)
This worked fine to get everything compiled, but when iilink is executed it doesn't find these libraries.
The LDLIB... lines in iisysdep contain "-lgeos -lgeos_c -lproj" , but we would need an extra -L definitions as these libraries are not installed in one of the standard locations.
I ran the link command manually to get it running.

Equivalence class errors in some spatial functions.

There seems to be a problem in the Intersects and Overlaps functions. select count(*) from areawater_merge a, edges_merge e where Intersects(e.shape,a.shape)=1 and e.ogr_fid=3871598\g Executing . . . E_OP0487 consistency check

no joining equivalence class found when expected

However, Intersects return value is 0: select count(*) from areawater_merge a, edges_merge e where Intersects(e.shape,a.shape)=0 and e.ogr_fid=3871598\g The same goes for the Overlaps function. On the other hand, function Contains works with both 1 and 0.

select lu.property_i from land_use_2006 as lu, s_fld_haz_ar fz where lu.general_la in (100,113,150,160,200) and (fld_zone='A' or fld_zone='AE' or fld_zone='AO' or fld_zone='V') and overlaps(lu.shape, fz.shape)=1 \g Executing . . . E_OP0889 Eqc is not available at a CO node.

However, when changing Overlaps(x,y) = 0: select lu.property_i from land_use_2006 as lu, s_fld_haz_ar fz where lu.general_la in (100,113,150,160,200) and (fld_zone='A' or fld_zone='AE' or fld_zone='AO' or fld_zone='V') and overlaps(lu.shape, fz.shape)=0 \g

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.