pg.ddx.io pgsql-committers@postgresql.org mailing list archive
help / color / mirror / Atom feedpgsql: Show definition of index columns in \d on index This adds a
2+ messages / 2 participants
[nested] [flat]
* pgsql: Show definition of index columns in \d on index This adds a
@ 2009-07-06 17:01 Peter Eisentraut <petere@postgresql.org>
0 siblings, 0 replies; 2+ messages in thread
From: petere@postgresql.org @ 2009-07-06 17:01 UTC (permalink / raw)
To: pgsql-committers
Log Message:
-----------
Show definition of index columns in \d on index
This adds a column called "Definition" to the output of psql \d on an
index, which shows the full expression behind the index column. For indexes
on plain columns, this is redundant, but for expression indexes, this
reveals the real expression.
Author: Khee Chin <kheechin@gmail.com>
Modified Files:
--------------
pgsql/src/bin/psql:
describe.c (r1.219 -> r1.220)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/bin/psql/describe.c?r1=1.219&r2=1.220)
^ permalink raw reply [nested|flat] 2+ messages in thread
* pgsql: Move initialization of the Port struct to the child process
@ 2024-03-12 11:45 Heikki Linnakangas <heikki.linnakangas@iki.fi>
0 siblings, 0 replies; 2+ messages in thread
From: Heikki Linnakangas @ 2024-03-12 11:45 UTC (permalink / raw)
To: pgsql-committers@lists.postgresql.org
Move initialization of the Port struct to the child process
In postmaster, use a more lightweight ClientSocket struct that
encapsulates just the socket itself and the remote endpoint's address
that you get from accept() call. ClientSocket is passed to the child
process, which initializes the bigger Port struct. This makes it more
clear what information postmaster initializes, and what is left to the
child process.
Rename the StreamServerPort and StreamConnection functions to make it
more clear what they do. Remove StreamClose, replacing it with plain
closesocket() calls.
Reviewed-by: Tristan Partin, Andres Freund
Discussion: https://www.postgresql.org/message-id/7a59b073-5b5b-151e-7ed3-8b01ff7ce9ef@iki.fi
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/4945e4ed4a72c3ff41560ccef722c3d70ae07dbb
Modified Files
--------------
src/backend/libpq/pqcomm.c | 65 ++++------
src/backend/postmaster/postmaster.c | 229 +++++++++++++++---------------------
src/backend/tcop/postgres.c | 5 +-
src/include/libpq/libpq-be.h | 20 +++-
src/include/libpq/libpq.h | 7 +-
src/tools/pgindent/typedefs.list | 1 +
6 files changed, 142 insertions(+), 185 deletions(-)
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2024-03-12 11:45 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2009-07-06 17:01 pgsql: Show definition of index columns in \d on index This adds a Peter Eisentraut <petere@postgresql.org>
2024-03-12 11:45 pgsql: Move initialization of the Port struct to the child process Heikki Linnakangas <heikki.linnakangas@iki.fi>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox