pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Senthil <senthil.kandaswamy@mobax.com>
To: Jie Liang <jie@stbernard.com>
To: pgsql-admin@postgresql.org
Subject: Some more doubts in postgresql -- Urgent
Date: Thu, 2 Jan 2003 11:15:54 +0530
Message-ID: <007b01c2b222$3f6aef00$67cac9c8@mobax.com> (raw)

Hai everybody,
        Thanks for Ur immediate reply, Jie Liang.
        I had gone through the document plpgsql-porting.html, U mentioned already.
        It was quite useful. 
        1) But, in that there is nothing about the Calling of plpgsql function(equivalent of Oracle stored procedure with many OUT        parameters) from java code and returning of the plpgsql values corresponding to the Oracle OUT parameter, to the Java code, as this is my current issue to be solved urgently.
        I want some answers related to this.
        
2) Moreover, somebody had said that OID in postgresql is the equivalent of Oracle's ROWNUM. 
             I cannot agree this, because Oracle's ROWNUM is table-specific, whereas postgresql OID is database specific.
             Because of this difference, I'm unable to delete from tables based on ROWNUM, which I was asked to do.
             Can anybody help me out to solve this issue, as quickly as possible?
        
3) What is the syntax for plpgsql GOTO label.  When I use like this, I get some parse errors:
                  start:
                    .....
                    .....    
                    ....
                  GOTO start;
     How to solve this issue?  Can anybody point out, where I am going wrong?
4) My Oracle stored procedure which is to be converted to plpgsql function contains
          EXIT WHEN SQL%ROWCOUNT = 0; TO COME OUT OF A LOOP.
   How should it be converted in postgresql?
   
Since I'm in need of the answers very urgently, please send the answers as quickly as possible.

I'll be happy if I can get the answers by today or tomorrow.

Thanks everybody in advance.
Senthil  

view thread (2+ messages)  latest in thread

Message-ID: <007b01c2b222$3f6aef00$67cac9c8@mobax.com>
Permalink:  ../007b01c2b222$3f6aef00$67cac9c8@mobax.com/
Also on:    postgresql.org/message-id/007b01c2b222$3f6aef00$67cac9c8@mobax.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: senthil.kandaswamy@mobax.com, jie@stbernard.com
  Subject: Re: Some more doubts in postgresql -- Urgent
  In-Reply-To: <007b01c2b222$3f6aef00$67cac9c8@mobax.com>
  References: <007b01c2b222$3f6aef00$67cac9c8@mobax.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox