postgresql/src/bin
Bruce Momjian 0ba0e32172 O.K. -
Here's the multibyte aware version of my patch to fix the truncation
of the rulename autogenerated during a CREATE VIEW. I've modified all
the places in the backend that want to construct the rulename to use
the MakeRetrieveViewRuleName(), where I put the #ifdef MULTIBYTE, so
that's the only place that knows how to construct a view rulename. Except
pg_dump, where I replicated the code, since it's a standalone binary.

The only effect the enduser will see is that views with names len(name)
> NAMEDATALEN-4 will fail to be created, if the derived rulename clases
with an existing rule: i.e. the user is trying to create two views with
long names whose first difference is past NAMEDATALEN-4 (but before
NAMEDATALEN: that'll error out after the viewname truncation.) In no
case will the user get left with a table without a view rule, as the
current code does.

Ross Reedstrom
2000-09-12 04:15:58 +00:00
..
initdb Make building scripts kind of consistent in look and feel, kind of immune 2000-09-08 18:29:28 +00:00
initlocation Make building scripts kind of consistent in look and feel, kind of immune 2000-09-08 18:29:28 +00:00
ipcclean Make building scripts kind of consistent in look and feel, kind of immune 2000-09-08 18:29:28 +00:00
pg_ctl Make building scripts kind of consistent in look and feel, kind of immune 2000-09-08 18:29:28 +00:00
pg_dump O.K. - 2000-09-12 04:15:58 +00:00
pg_encoding Fix relative path references so that make knowns which dependencies refer 2000-08-31 16:12:35 +00:00
pg_id Fix relative path references so that make knowns which dependencies refer 2000-08-31 16:12:35 +00:00
pg_passwd Fix relative path references so that make knowns which dependencies refer 2000-08-31 16:12:35 +00:00
pg-config Make building scripts kind of consistent in look and feel, kind of immune 2000-09-08 18:29:28 +00:00
pgaccess Fix relative path references so that make knowns which dependencies refer 2000-08-31 16:12:35 +00:00
pgtclsh Fix relative path references so that make knowns which dependencies refer 2000-08-31 16:12:35 +00:00
psql Fix psql crash. If MULTIBYTE is enabled, \l+ dumps core due to 2000-09-07 04:55:27 +00:00
scripts Make building scripts kind of consistent in look and feel, kind of immune 2000-09-08 18:29:28 +00:00
Makefile Fix relative path references so that make knowns which dependencies refer 2000-08-31 16:12:35 +00:00