RE: [GENERAL] using Oids to retrieve a row

Поиск
Список
Период
Сортировка
От Michael Davis
Тема RE: [GENERAL] using Oids to retrieve a row
Дата
Msg-id 93C04F1F5173D211A27900105AA8FCFC1452D9@lambic.prevuenet.com
обсуждение исходный текст
Список pgsql-general
I use the following technique:
add sequence to the primary key of the table
look up the sequence the primary key
insert a record using (including) the primary key
re-query the newly inserted record using the primary key

Thanks, Michael

    -----Original Message-----
    From:    David O'Farrell [SMTP:dave.ofarrell@aersoft.ie]
    Sent:    Friday, March 26, 1999 5:39 AM
    To:    pgsql-general@postgreSQL.org
    Subject:    [GENERAL] using Oids to retrieve a row


    anyone know if it is possible to INSERT a row , "save" the oid for
this
    row and subsequently select it based only on the oid ?

    --

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~
      David O'Farrell                              AerSoft Limited

      mailto:dave.ofarrell@aersoft.ie              2 Northumberland
Avenue,
                                                   Dun Laoghaire,Co.
Dublin
        Direct Phone 353-1-2145950
                   Phone: 01-2301166   Fax: 01-2301167

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~

В списке pgsql-general по дате отправления:

Предыдущее
От: "David O'Farrell"
Дата:
Сообщение: using Oids to retrieve a row
Следующее
От: "Ross J. Reedstrom"
Дата:
Сообщение: Re: [GENERAL] Are postgreSQL views UPDATEable?