The following documentation comment has been logged on the website:
Page: https://www.postgresql.org/docs/9.2/static/app-psql.html
Description:
I want to make a small script to show the primary key for a table and put
the name into a variable.
Called from another script, the tablename is set in a variable called
tablename. But if the variable is not set, I want the script to prompt for
it.
Is there a way to do this?
thx,
-r
--
Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера