| Commit message (Collapse) | Author | Age |
... | |
|
|
|
| |
Fabien COELHO
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Currently, src/interfaces/libpq/win32.mak builds a statically-linked
library "libpq.lib", a debug dll "libpq.dll", import library for the
debug dll "libpqdll.lib", a release dll "libpq.dll", import library for
the release dll "libpqdll.lib". To avoid naming clashes, I would make
the debug dll and import libraries "libpqd.dll" and "libpqddll.lib".
Basically, the debug build uses the cl flags: "/MDd /D _DEBUG", and the
release build uses the cl flags "/MD /D NDEBUG". Usually the debug
build has a "D" suffix on the file name, so for example:
libpqd.dll libpq, debug build
libpqd.lib libpq, debug build, import library
libpq.dll libpq, release build
libpq.lib libpq, release build, import library
David Turner
|
|
|
|
|
|
| |
canonicalize_path. Patch moves it from initdb.c to port/path.c.
Claudio Natoli
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
#log_line_prefix = '' # e.g. '<%u%%%d> '
# %u=user name %d=database name
# %r=remote host and port
# %p=PID %t=timestamp %i=command tag
# %c=session id %l=session line number
# %s=session start timestamp
# %x=stop here in non-session processes
# %%='%'
Andrew Dunstan
|
|
|
|
| |
warning.
|
|
|
|
|
| |
strict, per discussion with Dennis Haney.
Also, rearrange the preceding tests to avoid redundancy.
|
|
|
|
|
|
|
| |
predicate of the form 'foo IS NOT NULL' is implied by a WHERE clause
that uses 'foo' in any strict operator or function. Per suggestion
and preliminary implementation by John Siracusa; some further hacking
by moi.
|
|
|
|
|
|
|
|
|
| |
support for 'week' within the date_trunc function.
Within the patch I added a couple of test cases and associated target
output, and changed the documentation to add 'week' appropriately.
Robert Creager
|
|
|
|
|
| |
schema-safe. Make it so, and improve the internal support for knowledge
of server version.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Mostly, casting etc to remove compilation warnings in win32 only code.
* main.c: set _IONBF to stdout/stderr under win32 (under win32, _IOLBF
defaults to full buffering)
* pg_resetxlog/Makefile: ensures dirmod.o gets cleaned (got bitten by
this when, after "make clean"ing, switching compilation between Ming +
Cygwin)
Claudio Natoli
|
|
|
|
|
|
|
|
| |
+extern Oid SPI_getargtypeid(void *plan, int argIndex);
+extern int SPI_getargcount(void *plan);
+extern bool SPI_is_cursor_plan(void *plan);
Thomas Hallgren
|
| |
|
|
|
|
|
|
|
|
| |
float8 types. This begins the deprecation of this feature: in 7.6,
this input will be rejected.
Also added a new error code for warnings about deprecated features,
and updated the regression tests.
|
|
|
|
| |
- Added check for multidimensional array usage.
|
|
|
|
|
|
|
|
|
| |
object types, rather than by OID. This should help ensure consistent
dump output from databases that are logically the same but have different
histories, per recent discussion about 'diffing' databases. The patch
is bulky because of renaming of fields, but not very complicated.
Also, do some tweaking to cause BLOB restoration to be done in a better
order, and clean up pg_restore's textual output to exactly match pg_dump.
|
|
|
|
|
|
|
|
|
|
|
| |
which are munged by sed, such as:
/e/cygwin/opt/diff9c/pgsql/src/test/regress/data/agg.data to be
correctly passed as:
e:/cygwin/opt/diff9c/pgsql/src/test/regress/data/agg.data
FWIW, "fixes" a large (> 20) tests under Win32.
Claudio Natoli
|
|
|
|
|
| |
have been there to start with, except for overly enthusiastic copy-and-
paste ...
|
| |
|
|
|
|
|
| |
The former coding failed if the cast function was not in the pg_catalog
schema. How'd this escape detection?
|
|
|
|
|
| |
simplistic; it recognized SELECT * FROM but not SELECT * FROM LIMIT.
Per bug report from Jeff Bohmer.
|
| |
|
|
|
|
| |
L J Bayuk
|
|
|
|
|
| |
output to be distinct, if all the GROUP BY columns appear in the output.
Per suggestion from Dennis Haney.
|
|
|
|
|
|
| |
report from krizsan.
Backpatch to 7.4.X.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
equivalent sort expressions to use was broken: you can't just look
at the relation membership, you have to actually grovel over the
individual Vars in each expression. I think this did work when it
was written, but it was broken by subsequent optimizations that made
join relations not propagate every single input variable upward.
Must find the Var that got propagated, not choose one at random.
Per bug report from Daniel O'Neill.
|
|
|
|
| |
Claudio Natoli
|
|
|
|
| |
spent initializing it during indexscan startup.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
of which redundant clause to remove, it removes the more expensive one.
In simple scenarios the clauses will be like 'var = var' and there's
no difference, but we are now capable of considering cases where there
are sub-selects in the clauses, and it makes a BIG difference.
|
|
|
|
|
| |
indexTotalCost. I think this may not make any real difference in 7.4,
but it definitely is a problem with CVS tip's new equation.
|
|
|
|
|
| |
is generating, to avoid problems when subselects are involved. Per
report from Damon Hart.
|
|
|
|
|
|
|
| |
comments, make some unrelated improvements to the functions
documentation, and perform some minor consistency cleanup
elsewhere. Original initcap() change from Dennis B., additional
changes by Neil C.
|
|
|
|
|
|
| |
Corrects bit-rot of recently applied patch. win32/cygwin only.
Claudio Natoli
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Changes incorrect CYGWIN defines to __CYGWIN__
* Some localtime returns NULL checks (when unchecked cause SEGVs under
Win32
regression tests)
* Rationalized CreateSharedMemoryAndSemaphores and
AttachSharedMemoryAndSemaphores (Bruce, I finally remembered to do it);
requires attention.
Claudio Natoli
|
|
|
|
| |
Andrew Dunstan, some help from Tom Lane.
|
|
|
|
|
| |
in pg_statistic are correctly aligned if they contain values that require
double alignment. Too bad we cannot force initdb for this in 7.4 branch.
|
|
|
|
|
|
| |
exposed thereby. AFAICT these would not lead to any worse problems than
junk emitted on the backend's stdout, but we should have the option to
catch possible worse errors in future.
|
|
|
|
|
|
|
| |
is still lacking, as is support in plpgsql and other places, but this is
the basic feature. Patch by Andrew Dunstan, some tweaking by Tom Lane.
Also, enable %option nodefault in these two lexers, and patch some gaps
revealed thereby.
|
|
|
|
| |
- Set pgtypeslib version to 1.2.
|
|
|
|
|
|
|
|
| |
any restore operation, thereby ensuring that dumped data is interpreted
the same way it was dumped even if the target database has a different
encoding. Per suggestions from Pavel Stehule and others. Also,
simplify scheme for handling check_function_bodies ... we may as well
just set that at the head of the script.
|
|
|
|
| |
Per report from Chris Campbell.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
and FreeDir routines modeled on the existing AllocateFile/FreeFile.
Like the latter, these routines will avoid failing on EMFILE/ENFILE
conditions whenever possible, and will prevent leakage of directory
descriptors if an elog() occurs while one is open.
Also, reduce PANIC to ERROR in MoveOfflineLogs() --- this is not
critical code and there is no reason to force a DB restart on failure.
All per recent trouble report from Olivier Hubaut.
|
| |
|
|
|
|
|
|
| |
number of openable files and the number already opened. This eliminates
depending on sysconf(_SC_OPEN_MAX), and allows much saner behavior on
platforms where open-file slots are used up by semaphores.
|
| |
|