Peter Eisentraut
2c0556068f
Indexing support for pattern matching operations via separate operator
...
class when lc_collate is not C.
23 years ago
Tom Lane
b1ee615a7f
COPY BINARY uses the new binary I/O routines. Update a few more datatypes
...
so that COPY BINARY regression test passes.
23 years ago
Tom Lane
1045655a25
Prevent coredump in current_schemas() if someone has just deleted a
...
schema that was in our search path.
23 years ago
Tom Lane
e4704001ea
This patch fixes a bunch of spelling mistakes in comments throughout the
...
PostgreSQL source code.
Neil Conway
23 years ago
Tom Lane
39b7ec3309
Create a distinction between Lists of integers and Lists of OIDs, to get
...
rid of the assumption that sizeof(Oid)==sizeof(int). This is one small
step towards someday supporting 8-byte OIDs. For the moment, it doesn't
do much except get rid of a lot of unsightly casts.
23 years ago
Bruce Momjian
e50f52a074
pgindent run.
24 years ago
Tom Lane
5cabcfccce
Modify array operations to include array's element type OID in the
...
array header, and to compute sizing and alignment of array elements
the same way normal tuple access operations do --- viz, using the
tupmacs.h macros att_addlength and att_align. This makes the world
safe for arrays of cstrings or intervals, and should make it much
easier to write array-type-polymorphic functions; as examples see
the cleanups of array_out and contrib/array_iterator. By Joe Conway
and Tom Lane.
24 years ago
Bruce Momjian
d84fe82230
Update copyright to 2002.
24 years ago
Bruce Momjian
eb1ad5b4b5
Patch for current_schemas to optionally include implicit ...
...
Second cut attached. This one just adds a boolean option to the existing
function to indicate that implicit schemas are to be included (or not).
I remembered the docs as well this time :-)
Dave Page
24 years ago
Tatsuo Ishii
620dbc98cd
make namein multibyte aware
24 years ago
Jan Wieck
469cb65aca
Katherine Ward wrote:
...
> Changes to avoid collisions with WIN32 & MFC names...
> 1. Renamed:
> a. PROC => PGPROC
> b. GetUserName() => GetUserNameFromId()
> c. GetCurrentTime() => GetCurrentDateTime()
> d. IGNORE => IGNORE_DTF in include/utils/datetime.h & utils/adt/datetim
>
> 2. Added _P to some lex/yacc tokens:
> CONST, CHAR, DELETE, FLOAT, GROUP, IN, OUT
Jan
24 years ago
Tom Lane
940f772a29
Support temporary setting of search path during CREATE SCHEMA; this
...
allows the example in the CREATE SCHEMA ref page to actually work now.
Also, clean up when the transaction that initially creates a temp-table
namespace is later aborted. Simplify internal representation of search
path by folding special cases into the main list.
24 years ago
Tom Lane
a309032d2f
Add current_schema() and current_schemas() inquiry functions.
...
Update has_table_privilege functions to cope with schema-qualified
names in the same way as nextval() and others.
24 years ago
Bruce Momjian
6783b2372e
Another pgindent run. Fixes enum indenting, and improves #endif
...
spacing. Also adds space for one-line comments.
25 years ago
Bruce Momjian
b81844b173
pgindent run on all C files. Java run to follow. initdb/regression
...
tests pass.
25 years ago
Bruce Momjian
623bf843d2
Change Copyright from PostgreSQL, Inc to PostgreSQL Global Development Group.
25 years ago
Peter Eisentraut
457ac0331c
Implement differentiation between CURRENT_USER and SESSION_USER as per SQL.
...
There is still no effective difference but it will kick in once setuid
functions exist (not included here). Make old getpgusername() alias for
current_user.
26 years ago
Tom Lane
c298d74d49
More functions updated to new fmgr style --- money, name, tid datatypes.
...
We're reaching the mopup stage here (good thing too, this is getting
tedious).
26 years ago
Bruce Momjian
52f77df613
Ye-old pgindent run. Same 4-space tabs.
26 years ago
Bruce Momjian
5c25d60244
Add:
...
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
to all files copyright Regents of Berkeley. Man, that's a lot of files.
26 years ago
Peter Eisentraut
fa5400c0a4
added ALTER TABLE DROP COLUMN, early version
26 years ago
Bruce Momjian
c83b4d1cd8
Fix for bool casting.
26 years ago
Bruce Momjian
86ef36c907
New NameStr macro to convert Name to Str. No need for var.data anymore.
...
Fewer calls to nameout.
Better use of RelationGetRelationName.
27 years ago
Bruce Momjian
3406901a29
Move some system includes into c.h, and remove duplicates.
27 years ago
Bruce Momjian
a71802e12e
Final cleanup.
27 years ago
Bruce Momjian
9b645d481c
Update #include cleanups
27 years ago
Bruce Momjian
4b2c2850bf
Clean up #include in /include directory. Add scripts for checking includes.
27 years ago
Bruce Momjian
0cf1b79528
Cleanup of /include #include's, for 6.6 only.
27 years ago
Bruce Momjian
07842084fe
pgindent run over code.
27 years ago
Bruce Momjian
6724a50787
Change my-function-name-- to my_function_name, and optimizer renames.
27 years ago
Bruce Momjian
173c555948
Make functions static or ifdef NOT_USED. Prevent pg_version creation.
28 years ago
Bruce Momjian
fa1a8d6a97
OK, folks, here is the pgindent output.
28 years ago
Bruce Momjian
af74855a60
Renaming cleanup, no pgindent yet.
28 years ago
Bruce Momjian
6bd323c6b3
Remove un-needed braces around single statements.
28 years ago
Thomas G. Lockhart
e8cbf3a79c
Ensure string is completely null padded on input (as advertised).
28 years ago
Bruce Momjian
a32450a585
pgindent run before 6.3 release, with Thomas' requested changes.
28 years ago
Bruce Momjian
f3af1368bd
Rename strNcpy to StrNCpy, and change third parameter.
29 years ago
Bruce Momjian
59f6a57e59
Used modified version of indent that understands over 100 typedefs.
29 years ago
Bruce Momjian
319dbfa736
Another PGINDENT run that changes variable indenting and case label indenting. Also static variable indenting.
29 years ago
Bruce Momjian
1ccd423235
Massive commit to run PGINDENT on all *.c and *.h files.
29 years ago
Bruce Momjian
1d8bbfd2e7
Make functions static where possible, enclose unused functions in #ifdef NOT_USED.
29 years ago
Bruce Momjian
b99c63cfc0
Now that names are null terminated, no need to do all that NAMEDATALEN stuff.
29 years ago
Bruce Momjian
edb58721b8
Fix pgproc names over 15 chars in output. Add strNcpy() function. remove some (void) casts that are unnecessary.
29 years ago
Bruce Momjian
6ed1715b1f
Cleanup for NAMEDATALEN use.
29 years ago
Marc G. Fournier
53d8be3bbf
Date/Time updates from Thomas...
29 years ago
Marc G. Fournier
d31084e9d1
Postgres95 1.01 Distribution - Virgin Sources
30 years ago