Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
1d21ba8a
Commit
1d21ba8a
authored
Mar 26, 2019
by
Alvaro Herrera
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
psql: Schema-qualify typecast in one \d query
Bug introduced in my commit
bc87f22e
parent
e8d5dd6b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/bin/psql/describe.c
src/bin/psql/describe.c
+1
-1
No files found.
src/bin/psql/describe.c
View file @
1d21ba8a
...
@@ -2890,7 +2890,7 @@ describeOneTableDetails(const char *schemaname,
...
@@ -2890,7 +2890,7 @@ describeOneTableDetails(const char *schemaname,
if
(
pset
.
sversion
>=
110000
)
if
(
pset
.
sversion
>=
110000
)
appendPQExpBuffer
(
&
buf
,
"(NOT t.tgisinternal OR (t.tgisinternal AND t.tgenabled = 'D')
\n
"
appendPQExpBuffer
(
&
buf
,
"(NOT t.tgisinternal OR (t.tgisinternal AND t.tgenabled = 'D')
\n
"
" OR EXISTS (SELECT 1 FROM pg_catalog.pg_depend WHERE objid = t.oid
\n
"
" OR EXISTS (SELECT 1 FROM pg_catalog.pg_depend WHERE objid = t.oid
\n
"
" AND refclassid = 'pg_catalog.pg_trigger'::regclass))"
);
" AND refclassid = 'pg_catalog.pg_trigger'::
pg_catalog.
regclass))"
);
else
if
(
pset
.
sversion
>=
90000
)
else
if
(
pset
.
sversion
>=
90000
)
/* display/warn about disabled internal triggers */
/* display/warn about disabled internal triggers */
appendPQExpBuffer
(
&
buf
,
"(NOT t.tgisinternal OR (t.tgisinternal AND t.tgenabled = 'D'))"
);
appendPQExpBuffer
(
&
buf
,
"(NOT t.tgisinternal OR (t.tgisinternal AND t.tgenabled = 'D'))"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment