openroad & ingres uk code sprint 2011 june 7 th, 2011

28
OpenROAD & Ingres UK Code Sprint 2011 June 7 th , 2011

Upload: randell-todd

Post on 04-Jan-2016

215 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: OpenROAD & Ingres UK Code Sprint 2011 June 7 th, 2011

OpenROAD & Ingres UK Code Sprint 2011

June 7th, 2011

Page 2: OpenROAD & Ingres UK Code Sprint 2011 June 7 th, 2011

Confidential — © 2011 Ingres Corporation

Participants

Alex Hanshaw Chris Dawe Dean Vernon Doug Inkster Emma McGrattan Geraint Jones Henrik Sørensen Ian Kirkham James Lowden Karl Schendel Keith Bolam Roy Hann

Bodo Bergman Brigitte Duplenne Kim Ginnerup Joe Kronk Matt Rendell Roy Deal Simon Oliver Oyston

Oliver Oyston Roger Whitcomb Mark Whalley

Slide 2

Ingres DBMS OpenROAD

Management Tools

Page 3: OpenROAD & Ingres UK Code Sprint 2011 June 7 th, 2011

Service Desk Enhancement Request 150914

Check for empty database name before connecting to new database in Query tab

Complete

Slide 3

Page 4: OpenROAD & Ingres UK Code Sprint 2011 June 7 th, 2011

Service Desk Enhancement Request 118655

Change BgColor of ‘Database’ and ‘Table or View’ entry fields in the dialog titled ‘Select a Database Table’ to indicate that you can type into these fields.

Complete

Slide 4

Page 5: OpenROAD & Ingres UK Code Sprint 2011 June 7 th, 2011

Service Desk Enhancement Request 118656

Implement sorting by clicking on a ‘Table Selection:’ frame’s header column to order the rows in the display table. Please implement two levels of ordering.

Complete

Slide 5

Page 6: OpenROAD & Ingres UK Code Sprint 2011 June 7 th, 2011

Service Desk Enhancement Request 150994

When suggesting a string value for assignment to a variable in the debugger please enclose in single quotes

Complete

Slide 6

Page 7: OpenROAD & Ingres UK Code Sprint 2011 June 7 th, 2011

Service Desk Enhancement Request 123158

It would be nice to have an option like 'always on top' for the property inspector.

Complete

Slide 7

Page 8: OpenROAD & Ingres UK Code Sprint 2011 June 7 th, 2011

Service Desk Enhancement Request 116927

It should be possible to create a new application or component when right clicking in the applications or components pane. Currently the option 'new' is not available on the menus opened by right mouse click.

Complete

Slide 8

Page 9: OpenROAD & Ingres UK Code Sprint 2011 June 7 th, 2011

Service Desk Enhancement Request 116927

It should be possible to create a new application or component when right clicking in the applications or components pane. Currently the option 'new' is not available on the menus opened by right mouse click.

Complete

Slide 9

Page 10: OpenROAD & Ingres UK Code Sprint 2011 June 7 th, 2011

Service Desk Enhancement Request 116927

It should be possible to create a new application or component when right clicking in the applications or components pane. Currently the option 'new' is not available on the menus opened by right mouse click.

Complete

Slide 10

Page 11: OpenROAD & Ingres UK Code Sprint 2011 June 7 th, 2011

Confidential — © 2011 Ingres Corporation

Service Desk Enhancement Request 116925

When you click on the components pane and then click on the 'new' button, a popup for creating a new application gets opened.

Slide 11

Page 12: OpenROAD & Ingres UK Code Sprint 2011 June 7 th, 2011

Confidential — © 2011 Ingres Corporation

Service Desk Enhancement Request 116925

The customer expects to create a new component. Either the 'new' button should be dimmed, when the components pane is activated or when clicking the 'new' button you should get a list of possible components to create

Complete

Slide 12

Page 13: OpenROAD & Ingres UK Code Sprint 2011 June 7 th, 2011

Confidential — © 2011 Ingres Corporation

Unexpected Enhancement…

Slide 13

Page 14: OpenROAD & Ingres UK Code Sprint 2011 June 7 th, 2011

Confidential — © 2011 Ingres Corporation

Unexpected enhancement…

Slide 14

Page 15: OpenROAD & Ingres UK Code Sprint 2011 June 7 th, 2011

Confidential — © 2011 Ingres Corporation

Service Desk Enhancement Request 131097

When one class inherits from another it displays the defined attributes and methods in the class window with the application name ! in front of it. Can this display be suppressed.

Completed

Slide 15

Page 16: OpenROAD & Ingres UK Code Sprint 2011 June 7 th, 2011

Confidential — © 2011 Ingres Corporation

Smaller projects that require 3gl changes

Can you provide the developer with a list of running FrameExecs?

Can you provide a way to break out tight loops? Can you fix the runtime so that two level’s of property

