|
|||||||||||
|
Re: [GENERAL] quick question abt pg_dump and restore
From: A. Kretschmer <andreas.kretschmer(at)schollglas.com>
Date: Wed Jan 09 2008 - 09:35:54 EST
Right, but within the table the rows hasn't an order. You can see this when you select the ctid-column:
test=# create table order_test (i int);
(0,1) | 1 (0,2) | 2 (0,3) | 3 (3 rows)
test=*# update order_test set i=20 where i=2;
UPDATE 1
(0,1) | 1 (0,3) | 3 (0,5) | 2 (3 rows) Now a pg_dump: ALTER TABLE public.order_test OWNER TO webmaster; -- -- Data for Name: order_test; Type: TABLE DATA; Schema: public; Owner: webmaster -- COPY order_test (i) FROM stdin; 1 3 2 \. Now the question: what is the correct order? Andreas -- Andreas Kretschmer Kontakt: Heynitz: 035242/47150, D1: 0160/7141639 (mehr: -> Header) GnuPG-ID: 0x3FFF606C, privat 0x7F4584DA http://wwwkeys.de.pgp.net ---------------------------(end of broadcast)--------------------------- TIP 1: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to majordomo@postgresql.org so that your message can get through to the mailing list cleanlyReceived on Wed Jan 9 09:41:20 2008 This archive was generated by hypermail 2.1.8 : Mon Jun 16 2008 - 23:40:36 EDT |
||||||||||
|
|||||||||||