Re: compare two rows

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ben Kim <bkim@xxxxxxxx> writes:
> What is the best way to compare two rows from within psql cli client? 

In 8.4 and up you can just compare the row values, eg
	select x.* = y.*
if x and y are known to be of the same rowtype.

			regards, tom lane

-- 
Sent via pgsql-admin mailing list (pgsql-admin@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux