[HACKERS] LEFT JOIN LATERAL can remove rows from LHS

2013-06-18 Thread Jeremy Evans
Maybe I am misunderstanding how LATERAL is supposed to work, but my expectation is that doing a LEFT JOIN should not remove rows from the LHS. I would expect all of the following select queries would return a single row, but that isn't the case: CREATE TABLE i (n integer); CREATE TABLE j (n integ

Re: [HACKERS] Always include encoding of database in pg_dumpall

2012-10-19 Thread Jeremy Evans
On 10/19 06:55, Tom Lane wrote: > Jeremy Evans writes: > > I've have a PostgreSQL database cluster that I've continually upgraded > > from 7.1 to 9.1 without problems using pg_dumpall and psql. When > > migrating to 9.2, I decided to change the default encoding fo

[HACKERS] Always include encoding of database in pg_dumpall

2012-10-19 Thread Jeremy Evans
I've have a PostgreSQL database cluster that I've continually upgraded from 7.1 to 9.1 without problems using pg_dumpall and psql. When migrating to 9.2, I decided to change the default encoding for the database cluster from SQL_ASCII to UTF8. When I went to restore my database backup (created us