OSDN Git Service

This patch allows pg_restore to recognize $-quotes in SQL queries. It
authorBruce Momjian <bruce@momjian.us>
Fri, 20 Aug 2004 16:07:15 +0000 (16:07 +0000)
committerBruce Momjian <bruce@momjian.us>
Fri, 20 Aug 2004 16:07:15 +0000 (16:07 +0000)
commit1b5e0143b51b672672e8256dc7e8f31f41ebc88f
tree23618aadbabca689ca2735db5e8c106ca2d3b864
parentfcc5b95e0fb54e046a590c7c2727b490fd682f9d
This patch allows pg_restore to recognize $-quotes in SQL queries. It
will treat any unquoted string that starts with a $ and has no preceding
identifier chars as a potential $-quote tag, it then makes sure that the
tag chars are valid. If so, it processes the $-quote.

Philip Warner
src/bin/pg_dump/pg_backup_archiver.h
src/bin/pg_dump/pg_backup_db.c