Fix handling of EXTENSIONs in the restore dialogue.
Fix compilation on Debian

We used a wxWidgets internal macro (ATTRIBUTE_PRINTF_1), that Debian get rid
of. And wxWidgets 2.9 doesn't have this macro anymore.

Actually, it appears we don't need it. It works without the macro, so the patch just drops it.

Reports from Gerfried Fuchs, and Philippe Rimbault.
Many thanks to Dave Page, and Olly Bets, for their comments.
Fixes Debian Bug #646454.
Fix DEFAULT handling with ALTER function

DEFAULT clause was included with the ALTER function. That's an incorrect syntax that is now fixed.

From a report from Regina (Paragon Corporation).
Forgot the CHANGELOG
Fix VARIADIC handling with DEFAULT value

VARIADIC argument wasn't treated as an IN argument, which made it unavailable
for DEFAULT values.

Report from Regina (Paragon Corporation).
Avoid crashing when working with objects with % in the name.
Use pg_tablespace_location() instead of spclocation on PostgreSQL 9.2+

The field was replaced with a function giving the same result.
Fix constraints handling on the table properties dialog

The wxListCtrl control doesn't handle strings or more than 512 characters on
Windows. So we need to put the definition of constraints in a wxArrayString so
that we won't have issues on the size of the constraint's definition.

Report from Vjacheslav Vjacheslav.
Some help from Julius Tuskenis.
Support for TRUNCATE permission
Fix reading the histoquery file because of wrong file

When weird characters are embedded in the .pgadmin_histoqueries file, the
previous read function was lost, and never finished its work. The new
implementation finds the issue with the parse function, and stops immediately
to read the file.
Add renaming of FDW and Server objects
Add support for the new sslcompression connection option
Allow SSL use

Since quite some time, I always get a "PostgreSQL SSL support: Missing"
message after configure. config.log shows this:

configure:5737: gcc -o conftest -g -O2   -L/opt/postgresql-head/lib
conftest.c -lpq   >&5
/usr/bin/ld: /tmp/ccAr1HM4.o: undefined reference to symbol
'SSL_connect'
/usr/bin/ld: note: 'SSL_connect' is defined in
DSO /usr/lib64/libssl.so.10 so try adding it to the linker command line
/usr/lib64/libssl.so.10: could not read symbols: Invalid operation
collect2: ld returned 1 exit status

Adding -lssl makes it work. SSL is detected, and the compilation take SSL into
account.

Fixes https://bugs.launchpad.net/ubuntu/+source/pgadmin3/+bug/780565
Fix the "no rows" messages shown in the Dependencies and Dependents
tabs.
Add a "New Folder" button to the "Add Favourite" dialog in the query tool.
Add security_barrier option handling for views

See
http://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=0e4611c0234d89e288a53351f775c59522baed7c
for the details on the PostgreSQL implementation.
make style
Fix the constraint trigger query

pgAdmin displayed system constraint triggers since this commit
http://git.postgresql.org/gitweb/?p=pgadmin3.git;a=commitdiff;h=b41f071c9642f41896693be4e29f55409d8cd9ce

I forgot to check for the "foreign key" kind of system triggers.

Report from Julius Tuskenis, and some help from Michal Vanek too.
Update copyright notices for 2012.

Conflicts:

	docs/en_US/licence.html
	pgadmin/dlg/dlgForeignDataWrapper.cpp
	pgadmin/dlg/dlgForeignServer.cpp
	pgadmin/dlg/dlgUserMapping.cpp
	pgadmin/include/dlg/dlgForeignDataWrapper.h
	pgadmin/include/dlg/dlgForeignServer.h
	pgadmin/include/dlg/dlgUserMapping.h
	pgadmin/include/ogl/module.mk
	pgadmin/include/schema/pgForeignDataWrapper.h
	pgadmin/include/schema/pgForeignServer.h
	pgadmin/include/schema/pgUserMapping.h
	pgadmin/ogl/module.mk
	pgadmin/pgAdmin3.vcproj
	pgadmin/schema/pgForeignDataWrapper.cpp
	pgadmin/schema/pgForeignServer.cpp
	pgadmin/schema/pgUserMapping.cpp
Additional copyeight updates for Master.