postgresql/src/include
Tom Lane cfc5008a51 Adjust naming of indexes and their columns per recent discussion.
Index expression columns are now named after the FigureColname result for
their expressions, rather than always being "pg_expression_N".  Digits are
appended to this name if needed to make the column name unique within the
index.  (That happens for regular columns too, thus fixing the old problem
that CREATE INDEX fooi ON foo (f1, f1) fails.  Before exclusion indexes
there was no real reason to do such a thing, but now maybe there is.)

Default names for indexes and associated constraints now include the column
names of all their columns, not only the first one as in previous practice.
(Of course, this will be truncated as needed to fit in NAMEDATALEN.  Also,
pkey indexes retain the historical behavior of not naming specific columns
at all.)

An example of the results:

regression=# create table foo (f1 int, f2 text,
regression(# exclude (f1 with =, lower(f2) with =));
NOTICE:  CREATE TABLE / EXCLUDE will create implicit index "foo_f1_lower_exclusion" for table "foo"
CREATE TABLE
regression=# \d foo_f1_lower_exclusion
Index "public.foo_f1_lower_exclusion"
 Column |  Type   | Definition
--------+---------+------------
 f1     | integer | f1
 lower  | text    | lower(f2)
btree, for table "public.foo"
2009-12-23 02:35:25 +00:00
..
access Allow read only connections during recovery, known as Hot Standby. 2009-12-19 01:32:45 +00:00
bootstrap Simplify the bootstrap (BKI) code by getting rid of a useless table of all 2009-09-27 01:32:11 +00:00
catalog Adjust naming of indexes and their columns per recent discussion. 2009-12-23 02:35:25 +00:00
commands Adjust naming of indexes and their columns per recent discussion. 2009-12-23 02:35:25 +00:00
executor Add an EXPLAIN (BUFFERS) option to show buffer-usage statistics. 2009-12-15 04:57:48 +00:00
foreign 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00
lib Assorted minor refactoring in EXPLAIN. 2009-07-24 21:08:42 +00:00
libpq Don't unblock SIGQUIT in the SIGQUIT handler 2009-12-16 23:05:00 +00:00
mb Write to the Windows eventlog in UTF16, converting the message encoding 2009-10-17 00:24:51 +00:00
nodes Adjust naming of indexes and their columns per recent discussion. 2009-12-23 02:35:25 +00:00
optimizer Support ORDER BY within aggregate function calls, at long last providing a 2009-12-15 17:57:48 +00:00
parser Adjust naming of indexes and their columns per recent discussion. 2009-12-23 02:35:25 +00:00
port Change our WIN32 API version to be 5.01 (Windows XP), to bring in the proper 2009-09-07 11:22:12 +00:00
portability 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00
postmaster Add a boolean GUC parameter "bonjour" to control whether a Bonjour-enabled 2009-09-08 17:08:36 +00:00
regex Teach the regular expression functions to do case-insensitive matching and 2009-12-01 21:00:24 +00:00
rewrite Fix AcquireRewriteLocks to be sure that it acquires the right lock strength 2009-10-28 17:36:50 +00:00
snowball Update copyright for 2009. 2009-01-01 17:24:05 +00:00
storage Allow read only connections during recovery, known as Hot Standby. 2009-12-19 01:32:45 +00:00
tcop Add a hook to let loadable modules get control at ProcessUtility execution, 2009-12-15 20:04:49 +00:00
tsearch Introduce filtering dictionary support to tsearch. Propagate --nolocale option 2009-08-18 10:30:41 +00:00
utils Allow read only connections during recovery, known as Hot Standby. 2009-12-19 01:32:45 +00:00
c.h 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00
fmgr.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
funcapi.h Support use of function argument names to identify which actual arguments 2009-10-08 02:39:25 +00:00
getaddrinfo.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
getopt_long.h Remove a boatload of useless definitions of 'int optreset'. If we 2009-04-05 04:19:59 +00:00
Makefile Update of install-sh, mkinstalldirs, and associated configury 2009-08-26 22:24:44 +00:00
miscadmin.h Allow read only connections during recovery, known as Hot Standby. 2009-12-19 01:32:45 +00:00
pg_config.h.in Support "samehost" and "samenet" specifications in pg_hba.conf, 2009-10-01 01:58:58 +00:00
pg_config.h.win32 Write psql's ~/.psql_history file using history_truncate_file() and 2009-09-13 22:18:22 +00:00
pg_config_manual.h 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00
pg_trace.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
pgstat.h Add support for an application_name parameter, which is displayed in 2009-11-28 23:38:08 +00:00
pgtime.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
port.h Add inheritable ACE when creating a restricted token for execution on 2009-11-14 15:39:36 +00:00
postgres.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
postgres_ext.h Move NAMEDATALEN definition from postgres_ext.h to pg_config_manual.h. It 2007-02-06 09:16:08 +00:00
postgres_fe.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
rusagestub.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
windowapi.h 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00