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
82433e91
Commit
82433e91
authored
Aug 07, 2004
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update a couple of example error messages to reflect the fact that we
don't generate constraint names like "$1" anymore.
parent
c71e3de2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
doc/src/sgml/advanced.sgml
doc/src/sgml/advanced.sgml
+3
-2
doc/src/sgml/ddl.sgml
doc/src/sgml/ddl.sgml
+2
-2
No files found.
doc/src/sgml/advanced.sgml
View file @
82433e91
<!--
$PostgreSQL: pgsql/doc/src/sgml/advanced.sgml,v 1.4
2 2004/08/01 17:32:11
tgl Exp $
$PostgreSQL: pgsql/doc/src/sgml/advanced.sgml,v 1.4
3 2004/08/07 19:53:48
tgl Exp $
-->
<chapter id="tutorial-advanced">
...
...
@@ -123,7 +123,7 @@ INSERT INTO weather VALUES ('Berkeley', 45, 53, 0.0, '1994-11-28');
</programlisting>
<screen>
ERROR: insert or update on table "weather" violates foreign key constraint "
$1
"
ERROR: insert or update on table "weather" violates foreign key constraint "
weather_city_fkey
"
DETAIL: Key (city)=(Berkeley) is not present in table "cities".
</screen>
</para>
...
...
@@ -290,6 +290,7 @@ COMMIT;
Remembering the bank database, suppose we debit $100.00 from Alice's
account, and credit Bob's account, only to find later that we should
have credited Wally's account. We could do it using savepoints like
this:
<programlisting>
BEGIN;
...
...
doc/src/sgml/ddl.sgml
View file @
82433e91
<!-- $PostgreSQL: pgsql/doc/src/sgml/ddl.sgml,v 1.2
7 2004/08/03 20:32:30
tgl Exp $ -->
<!-- $PostgreSQL: pgsql/doc/src/sgml/ddl.sgml,v 1.2
8 2004/08/07 19:53:48
tgl Exp $ -->
<chapter id="ddl">
<title>Data Definition</title>
...
...
@@ -1971,7 +1971,7 @@ REVOKE CREATE ON SCHEMA public FROM PUBLIC;
<screen>
DROP TABLE products;
NOTICE: constraint
$1
on table orders depends on table products
NOTICE: constraint
orders_product_no_fkey
on table orders depends on table products
ERROR: cannot drop table products because other objects depend on it
HINT: Use DROP ... CASCADE to drop the dependent objects too.
</screen>
...
...
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