options menu work properly on portlets? Can you provide a way to break out of tight in the 4gl by

allowing me to break the flow of 4GL instructions and stopping at that point in the debugger?

Slide 16

Page 17: OpenROAD & Ingres UK Code Sprint 2011 June 7 th, 2011

Confidential — © 2011 Ingres Corporation

Big projects that were worked on

Can you provide me with an intelli-sense editor? Can you upgrade my ABF application to OpenROAD and

allow some of the frames to be rendered in HTML using HTML5 communicating directly with my business logic in the OpenROAD Server?

Slide 17

Page 18: OpenROAD & Ingres UK Code Sprint 2011 June 7 th, 2011

Confidential — © 2011 Ingres Corporation

New Projects that were dreamed about

Allow the developer to view a single script that can be view as a processed script, a field script, or as a mixture of scripts with out the need to pick on style over another.

True multi dimensional arrays ( Filling contiguous block of memory

Slide 18

Page 19: OpenROAD & Ingres UK Code Sprint 2011 June 7 th, 2011

Confidential — © 2011 Ingres Corporation

Ingres DBMS Team Projects

Row value constructors

Multi-row inserts

Example

Slide 19

INSERT INTO Orders (OrderNo, ItemNo, Qty, UnitPrice) VALUES (1200, 23478, 10, 30.00),

(1200, 15453, 4, 23.00), (1200, 14545, 1, 89.00)

Page 20: OpenROAD & Ingres UK Code Sprint 2011 June 7 th, 2011

Confidential — © 2011 Ingres Corporation

Ingres DBMS Team Projects

Session start time and last recorded query start time in IIMONITOR

IMA object for query execution start time

II_GCD_LOG support for %p – the process id

alterdb –readonly | -readwrite

relocateckp - restore checkpoint to another database, potentially in another Ingres installation

Slide 20

Page 21: OpenROAD & Ingres UK Code Sprint 2011 June 7 th, 2011

Confidential — © 2011 Ingres Corporation

Ingres DBMS Team Projects

Ability to turn on SC924 via config.dat and to switch on a stackdump when it is triggered

Audit log maintenance script to prevent disk full problems

Infodb –database – display a list of databases

Fixed bug in QSF memory allocation for INGRES/STAR

Project D branch brought up to date

Slide 21

Page 22: OpenROAD & Ingres UK Code Sprint 2011 June 7 th, 2011

Confidential — © 2011 Ingres Corporation

Terminal Monitor Formatting Enhancements

Flag Description

\vert Display columns vertically

\redir <file> Redirect query output to specified file.

\colformat colname displayformat If column "colname" is selected, display it in the specified format.

\showcf Displays the user defined column formats.

Slide 22

Page 23: OpenROAD & Ingres UK Code Sprint 2011 June 7 th, 2011

Confidential — © 2011 Ingres Corporation

DECODE() function

Syntax:

decode( expression , search , result [, search , result]... [, default] )

expression is the value to compare.

search is the value that is compared against expression.

result is the value returned, if expression is equal to search.

default is optional. If no matches are found, the decode will return default. If default is omitted, then the decode statement will return null (if no matches are found).

Slide 23

Page 24: OpenROAD & Ingres UK Code Sprint 2011 June 7 th, 2011

Confidential — © 2011 Ingres Corporation

DECODE() Example

SELECT supplier_name, decode(supplier_id,10000, 'IBM', 10001, 'Microsoft', 10002, 'Hewlett Packard',

'Gateway') result FROM suppliers;

Slide 24

Page 25: OpenROAD & Ingres UK Code Sprint 2011 June 7 th, 2011

Confidential — © 2011 Ingres Corporation

REPEAT() function

Syntax:

repeat (expr,n)expr An expression that specifies the string to be

repeated.

n specifies the number of times to repeat the string.

Example:

REPEAT('REPEAT THIS', 5)'REPEAT THISREPEAT THISREPEAT THISREPEAT THISREPEAT THIS’

Synonym: replicate (expr,n)

Slide 25

Page 26: OpenROAD & Ingres UK Code Sprint 2011 June 7 th, 2011

Confidential — © 2011 Ingres Corporation

RAND() and SRAND()

rand([seed])– seed is an integer that gives the seed value. If seed is

not specified, it assigns a seed value at random. For a specified seed value, the result returned is always the same.

– Returns random float value between 0 and 1 srand(int)

– Sets the starting point for generating a series of pseudorandom values

Slide 26

Page 27: OpenROAD & Ingres UK Code Sprint 2011 June 7 th, 2011

Confidential — © 2011 Ingres Corporation

Management Tools

Port to RHEL 64-bit and OS/X completed

Nagios Agent updated to include 60 new Nagios Service Checks for VectorWise

Slide 27

Page 28: OpenROAD & Ingres UK Code Sprint 2011 June 7 th, 2011

Confidential — © 2011 Ingres Corporation

Thank You!

Slide 28