| От | Raymond O'Donnell |
|---|---|
| Тема | Re: What does "INSERT 0 1" mean? |
| Дата | |
| Msg-id | 4AD5F063.8050708@iol.ie обсуждение исходный текст |
| Ответ на | What does "INSERT 0 1" mean? ("[.::MDT::.]" <mdt86@yahoo.it>) |
| Список | pgsql-general |
On 14/10/2009 16:05, [.::MDT::.] wrote: > Hi, > I can't find what does > INSERT 0 1 > mean. > > "1" stands for the number of the records added to the table, as far as I > understood, but what about the "0"? It stands for the OID of the row that was inserted, if the table was created to use them (CREATE TABLE .... WITH (OIDS=TRUE)); newer versions of PostgreSQL by default have tables created without OIDs on the rows, so you just get a 0 returned instead. Ray. ------------------------------------------------------------------ Raymond O'Donnell, Director of Music, Galway Cathedral, Ireland rod@iol.ie Galway Cathedral Recitals: http://www.galwaycathedral.org/recitals ------------------------------------------------------------------
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера