You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Peter Eisentraut
3c6f8c011f
Simplify the general-purpose 64-bit integer parsing APIs
...
pg_strtouint64() is a wrapper around strtoull/strtoul/_strtoui64, but
it seems no longer necessary to have this indirection.
msvc/Solution.pm claims HAVE_STRTOULL, so the "MSVC only" part seems
unnecessary. Also, we have code in c.h to substitute alternatives for
strtoull() if not found, and that would appear to cover all currently
supported platforms, so having a further fallback in pg_strtouint64()
seems unnecessary.
Therefore, we could remove pg_strtouint64(), and use strtoull()
directly in all call sites. However, it seems useful to keep a
separate notation for parsing exactly 64-bit integers, matching the
type definition int64/uint64. For that, add new macros strtoi64() and
strtou64() in c.h as thin wrappers around strtol()/strtoul() or
strtoll()/stroull(). This makes these functions available everywhere
instead of just in the server code, and it makes the function naming
notably different from the pg_strtointNN() functions in numutils.c,
which have a different API.
Discussion: https://www.postgresql.org/message-id/flat/a3df47c9-b1b4-29f2-7e91-427baf8b75a3%40enterprisedb.com
4 years ago
..
access
Remove InitXLOGAccess().
4 years ago
bootstrap
process startup: Remove bootstrap / checker modes from AuxProcType.
4 years ago
catalog
Remove unimplemented/undocumented geometric functions & operators.
4 years ago
commands
Don't overlook indexes during parallel VACUUM.
4 years ago
common
Simplify declaring variables exported from libpgcommon and libpgport.
4 years ago
datatype
Update copyright for 2021
5 years ago
executor
Fix checking of query type in plpgsql's RETURN QUERY command.
4 years ago
fe_utils
Rethink pg_dump's handling of object ACLs.
4 years ago
foreign
Initial pgindent and pgperltidy run for v14.
5 years ago
jit
jit: Do not try to shut down LLVM state in case of LLVM triggered errors.
4 years ago
lib
Fix frontend version of sh_error() in simplehash.h.
4 years ago
libpq
Harden be-gssapi-common.h for headerscheck
4 years ago
mb
Fix incautious handling of possibly-miscoded strings in client code.
5 years ago
nodes
Allow specifying column list for foreign key ON DELETE SET actions
4 years ago
optimizer
Replace random(), pg_erand48(), etc with a better PRNG API and algorithm.
4 years ago
parser
Remove Value node struct
4 years ago
partitioning
Ensure interleaved_parts field is always initialized
4 years ago
port
Check for STATUS_DELETE_PENDING on Windows.
4 years ago
portability
Fix another portability bug in recent pgbench commit.
5 years ago
postmaster
Improve performance of pgarch_readyXlog() with many status files.
4 years ago
regex
Avoid determining regexp subexpression matches, when possible.
4 years ago
replication
Fix headerscheck failure in replication/worker_internal.h
4 years ago
rewrite
Adjust locations which have an incorrect copyright year
5 years ago
snowball
Update snowball
4 years ago
statistics
Extended statistics on expressions
5 years ago
storage
Change ProcSendSignal() to take pgprocno.
4 years ago
tcop
process startup: Split single user code out of PostgresMain().
4 years ago
tsearch
Don't leak compiled regex(es) when an ispell cache entry is dropped.
5 years ago
utils
Simplify the general-purpose 64-bit integer parsing APIs
4 years ago
.gitignore
Refactor dlopen() support
7 years ago
Makefile
Build in some knowledge about foreign-key relationships in the catalogs.
5 years ago
c.h
Simplify the general-purpose 64-bit integer parsing APIs
4 years ago
fmgr.h
Add ABI extra field to fmgr magic block
4 years ago
funcapi.h
Reconsider the handling of procedure OUT parameters.
5 years ago
getaddrinfo.h
Update copyright for 2021
5 years ago
getopt_long.h
Update copyright for 2021
5 years ago
miscadmin.h
Doc: add glossary term for "auxiliary process"
4 years ago
pg_config.h.in
Add configure probe for rl_variable_bind().
4 years ago
pg_config_ext.h.in
Autoconfiscate selection of 64-bit int type for 64-bit large object API.
13 years ago
pg_config_manual.h
Replace random(), pg_erand48(), etc with a better PRNG API and algorithm.
4 years ago
pg_getopt.h
Update copyright for 2021
5 years ago
pg_trace.h
Update copyright for 2021
5 years ago
pgstat.h
Add a view to show the stats of subscription workers.
4 years ago
pgtar.h
Update copyright for 2021
5 years ago
pgtime.h
Fix actively-misleading comments about the contents of struct pg_tm.
4 years ago
port.h
Check for STATUS_DELETE_PENDING on Windows.
4 years ago
postgres.h
Fix misleading comments about TOAST access macros.
4 years ago
postgres_ext.h
Phase 2 of pgindent updates.
9 years ago
postgres_fe.h
Update copyright for 2021
5 years ago
rusagestub.h
Update copyright for 2021
5 years ago
windowapi.h
Update copyright for 2021
5 years ago