postgresql/src
Teodor Sigaev e5be89981f Refactoring by Heikki Linnakangas <heikki@enterprisedb.com> with
small editorization by me

- Brake the QueryItem struct into QueryOperator and QueryOperand.
  Type was really the only common field between them. QueryItem still
  exists, and is used in the TSQuery struct as before, but it's now a
  union of the two. Many other changes fell from that, like separation
  of pushval_asis function into pushValue, pushOperator and pushStop.

- Moved some structs that were for internal use only from header files
  to the right .c-files.

- Moved tsvector parser to a new tsvector_parser.c file. Parser code was
  about half of the size of tsvector.c, it's also used from tsquery.c, and
  it has some data structures of its own, so it seems better to separate
  it. Cleaned up the API so that TSVectorParserState is not accessed from
  outside tsvector_parser.c.

- Separated enumerations (#defines, really) used for QueryItem.type
  field and as return codes from gettoken_query. It was just accidental
  code sharing.

- Removed ParseQueryNode struct used internally by makepol and friends.
  push*-functions now construct QueryItems directly.

- Changed int4 variables to just ints for variables like "i" or "array
  size", where the storage-size was not significant.
2007-09-07 15:09:56 +00:00
..
backend Refactoring by Heikki Linnakangas <heikki@enterprisedb.com> with 2007-09-07 15:09:56 +00:00
bin Implement function-local GUC parameter settings, as per recent discussion. 2007-09-03 00:39:26 +00:00
include Refactoring by Heikki Linnakangas <heikki@enterprisedb.com> with 2007-09-07 15:09:56 +00:00
interfaces Synced parser and keyword list. 2007-09-04 10:02:29 +00:00
makefiles Propagate Magnus' fix for Windows snowball build into Makefile.cygwin. 2007-08-22 06:34:18 +00:00
pl Fix uninitialized-memory bug in plpython proargnames patch. Per bug #3523 2007-08-10 03:16:04 +00:00
port Rename DLLIMPORT macro to PGDLLIMPORT to avoid conflict with 2007-07-25 12:22:54 +00:00
template With the native compiler on Unixware, disable optimization if 2007-07-16 17:38:48 +00:00
test Implement lazy XID allocation: transactions that do not modify any database 2007-09-05 18:10:48 +00:00
timezone Adjust with-system-tzdata patch to not attempt to install a symlink, 2007-08-25 20:29:25 +00:00
tools Fix MSVC build (I think) for recent pg_proc.h column addition. 2007-09-03 02:51:47 +00:00
tutorial Fix PGXS conventions so that extensions can be built against Postgres 2007-06-26 22:05:04 +00:00
bcc32.mak Remove old-style win32 client-only visual c++ build infrastructure for everything except 2007-03-05 14:18:38 +00:00
DEVELOPERS
Makefile Tsearch2 functionality migrates to core. The bulk of this work is by 2007-08-21 01:11:32 +00:00
Makefile.global.in Add configure option --with-system-tzdata to use operating system time zone 2007-08-20 08:53:12 +00:00
Makefile.shlib Change $(CC) to $(COMPILER) on Solaris gcc so -m64 is passed into the 2007-02-20 22:45:57 +00:00
nls-global.mk
win32.mak Update supported standalone VC++ version to 7.1+ only, and fix 2007-08-03 10:47:11 +00:00