[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

PostgreSQL kann mehr als mann denkt Re: postgreSQL



Ruediger Noack <ernohl@gmx.de> writes:

> Bei solchen Anforderungen musst Du wohl über etwas nachdenken, was
> heutzutage nur noch vom Namen eine DB ist - Oracle. (Soll keine
> Werbung sein!).
> Mit PL/SQL-Prozeduren, Jobsteuerung, InterMedia, BLOB's und
> Co. etc. erreichst Du vielleicht mit "DB"-Mitteln, was Du willst. Aber
> so richtig freie Software ist das natürlich nicht. ;-).

Nun ja, wer PostgreSQL wirklich kennt, wird schon ne Menge davon
finden. Hier ein paar Quotes aus der freien Doku:


BLOBs heißen bei PostgreSQL nur anders: BYTEA (siehe postgresql-doc/html/datatype-binary.html)


Quote from postgresql-doc/html/xfunc.html:

PostgreSQL provides four kinds of functions:
    * query language functions (functions written in SQL)
    * procedural language functions (functions written in, 
      for example, PL/Tcl or PL/pgSQL)
    * internal functions
    * C language functions


postgresql-doc/html/plpgsql-porting.html:
Main Differences [Vergleich von PL/SQL und PL/pgSQL]

Some things you should keep in mind when porting from Oracle to PostgreSQL:

    * No default parameters in PostgreSQL.
    * You can overload functions in PostgreSQL. This is often used 
      to work around the lack of default parameters.
    * Assignments, loops and conditionals are similar.
    * No need for cursors in PostgreSQL, just put the query in the 
      FOR statement (see example below)
    * In PostgreSQL you need to escape single quotes. See Section 23.11.1.1


Tschau
     Christian

-- 
Christian Leutloff, Aachen, Germany             christian@leutloff.de
   http://www.oche.de/~leutloff/                leutloff@debian.org

            Debian GNU/Linux - http://www.de.debian.org/
                   taz muss sein. abomail@taz.de



Reply to: