postgresql/src
Bruce Momjian b3f52320f6 > Sean Chittenden <sean@chittenden.org> writes:
>
>>::sigh:: Is it me or does it look like all
>>of pl/pgsql is schema un-aware (ie, all of the declarations).  -sc
>
>
> Yeah.  The group of routines parse_word, parse_dblword, etc that are
> called by the lexer certainly all need work.  There are some
> definitional issues to think about, too --- plpgsql presently relies on
> the number of names to give it some idea of what to look for, and those
> rules are probably all toast now.  Please come up with a sketch of what
> you think the behavior should be before you start hacking code.

Attached is a diff -c format proposal to fix this. I've also attached a short
test script. Seems to work OK and passes all regression tests.

Here's a breakdown of how I understand plpgsql's "Special word rules" -- I
think it illustrates the behavior reasonably well. New functions added by this
patch are plpgsql_parse_tripwordtype and plpgsql_parse_dblwordrowtype:

Joe Conway
2002-09-12 00:24:10 +00:00
..
backend Tweak querytree-dependency-extraction code so that columns of tables 2002-09-11 14:48:55 +00:00
bin > BTW, clusterdb is not schema-aware and will surely fail in any database 2002-09-12 00:18:14 +00:00
corba Convert files from DOS format to normal text. 2000-12-03 14:43:59 +00:00
data I've sent 3 mails to pgsql-patches. There are two files, one for doc 1999-08-16 20:27:19 +00:00
include Joe Conway wrote: 2002-09-12 00:21:25 +00:00
interfaces Patches submitted by Kris Jurka (jurka@ejurka.com) for the following bugs: 2002-09-11 05:38:45 +00:00
makefiles Assorted fixes for Cygwin: 2002-09-05 18:28:46 +00:00
pl > Sean Chittenden <sean@chittenden.org> writes: 2002-09-12 00:24:10 +00:00
port pgindent run. 2002-09-04 20:31:48 +00:00
template Assorted fixes for Cygwin: 2002-09-05 18:28:46 +00:00
test > Sean Chittenden <sean@chittenden.org> writes: 2002-09-12 00:24:10 +00:00
tools Update symbols for 7.3. 2002-09-04 19:11:06 +00:00
tutorial Assorted fixes for Cygwin: 2002-09-05 18:28:46 +00:00
utils Assemble portability modules into libpgport library. 2002-07-27 20:10:05 +00:00
DEVELOPERS just testing a script... 1999-07-30 03:45:57 +00:00
Makefile Assorted fixes for Cygwin: 2002-09-05 18:28:46 +00:00
Makefile.global.in Remove leftovers from subproject removals. Fixes for Python and Kerberos 2002-09-04 22:54:18 +00:00
Makefile.shlib Assorted fixes for Cygwin: 2002-09-05 18:28:46 +00:00
nls-global.mk Avoid shell syntax error if list of languages is empty. 2002-09-02 22:19:42 +00:00
win32.mak Remove all traces of multibyte and locale options. Clean up comments 2002-09-03 21:45:44 +00:00