pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kamalraj Singh Madhan <kamalr@networkprograms.com>
To: pgsql-performance@postgresql.org
Subject: Substitute for this oracle query in postGre
Date: Sun, 4 Apr 2004 13:47:24 +0530
Message-ID: <02ad01c41a1d$4255a7a0$4ecb09c0@KAMALR> (raw)
References: <200404040323.i343Nw3Z002747@gw.tssi.com>

Hi Friends,
        Does anybody know the substitute of the oracle function 'connect by
prior' in postgre sql.
  The query is basically being used to get a tree structure of records. The
query in oracle is :-

select pkmsgid
from mstmessage
connect by prior pkmsgid = msgparentid
start with msgparentid = 1

Kindly suggest.

regards
Kamal



*********************************************************************
Network Programs is a SEI CMM Level 5 Certified Company
********************************************************************
The information contained in this communication (including any attachments) is
intended solely for the use of the individual or entity to whom it is addressed
and others authorized to receive it. It may contain confidential or legally
privileged information. If you are not the intended recipient you are hereby
notified that any disclosure, copying, distribution or taking any action in
reliance on the contents of this information is strictly prohibited and may be
unlawful. If you have received this communication in error, please notify us
immediately by responding to this email and then delete it from your system.
Network Programs (India) Limited is neither liable for the proper and complete
transmission of the information contained in this communication nor for any
delay in its receipt.
*********************************************************************




view thread (2+ messages)  latest in thread

Message-ID: <02ad01c41a1d$4255a7a0$4ecb09c0@KAMALR>
Permalink:  ../02ad01c41a1d$4255a7a0$4ecb09c0@KAMALR/
Also on:    postgresql.org/message-id/02ad01c41a1d$4255a7a0$4ecb09c0@KAMALR

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: kamalr@networkprograms.com
  Subject: Re: Substitute for this oracle query in postGre
  In-Reply-To: <02ad01c41a1d$4255a7a0$4ecb09c0@KAMALR>

* 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