Adriano Fernandes added new Window functions from the SQL:2008 standard

From twitter

I remember when I added the LOWER function to Firebird. I needed to grep (for nod_upper) and change dozens of files…
Now to add even a window function (which the framework is prepared to) it takes just a few localized changes http://bit.ly/uAt3ZP
Now adding LAST_VALUE and NTH_VALUE.

You can read more about the list of window functions that are already implemented or needs to be implemented on the tracker

A short description of what these functions do :

first_value(value any) return value evaluated at the row that is the first row of the window frame
last_value(value any) returns value evaluated at the row that is the last row of the window frame
nth_value(value any, nth integer) returns value evaluated at the row that is the nth row of the window frame (counting from 1); null if no such row
for ref : http://www.postgresql.org/docs/9.1/static/functions-window.html#FUNCTIONS-WINDOW-TABLE

Join LinkedIn Event: Firebird Conference 2011, Luxembourg

If you come to the Firebird Conference 2011, Luxembourg join us on LinkedIn Events (or at least notify if you are interested)

http://events.linkedin.com/Firebird-Conference-2011-Luxembourg/pub/817378

Firebird Conference 2011, Luxembourg
Fri, Nov 25 to Sat, Nov 26
Luxembourg, LUXEMBOURG, LU
Keywords: firebird, database, sqk, firebirdsql
The Firebird Project invites all Firebird users and developers to participate in the Firebird Conference 2011, which will take place in Luxembourg, November 25-26, 2011.
The Firebird Conference 2011 will be devoted to a variety of important topics: Firebird SQL language improvements, performance…

Command line manuals updated for Firebird 2.5.x

The various command line manuals – gfix, gstat, gsec, gbak and fbmgr – have been updated to Firebird 2.5 specification. In the case of fbmgr it was only a few spelling mistakes that were corrected.
I’ve uploaded the html and pdf versions to the online repository. One thing I noticed when testing, the PDFs are ok but the HTML files seem to need a refresh on every page. Has anyone else noticed this when a new HTMl documents is uploaded?
Try hitting this link and see if you get the 11 October 2011 version:
If you don’t see 11 October 2011, click refresh. Now click on the link to go to Command Line Options. Under the password option do you see a fetch_password option? If not, click refresh.

I found this morning that I had to manually refresh every page in each of the updated manuals – which I’ve never had to do before.

Cheers,

Norman Dunbar

ANN: #Ruby Sequel 3.28.0 is Released

Sequel 3.28.0 has been released and should be available on the gem mirrors.
What is changed on the firebird driver :

  • The firebird adapter has been split into shared and specific parts,
    and quite a few fixes were made to it.
  • A jdbc firebird subadapter has been added, allowing connection to
    firebird databases from JRuby.
  • The firebird adapter was substanially modified, specifically parts related to insert returning autogenerated primary key values, so if you were previously using the adapter you should probably take more care than usual when testing your upgrade.

Firebird 2.5.1 is officially released

Firebird Project is happy to announce general availability of Firebird 2.5.1 This sub-release introduces several bug fixes and many important improvements – for example, performance improvements during a database restore, the ability to write to global temporary tables in read-only databases, etc. For the full list of changes please refer to the Release Notes, Chapter 2 “New in Firebird 2.5”. Firebird 2.5.1 has 100% compatible on-disk structure with Firebird 2.5.0, so it is recommended to migrate to 2.5.1 as soon as possible.

There is a substantial number of bug fixes, this sub-release takes in a few minor improvements and optimizations that missed the initial release. In summary:

  • Significant for MacOSX 10.7 users was a bug that caused attempts to start Superserver and Superclassic to fail. The bug is described in Tracker ticket CORE-3589 and also in the Bug Fixes list for this sub-release.
  • An SQLSTATE context variable is now available in PSQL, parallel to the the context variables GDSCODE and SQLCODE that are used in WHEN blocks to test for error conditions.
  • A couple of improvements were made, that should help performance when global temporary tables (GTTs) are being used:
    • The “undoing”, on rolling back the transaction, of changes made to GTTs that were created with the ON COMMIT DELETE ROWS option was an unnecessary overhead and has been bypassed.
    • Garbage collection in global temporary tables was being delayed unnecessarily by active transactions in other attachments. That bottleneck is gone.
  • A needed optimization in the temporary space manager with regard to small chunk allocations has been implemented.
  • The Lock Manager has been provided with the capability to cancel waiting, avoiding a condition whereby a transaction in WAIT mode could wait interminably for the end of another transaction that could not be achieved by either a DELETE FROM MON$xxx or an fb_cancel_operation request.
  • The query optimizer now estimates the actual record compression ratio, enabling better guesses about the number of stored records in tables.
  • Some minor improvements to the remote interface:
    • Any unused bytes of varchar values in the message buffer are now set to zero.
    • Set the SO_KEEPALIVE option on the client TCP socket
  • The MON$STATEMENT_ID value constant is now kept constant among monitoring snapshots.
  • Ports of this sub-release were done for Linux/HPPA and Linux/alpha platforms.
1 122 123 124 125 126 296