Re: postgresql system column errors
От
Martijn van Oosterhout
Тема
Re: postgresql system column errors
Дата
Msg-id
20040220224838.GA28711@svana.org
Ответ на
Re: postgresql system column errors (Ashish Mahabal)
Список
Дерево обсуждения
postgresql system column errors Ashish Mahabal <aam@astro.caltech.edu>
Re: postgresql system column errors Mark Gibson <gibsonm@cromwell.co.uk>
PGSQL C API() Karam Chand <karam_chand03@yahoo.com>
Re: PGSQL C API() Tom Lane <tgl@sss.pgh.pa.us>
Re: postgresql system column errors Ashish Mahabal <aam@astro.caltech.edu>
Re: postgresql system column errors Martijn van Oosterhout <kleptog@svana.org>
On Tue, Feb 17, 2004 at 11:15:13AM -0800, Ashish Mahabal wrote: > > Thanx Mark. > > Thats what I ended up doing. But it seems silly that the name space for > system columns and user columns are not separate. Its just like saying > that you can not have the same column name in 2 different tables. > > Just like I can say table1.myCol and table2.myCol, there should have been > a way to say system.xmin and myTable.xmin, the default being myTable.xmin > when I am doing stuff with myTable. Whereever xmin gets used currently, > the source could explicitely say system.xmin. Anyway. hope that is done in > some future version. I think you're missing something. Every table has the xmin, xmax, cmin, cmax and sometimes oid columns. They're not only in the system tables. These columns are what makes transactions work and they exist for every record. I hope you're not suggesting a move to myTable.system.xmin ? Pick a table and do: select xmin,xmax,cmin,cmax from
В списке pgsql-general по дате отправления