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
c14f2ba7
Commit
c14f2ba7
authored
Jun 07, 2005
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use just NULL not NULL::TEXT --- the latter coding is unnecessary and
not schema-safe. Per report from Jochem van Dieten.
parent
657c098e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
+12
-12
src/bin/pg_dump/pg_dump.c
src/bin/pg_dump/pg_dump.c
+12
-12
No files found.
src/bin/pg_dump/pg_dump.c
View file @
c14f2ba7
...
...
@@ -12,7 +12,7 @@
* by PostgreSQL
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_dump.c,v 1.40
8 2005/04/30 08:08:51 neilc
Exp $
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_dump.c,v 1.40
9 2005/06/07 14:04:48 tgl
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -5189,8 +5189,8 @@ dumpFunc(Archive *fout, FuncInfo *finfo)
{
appendPQExpBuffer
(
query
,
"SELECT proretset, prosrc, probin, "
"null
::text
as proallargtypes, "
"null
::text
as proargmodes, "
"null as proallargtypes, "
"null as proargmodes, "
"proargnames, "
"provolatile, proisstrict, prosecdef, "
"(SELECT lanname FROM pg_catalog.pg_language WHERE oid = prolang) as lanname "
...
...
@@ -5202,9 +5202,9 @@ dumpFunc(Archive *fout, FuncInfo *finfo)
{
appendPQExpBuffer
(
query
,
"SELECT proretset, prosrc, probin, "
"null
::text
as proallargtypes, "
"null
::text
as proargmodes, "
"null
::text
as proargnames, "
"null as proallargtypes, "
"null as proargmodes, "
"null as proargnames, "
"provolatile, proisstrict, prosecdef, "
"(SELECT lanname FROM pg_catalog.pg_language WHERE oid = prolang) as lanname "
"FROM pg_catalog.pg_proc "
...
...
@@ -5215,9 +5215,9 @@ dumpFunc(Archive *fout, FuncInfo *finfo)
{
appendPQExpBuffer
(
query
,
"SELECT proretset, prosrc, probin, "
"null
::text
as proallargtypes, "
"null
::text
as proargmodes, "
"null
::text
as proargnames, "
"null as proallargtypes, "
"null as proargmodes, "
"null as proargnames, "
"case when proiscachable then 'i' else 'v' end as provolatile, "
"proisstrict, "
"'f'::boolean as prosecdef, "
...
...
@@ -5230,9 +5230,9 @@ dumpFunc(Archive *fout, FuncInfo *finfo)
{
appendPQExpBuffer
(
query
,
"SELECT proretset, prosrc, probin, "
"null
::text
as proallargtypes, "
"null
::text
as proargmodes, "
"null
::text
as proargnames, "
"null as proallargtypes, "
"null as proargmodes, "
"null as proargnames, "
"case when proiscachable then 'i' else 'v' end as provolatile, "
"'f'::boolean as proisstrict, "
"'f'::boolean as prosecdef, "
...
...
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