Re: how to know this row has been referenced or not????

From: Akbar <tuxer(at)myrealbox(dot)com>
To: Michael Fuhr <mike(at)fuhr(dot)org>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: how to know this row has been referenced or not????
Date: 2005-02-11 15:51:26
Message-ID: 1108137086.11337.3.camel@tux.akbarhome
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

On Wed, 2005-02-09 at 22:22 -0700, Michael Fuhr wrote:
> On Thu, Feb 10, 2005 at 07:00:14PM +0700, Akbar wrote:
>
> > How do I know for sure that "this row" or "that row" has or has not
> > been referenced by other table????
>
> Why do you need to know? What are you trying to do?

Well, I made application using postgresql database.... there is a list
of employee.... if user want to delete the employee data, I have to
check whether this employee data has been referenced or not.... if no
body need this employee data ( has not been referenced ), my application
will delete it... but if somebody need this employee data ( has been
referenced / maybe transaction table need it ), I just move the employee
data to not-active list of employee.....

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message operationsengineer1 2005-02-11 19:07:52 Re: how to know this row has been referenced or not????
Previous Message Hari Bhanujan 2005-02-11 14:28:48 Re: Book