If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > PostgreSQL > Looking for a similar concept of Oracle's ROWID in postgresql

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-28-03, 10:48
le_mogwai le_mogwai is offline
Registered User
 
Join Date: Oct 2003
Posts: 33
Looking for a similar concept of Oracle's ROWID in postgresql

Is there a way to access the rowid in postgres, like in oracle? In don't find anything in the doc.
Reply With Quote
  #2 (permalink)  
Old 11-28-03, 12:11
moku moku is offline
Registered User
 
Join Date: Sep 2003
Location: Wisconsin, USA
Posts: 34
Sounds like you're looking for OIDs (object IDs).

Everything in PG has them: rows, tables, etc.

You really should check the docs to learn more about them though.
Reply With Quote
  #3 (permalink)  
Old 12-02-03, 17:01
bhallar bhallar is offline
Registered User
 
Join Date: Oct 2003
Posts: 12
OID and ROWID both provide a unique identifier for a row and that is where the similary end between these two. ROWID encode the location of row (file, block , row) where as OID is just 32 bit number.
Reply With Quote
  #4 (permalink)  
Old 12-03-03, 03:07
le_mogwai le_mogwai is offline
Registered User
 
Join Date: Oct 2003
Posts: 33
ok, thanks for all.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On