public inbox for [email protected]help / color / mirror / Atom feed
[PATCH 5/5] default to --with-lz4 2+ messages / 2 participants [nested] [flat]
* [PATCH 5/5] default to --with-lz4 @ 2021-03-10 09:14 Dilip Kumar <[email protected]> 0 siblings, 0 replies; 2+ messages in thread From: Dilip Kumar @ 2021-03-10 09:14 UTC (permalink / raw) this is meant to excercize the new feature in the CIs, and not meant to be merged --- configure | 6 ++++-- configure.ac | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/configure b/configure index 7ee514e101..e0bb5de975 100755 --- a/configure +++ b/configure @@ -1575,7 +1575,7 @@ Optional Packages: --with-system-tzdata=DIR use system time zone data in DIR --without-zlib do not use Zlib - --with-lz4 build with LZ4 support + --without-lz4 build without LZ4 support --with-gnu-ld assume the C compiler uses GNU ld [default=no] --with-ssl=LIB use LIB for SSL/TLS support (openssl) --with-openssl obsolete spelling of --with-ssl=openssl @@ -8598,7 +8598,9 @@ $as_echo "#define USE_LZ4 1" >>confdefs.h esac else - with_lz4=no + with_lz4=yes + +$as_echo "#define USE_LZ4 1" >>confdefs.h fi diff --git a/configure.ac b/configure.ac index 0697701bfe..f3837d470f 100644 --- a/configure.ac +++ b/configure.ac @@ -990,8 +990,8 @@ AC_SUBST(with_zlib) # LZ4 # AC_MSG_CHECKING([whether to build with LZ4 support]) -PGAC_ARG_BOOL(with, lz4, no, [build with LZ4 support], - [AC_DEFINE([USE_LZ4], 1, [Define to 1 to build with LZ4 support. (--with-lz4)])]) +PGAC_ARG_BOOL(with, lz4, yes, [build without LZ4 support], + [AC_DEFINE([USE_LZ4], 1, [Define to 1 to build without LZ4 support. (--without-lz4)])]) AC_MSG_RESULT([$with_lz4]) AC_SUBST(with_lz4) -- 2.17.0 --nHwqXXcoX0o6fKCv-- ^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Grant read-only access to exactly one database amongst many @ 2024-02-05 00:53 Tom Lane <[email protected]> 0 siblings, 0 replies; 2+ messages in thread From: Tom Lane @ 2024-02-05 00:53 UTC (permalink / raw) To: Graham Leggett <[email protected]>; +Cc: [email protected] Graham Leggett <[email protected]> writes: > Trouble is, I can create tables in db1 which is write access. I can also connect to db2 (bad), and I can enumerate the tables in db2 (bad), although the queries of the contents say access is denied. You need to read the docs about default privileges: see about halfway down https://www.postgresql.org/docs/15/ddl-priv.html where it says "PostgreSQL grants privileges on some types of objects to PUBLIC by default ...". In this case I think you likely need to revoke the default public CREATE privilege on schema public in db1, and revoke the default public CONNECT privilege on database db2. regards, tom lane ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2024-02-05 00:53 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2021-03-10 09:14 [PATCH 5/5] default to --with-lz4 Dilip Kumar <[email protected]> 2024-02-05 00:53 Re: Grant read-only access to exactly one database amongst many Tom Lane <[email protected]>
This inbox is served by agora; see mirroring instructions for how to clone and mirror all data and code used for this inbox